Microsoft.Graph.Groups
Microsoft.Graph.Groups
Add-MgGroupFavorite |
Add the group to the list of the current user's favorite groups. The group shows up in Outlook and Teams favorites. Supported for Microsoft 365 groups only. Note To view the beta release of this cmdlet, view Add-MgBetaGroupFavorite |
Add-MgGroupToLifecyclePolicy |
Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. Note To view the beta release of this cmdlet, view Add-MgBetaGroupToLifecyclePolicy |
Confirm-MgGroupGrantedPermissionForApp |
Invoke action checkGrantedPermissionsForApp Note To view the beta release of this cmdlet, view Confirm-MgBetaGroupGrantedPermissionForApp |
Confirm-MgGroupMemberGroup |
Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. Note To view the beta release of this cmdlet, view Confirm-MgBetaGroupMemberGroup |
Confirm-MgGroupMemberObject |
Invoke action checkMemberObjects Note To view the beta release of this cmdlet, view Confirm-MgBetaGroupMemberObject |
Confirm-MgGroupSettingTemplateMemberGroup |
Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. |
Confirm-MgGroupSettingTemplateMemberObject |
Invoke action checkMemberObjects |
Get-MgGroup |
Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Note To view the beta release of this cmdlet, view Get-MgBetaGroup |
Get-MgGroupAcceptedSender |
Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. Note To view the beta release of this cmdlet, view Get-MgBetaGroupAcceptedSender |
Get-MgGroupAcceptedSenderByRef |
Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. Note To view the beta release of this cmdlet, view Get-MgBetaGroupAcceptedSenderByRef |
Get-MgGroupAcceptedSenderCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupAcceptedSenderCount |
Get-MgGroupById |
Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: Note To view the beta release of this cmdlet, view Get-MgBetaGroupById |
Get-MgGroupByUniqueName |
Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Note To view the beta release of this cmdlet, view Get-MgBetaGroupByUniqueName |
Get-MgGroupConversation |
Retrieve the properties and relationships of conversation object. Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversation |
Get-MgGroupConversationCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationCount |
Get-MgGroupConversationThread |
A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThread |
Get-MgGroupConversationThreadCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadCount |
Get-MgGroupConversationThreadPost |
Get posts from groups Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPost |
Get-MgGroupConversationThreadPostAttachment |
Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostAttachment |
Get-MgGroupConversationThreadPostAttachmentCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostAttachmentCount |
Get-MgGroupConversationThreadPostCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostCount |
Get-MgGroupConversationThreadPostExtension |
The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostExtension |
Get-MgGroupConversationThreadPostExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostExtensionCount |
Get-MgGroupConversationThreadPostInReplyToAttachment |
Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostInReplyToAttachment |
Get-MgGroupConversationThreadPostInReplyToAttachmentCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostInReplyToAttachmentCount |
Get-MgGroupConversationThreadPostInReplyToExtension |
The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostInReplyToExtension |
Get-MgGroupConversationThreadPostInReplyToExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupConversationThreadPostInReplyToExtensionCount |
Get-MgGroupCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupCount |
Get-MgGroupCreatedOnBehalfOf |
The user (or application) that created the group. NOTE: This property isn't set if the user is an administrator. Read-only. Note To view the beta release of this cmdlet, view Get-MgBetaGroupCreatedOnBehalfOf |
Get-MgGroupDelta |
Get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. Note To view the beta release of this cmdlet, view Get-MgBetaGroupDelta |
Get-MgGroupExtension |
The collection of open extensions defined for the group. Read-only. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaGroupExtension |
Get-MgGroupExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupExtensionCount |
Get-MgGroupLifecyclePolicy |
Retrieve the properties and relationships of a groupLifecyclePolicies object. Note To view the beta release of this cmdlet, view Get-MgBetaGroupLifecyclePolicy |
Get-MgGroupLifecyclePolicyByGroup |
Retrieves a list of groupLifecyclePolicy objects to which a group belongs. Note To view the beta release of this cmdlet, view Get-MgBetaGroupLifecyclePolicyByGroup |
Get-MgGroupLifecyclePolicyCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupLifecyclePolicyCount |
Get-MgGroupMember |
Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMember |
Get-MgGroupMemberAsApplication |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.application Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberAsApplication |
Get-MgGroupMemberAsDevice |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.device Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberAsDevice |
Get-MgGroupMemberAsGroup |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.group Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberAsGroup |
Get-MgGroupMemberAsOrgContact |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberAsOrgContact |
Get-MgGroupMemberAsServicePrincipal |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberAsServicePrincipal |
Get-MgGroupMemberAsUser |
Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberAsUser |
Get-MgGroupMemberByRef |
Get a list of the group's direct members. A group can have users, organizational contacts, devices, service principals and other groups as members. This operation is not transitive. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberByRef |
Get-MgGroupMemberCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberCount |
Get-MgGroupMemberCountAsApplication |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberCountAsApplication |
Get-MgGroupMemberCountAsDevice |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberCountAsDevice |
Get-MgGroupMemberCountAsGroup |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberCountAsGroup |
Get-MgGroupMemberCountAsOrgContact |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberCountAsOrgContact |
Get-MgGroupMemberCountAsServicePrincipal |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberCountAsServicePrincipal |
Get-MgGroupMemberCountAsUser |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberCountAsUser |
Get-MgGroupMemberGroup |
Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberGroup |
Get-MgGroupMemberObject |
Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberObject |
Get-MgGroupMemberOf |
Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberOf |
Get-MgGroupMemberOfAsAdministrativeUnit |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberOfAsAdministrativeUnit |
Get-MgGroupMemberOfAsGroup |
Get groups that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberOfAsGroup |
Get-MgGroupMemberOfCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberOfCount |
Get-MgGroupMemberOfCountAsAdministrativeUnit |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberOfCountAsAdministrativeUnit |
Get-MgGroupMemberOfCountAsGroup |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberOfCountAsGroup |
Get-MgGroupMemberWithLicenseError |
A list of group members with license errors from this group-based license assignment. Read-only. Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseError |
Get-MgGroupMemberWithLicenseErrorAsApplication |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.application Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorAsApplication |
Get-MgGroupMemberWithLicenseErrorAsDevice |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.device Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorAsDevice |
Get-MgGroupMemberWithLicenseErrorAsGroup |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.group Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorAsGroup |
Get-MgGroupMemberWithLicenseErrorAsOrgContact |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorAsOrgContact |
Get-MgGroupMemberWithLicenseErrorAsServicePrincipal |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorAsServicePrincipal |
Get-MgGroupMemberWithLicenseErrorAsUser |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.user Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorAsUser |
Get-MgGroupMemberWithLicenseErrorCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorCount |
Get-MgGroupMemberWithLicenseErrorCountAsApplication |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorCountAsApplication |
Get-MgGroupMemberWithLicenseErrorCountAsDevice |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorCountAsDevice |
Get-MgGroupMemberWithLicenseErrorCountAsGroup |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorCountAsGroup |
Get-MgGroupMemberWithLicenseErrorCountAsOrgContact |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorCountAsOrgContact |
Get-MgGroupMemberWithLicenseErrorCountAsServicePrincipal |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorCountAsServicePrincipal |
Get-MgGroupMemberWithLicenseErrorCountAsUser |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupMemberWithLicenseErrorCountAsUser |
Get-MgGroupOwner |
Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwner |
Get-MgGroupOwnerAsApplication |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.application Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerAsApplication |
Get-MgGroupOwnerAsDevice |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.device Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerAsDevice |
Get-MgGroupOwnerAsGroup |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.group Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerAsGroup |
Get-MgGroupOwnerAsOrgContact |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerAsOrgContact |
Get-MgGroupOwnerAsServicePrincipal |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerAsServicePrincipal |
Get-MgGroupOwnerAsUser |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.user Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerAsUser |
Get-MgGroupOwnerByRef |
Retrieve a list of the group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment. Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerByRef |
Get-MgGroupOwnerCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerCount |
Get-MgGroupOwnerCountAsApplication |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerCountAsApplication |
Get-MgGroupOwnerCountAsDevice |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerCountAsDevice |
Get-MgGroupOwnerCountAsGroup |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerCountAsGroup |
Get-MgGroupOwnerCountAsOrgContact |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerCountAsOrgContact |
Get-MgGroupOwnerCountAsServicePrincipal |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerCountAsServicePrincipal |
Get-MgGroupOwnerCountAsUser |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupOwnerCountAsUser |
Get-MgGroupPermissionGrant |
Get permissionGrants from groups Note To view the beta release of this cmdlet, view Get-MgBetaGroupPermissionGrant |
Get-MgGroupPermissionGrantCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupPermissionGrantCount |
Get-MgGroupPhoto |
The group's profile photo Note To view the beta release of this cmdlet, view Get-MgBetaGroupPhoto |
Get-MgGroupPhotoContent |
The group's profile photo Note To view the beta release of this cmdlet, view Get-MgBetaGroupPhotoContent |
Get-MgGroupRejectedSender |
Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. Note To view the beta release of this cmdlet, view Get-MgBetaGroupRejectedSender |
Get-MgGroupRejectedSenderByRef |
Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. Note To view the beta release of this cmdlet, view Get-MgBetaGroupRejectedSenderByRef |
Get-MgGroupRejectedSenderCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupRejectedSenderCount |
Get-MgGroupSetting |
Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. Note To view the beta release of this cmdlet, view Get-MgBetaGroupSetting |
Get-MgGroupSettingCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupSettingCount |
Get-MgGroupSettingTemplateById |
Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: |
Get-MgGroupSettingTemplateCount |
Get the number of the resource |
Get-MgGroupSettingTemplateDelta |
Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. |
Get-MgGroupSettingTemplateGroupSettingTemplate |
A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. |
Get-MgGroupSettingTemplateMemberGroup |
Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. |
Get-MgGroupSettingTemplateMemberObject |
Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. |
Get-MgGroupSiteGetByPathApplicableContentTypeForList |
Get site contentTypes that can be added to a list. Note To view the beta release of this cmdlet, view Get-MgBetaGroupSiteGetByPathApplicableContentTypeForList |
Get-MgGroupSiteGetGraphBPrePathActivityByInterval |
Invoke function getActivitiesByInterval Note To view the beta release of this cmdlet, view Get-MgBetaGroupSiteGetGraphBPrePathActivityByInterval |
Get-MgGroupThread |
Get a thread object. Note To view the beta release of this cmdlet, view Get-MgBetaGroupThread |
Get-MgGroupThreadCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadCount |
Get-MgGroupThreadPost |
Get posts from groups Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPost |
Get-MgGroupThreadPostAttachment |
Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostAttachment |
Get-MgGroupThreadPostAttachmentCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostAttachmentCount |
Get-MgGroupThreadPostCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostCount |
Get-MgGroupThreadPostExtension |
Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostExtension |
Get-MgGroupThreadPostExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostExtensionCount |
Get-MgGroupThreadPostInReplyToAttachment |
Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostInReplyToAttachment |
Get-MgGroupThreadPostInReplyToAttachmentCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostInReplyToAttachmentCount |
Get-MgGroupThreadPostInReplyToExtension |
The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostInReplyToExtension |
Get-MgGroupThreadPostInReplyToExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupThreadPostInReplyToExtensionCount |
Get-MgGroupTransitiveMember |
The direct and transitive members of a group. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMember |
Get-MgGroupTransitiveMemberAsApplication |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.application Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberAsApplication |
Get-MgGroupTransitiveMemberAsDevice |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.device Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberAsDevice |
Get-MgGroupTransitiveMemberAsGroup |
Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberAsGroup |
Get-MgGroupTransitiveMemberAsOrgContact |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberAsOrgContact |
Get-MgGroupTransitiveMemberAsServicePrincipal |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberAsServicePrincipal |
Get-MgGroupTransitiveMemberAsUser |
Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberAsUser |
Get-MgGroupTransitiveMemberCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberCount |
Get-MgGroupTransitiveMemberCountAsApplication |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberCountAsApplication |
Get-MgGroupTransitiveMemberCountAsDevice |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberCountAsDevice |
Get-MgGroupTransitiveMemberCountAsGroup |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberCountAsGroup |
Get-MgGroupTransitiveMemberCountAsOrgContact |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberCountAsOrgContact |
Get-MgGroupTransitiveMemberCountAsServicePrincipal |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberCountAsServicePrincipal |
Get-MgGroupTransitiveMemberCountAsUser |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberCountAsUser |
Get-MgGroupTransitiveMemberOf |
The groups that a group is a member of, either directly or through nested membership. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberOf |
Get-MgGroupTransitiveMemberOfAsAdministrativeUnit |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberOfAsAdministrativeUnit |
Get-MgGroupTransitiveMemberOfAsGroup |
Get the item of type microsoft.graph.directoryObject as microsoft.graph.group Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberOfAsGroup |
Get-MgGroupTransitiveMemberOfCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberOfCount |
Get-MgGroupTransitiveMemberOfCountAsAdministrativeUnit |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberOfCountAsAdministrativeUnit |
Get-MgGroupTransitiveMemberOfCountAsGroup |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaGroupTransitiveMemberOfCountAsGroup |
Invoke-MgForwardGroupConversationThreadPost |
Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. Note To view the beta release of this cmdlet, view Invoke-MgBetaForwardGroupConversationThreadPost |
Invoke-MgForwardGroupConversationThreadPostInReplyTo |
Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. Note To view the beta release of this cmdlet, view Invoke-MgBetaForwardGroupConversationThreadPostInReplyTo |
Invoke-MgForwardGroupThreadPost |
Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. Note To view the beta release of this cmdlet, view Invoke-MgBetaForwardGroupThreadPost |
Invoke-MgForwardGroupThreadPostInReplyTo |
Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. Note To view the beta release of this cmdlet, view Invoke-MgBetaForwardGroupThreadPostInReplyTo |
Invoke-MgGraphGroup |
Calling this method prevents the current user from receiving email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. Note To view the beta release of this cmdlet, view Invoke-MgBetaGraphGroup |
Invoke-MgRenewGroup |
Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. Note To view the beta release of this cmdlet, view Invoke-MgBetaRenewGroup |
Invoke-MgReplyGroupConversationThread |
Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyGroupConversationThread |
Invoke-MgReplyGroupConversationThreadPost |
Invoke action reply Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyGroupConversationThreadPost |
Invoke-MgReplyGroupConversationThreadPostInReplyTo |
Invoke action reply Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyGroupConversationThreadPostInReplyTo |
Invoke-MgReplyGroupThread |
Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyGroupThread |
Invoke-MgReplyGroupThreadPost |
Invoke action reply Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyGroupThreadPost |
Invoke-MgReplyGroupThreadPostInReplyTo |
Invoke action reply Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyGroupThreadPostInReplyTo |
Invoke-MgRetryGroupServiceProvisioning |
Retry the group service provisioning. Note To view the beta release of this cmdlet, view Invoke-MgBetaRetryGroupServiceProvisioning |
Invoke-MgSubscribeGroupByMail |
Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. Note To view the beta release of this cmdlet, view Invoke-MgBetaSubscribeGroupByMail |
New-MgGroup |
Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note To view the beta release of this cmdlet, view New-MgBetaGroup |
New-MgGroupAcceptedSenderByRef |
Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. Note To view the beta release of this cmdlet, view New-MgBetaGroupAcceptedSenderByRef |
New-MgGroupConversation |
Use reply thread or reply post to further post to that conversation. Note To view the beta release of this cmdlet, view New-MgBetaGroupConversation |
New-MgGroupConversationThread |
Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further post to that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. Note To view the beta release of this cmdlet, view New-MgBetaGroupConversationThread |
New-MgGroupConversationThreadPostAttachment |
Create new navigation property to attachments for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupConversationThreadPostAttachment |
New-MgGroupConversationThreadPostAttachmentUploadSession |
Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. Note To view the beta release of this cmdlet, view New-MgBetaGroupConversationThreadPostAttachmentUploadSession |
New-MgGroupConversationThreadPostExtension |
Create new navigation property to extensions for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupConversationThreadPostExtension |
New-MgGroupConversationThreadPostInReplyToAttachment |
Create new navigation property to attachments for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupConversationThreadPostInReplyToAttachment |
New-MgGroupConversationThreadPostInReplyToAttachmentUploadSession |
Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. Note To view the beta release of this cmdlet, view New-MgBetaGroupConversationThreadPostInReplyToAttachmentUploadSession |
New-MgGroupConversationThreadPostInReplyToExtension |
Create new navigation property to extensions for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupConversationThreadPostInReplyToExtension |
New-MgGroupExtension |
Create new navigation property to extensions for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupExtension |
New-MgGroupLifecyclePolicy |
Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. Note To view the beta release of this cmdlet, view New-MgBetaGroupLifecyclePolicy |
New-MgGroupMember |
Add a member to an Office 365 group or security group through the members navigation property. Note To view the beta release of this cmdlet, view New-MgBetaGroupMember |
New-MgGroupMemberByRef |
Add a member to a security or Microsoft 365 group. When using the API to add multiple members in one request, you can add up to only 20 members. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. Note To view the beta release of this cmdlet, view New-MgBetaGroupMemberByRef |
New-MgGroupOwner |
Add an owner to an Office 365 group or security group through the owners navigation property. |
New-MgGroupOwnerByRef |
Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. Note To view the beta release of this cmdlet, view New-MgBetaGroupOwnerByRef |
New-MgGroupPermissionGrant |
Create new navigation property to permissionGrants for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupPermissionGrant |
New-MgGroupRejectedSenderByRef |
Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. Note To view the beta release of this cmdlet, view New-MgBetaGroupRejectedSenderByRef |
New-MgGroupSetting |
Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. Note To view the beta release of this cmdlet, view New-MgBetaGroupSetting |
New-MgGroupSettingTemplateGroupSettingTemplate |
Add new entity to groupSettingTemplates |
New-MgGroupThread |
Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group.Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. Note To view the beta release of this cmdlet, view New-MgBetaGroupThread |
New-MgGroupThreadPostAttachment |
Create new navigation property to attachments for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupThreadPostAttachment |
New-MgGroupThreadPostAttachmentUploadSession |
Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. Note To view the beta release of this cmdlet, view New-MgBetaGroupThreadPostAttachmentUploadSession |
New-MgGroupThreadPostExtension |
Create new navigation property to extensions for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupThreadPostExtension |
New-MgGroupThreadPostInReplyToAttachment |
Create new navigation property to attachments for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupThreadPostInReplyToAttachment |
New-MgGroupThreadPostInReplyToAttachmentUploadSession |
Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. Note To view the beta release of this cmdlet, view New-MgBetaGroupThreadPostInReplyToAttachmentUploadSession |
New-MgGroupThreadPostInReplyToExtension |
Create new navigation property to extensions for groups Note To view the beta release of this cmdlet, view New-MgBetaGroupThreadPostInReplyToExtension |
Remove-MgGroup |
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. Note To view the beta release of this cmdlet, view Remove-MgBetaGroup |
Remove-MgGroupAcceptedSenderByRef |
Remove acceptedSender Note To view the beta release of this cmdlet, view Remove-MgBetaGroupAcceptedSenderDirectoryObjectByRef |
Remove-MgGroupAcceptedSenderDirectoryObjectByRef |
Remove acceptedSender Note To view the beta release of this cmdlet, view Remove-MgBetaGroupAcceptedSenderDirectoryObjectByRef |
Remove-MgGroupByUniqueName |
Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupByUniqueName |
Remove-MgGroupConversation |
Delete conversation. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupConversation |
Remove-MgGroupConversationThread |
Delete navigation property threads for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupConversationThread |
Remove-MgGroupConversationThreadPostAttachment |
Delete navigation property attachments for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupConversationThreadPostAttachment |
Remove-MgGroupConversationThreadPostExtension |
Delete navigation property extensions for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupConversationThreadPostExtension |
Remove-MgGroupConversationThreadPostInReplyToAttachment |
Delete navigation property attachments for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupConversationThreadPostInReplyToAttachment |
Remove-MgGroupConversationThreadPostInReplyToExtension |
Delete navigation property extensions for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupConversationThreadPostInReplyToExtension |
Remove-MgGroupExtension |
Delete navigation property extensions for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupExtension |
Remove-MgGroupFavorite |
Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupFavorite |
Remove-MgGroupFromLifecyclePolicy |
Removes a group from a lifecycle policy. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupFromLifecyclePolicy |
Remove-MgGroupLifecyclePolicy |
Delete a groupLifecyclePolicy. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupLifecyclePolicy |
Remove-MgGroupMemberByRef |
Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupMemberDirectoryObjectByRef |
Remove-MgGroupMemberDirectoryObjectByRef |
Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupMemberDirectoryObjectByRef |
Remove-MgGroupOwnerByRef |
Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupOwnerDirectoryObjectByRef |
Remove-MgGroupOwnerDirectoryObjectByRef |
Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupOwnerDirectoryObjectByRef |
Remove-MgGroupPermissionGrant |
Delete navigation property permissionGrants for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupPermissionGrant |
Remove-MgGroupPhoto |
Delete navigation property photo for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupPhoto |
Remove-MgGroupPhotoContent |
The group's profile photo Note To view the beta release of this cmdlet, view Remove-MgBetaGroupPhotoContent |
Remove-MgGroupRejectedSenderByRef |
Remove rejectedSender Note To view the beta release of this cmdlet, view Remove-MgBetaGroupRejectedSenderDirectoryObjectByRef |
Remove-MgGroupRejectedSenderDirectoryObjectByRef |
Remove rejectedSender Note To view the beta release of this cmdlet, view Remove-MgBetaGroupRejectedSenderDirectoryObjectByRef |
Remove-MgGroupSetting |
Delete navigation property settings for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupSetting |
Remove-MgGroupSettingTemplateGroupSettingTemplate |
Delete entity from groupSettingTemplates |
Remove-MgGroupThread |
Delete conversationThread. Note To view the beta release of this cmdlet, view Remove-MgBetaGroupThread |
Remove-MgGroupThreadPostAttachment |
Delete navigation property attachments for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupThreadPostAttachment |
Remove-MgGroupThreadPostExtension |
Delete navigation property extensions for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupThreadPostExtension |
Remove-MgGroupThreadPostInReplyToAttachment |
Delete navigation property attachments for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupThreadPostInReplyToAttachment |
Remove-MgGroupThreadPostInReplyToExtension |
Delete navigation property extensions for groups Note To view the beta release of this cmdlet, view Remove-MgBetaGroupThreadPostInReplyToExtension |
Reset-MgGroupUnseenCount |
Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. Note To view the beta release of this cmdlet, view Reset-MgBetaGroupUnseenCount |
Restore-MgGroupSettingTemplate |
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. |
Set-MgGroupLicense |
Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. Note To view the beta release of this cmdlet, view Set-MgBetaGroupLicense |
Set-MgGroupPhotoContent |
The group's profile photo Note To view the beta release of this cmdlet, view Set-MgBetaGroupPhotoContent |
Test-MgGroupProperty |
Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to update a Microsoft 365 group. To validate the properties before creating a group, use the directoryobject:validateProperties function. The following policy validations are performed for the display name and mail nickname properties: This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. Note To view the beta release of this cmdlet, view Test-MgBetaGroupProperty |
Test-MgGroupSettingTemplateProperty |
Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. |
Update-MgGroup |
Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note To view the beta release of this cmdlet, view Update-MgBetaGroup |
Update-MgGroupByUniqueName |
Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note To view the beta release of this cmdlet, view Update-MgBetaGroupByUniqueName |
Update-MgGroupConversationThread |
Update the navigation property threads in groups Note To view the beta release of this cmdlet, view Update-MgBetaGroupConversationThread |
Update-MgGroupConversationThreadPostExtension |
Update the navigation property extensions in groups Note To view the beta release of this cmdlet, view Update-MgBetaGroupConversationThreadPostExtension |
Update-MgGroupConversationThreadPostInReplyToExtension |
Update the navigation property extensions in groups Note To view the beta release of this cmdlet, view Update-MgBetaGroupConversationThreadPostInReplyToExtension |
Update-MgGroupExtension |
Update the navigation property extensions in groups Note To view the beta release of this cmdlet, view Update-MgBetaGroupExtension |
Update-MgGroupLifecyclePolicy |
Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. Note To view the beta release of this cmdlet, view Update-MgBetaGroupLifecyclePolicy |
Update-MgGroupPermissionGrant |
Update the navigation property permissionGrants in groups Note To view the beta release of this cmdlet, view Update-MgBetaGroupPermissionGrant |
Update-MgGroupSetting |
Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. Note To view the beta release of this cmdlet, view Update-MgBetaGroupSetting |
Update-MgGroupSettingTemplateGroupSettingTemplate |
Update entity in groupSettingTemplates |
Update-MgGroupThread |
Update conversation thread Note To view the beta release of this cmdlet, view Update-MgBetaGroupThread |
Update-MgGroupThreadPostExtension |
Update an open extension (openTypeExtension object) on a supported resource type.- If a property in the request body matches the name of an existing property in the extension, the data in the extension is updated.- Otherwise, that property and its data are added to the extension. The data in an extension can be primitive types or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. Note To view the beta release of this cmdlet, view Update-MgBetaGroupThreadPostExtension |
Update-MgGroupThreadPostInReplyToExtension |
Update the navigation property extensions in groups Note To view the beta release of this cmdlet, view Update-MgBetaGroupThreadPostInReplyToExtension |