Microsoft.Graph.Groups

Microsoft Graph PowerShell Cmdlets

Microsoft.Graph.Groups

Add-MgGroupDriveListContentTypeCopy

Add a copy of a content type from a site to a list.

Note

To view the beta release of this cmdlet, view Add-MgBetaGroupDriveListContentTypeCopy

Add-MgGroupDriveListContentTypeCopyFromContentTypeHub

Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates - August 2021.

Note

To view the beta release of this cmdlet, view Add-MgBetaGroupDriveListContentTypeCopyFromContentTypeHub

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-MgGroupSite

Follow a user's site or multiple sites.

Note

To view the beta release of this cmdlet, view Add-MgBetaGroupSite

Add-MgGroupSiteContentTypeCopy

Add a copy of a content type from a site to a list.

Note

To view the beta release of this cmdlet, view Add-MgBetaGroupSiteContentTypeCopy

Add-MgGroupSiteContentTypeCopyFromContentTypeHub

Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates - August 2021.

Note

To view the beta release of this cmdlet, view Add-MgBetaGroupSiteContentTypeCopyFromContentTypeHub

Add-MgGroupSiteListContentTypeCopy

Add a copy of a content type from a site to a list.

Note

To view the beta release of this cmdlet, view Add-MgBetaGroupSiteListContentTypeCopy

Add-MgGroupSiteListContentTypeCopyFromContentTypeHub

Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates - August 2021.

Note

To view the beta release of this cmdlet, view Add-MgBetaGroupSiteListContentTypeCopyFromContentTypeHub

Add-MgGroupToLifecyclePolicy

Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy 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

Copy-MgGroupDriveItem

Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupDriveItem

Copy-MgGroupDriveListContentTypeToDefaultContentLocation

Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupDriveListContentTypeToDefaultContentLocation

Copy-MgGroupDriveRoot

Asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupDriveRoot

Copy-MgGroupOnenoteNotebook

For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupOnenoteNotebook

Copy-MgGroupOnenotePageToSection

Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupOnenotePageToSection

Copy-MgGroupOnenoteSectionToNotebook

For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupOnenoteSectionToNotebook

Copy-MgGroupOnenoteSectionToSectionGroup

For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupOnenoteSectionToSectionGroup

Copy-MgGroupSiteContentTypeToDefaultContentLocation

Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupSiteContentTypeToDefaultContentLocation

Copy-MgGroupSiteListContentTypeToDefaultContentLocation

Copy a file to a default content location in a content type. The file can then be added as a default file or template via a POST operation.

Note

To view the beta release of this cmdlet, view Copy-MgBetaGroupSiteListContentTypeToDefaultContentLocation

Get-MgAllGroupSite

List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale.

Note

To view the beta release of this cmdlet, view Get-MgBetaAllGroupSite

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-MgGroupCalendarEventDelta

Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupCalendarEventDelta

Get-MgGroupCalendarSchedule

Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupCalendarSchedule

Get-MgGroupConversation

The group's conversations.

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. See Using Delta Query for details.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDelta

Get-MgGroupDriveItemActivityByInterval

Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveItemActivityByInterval

Get-MgGroupDriveItemDelta

Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveItemDelta

Get-MgGroupDriveItemListItemActivityByInterval

Invoke function getActivitiesByInterval

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveItemListItemActivityByInterval

Get-MgGroupDriveListContentTypeCompatibleHubContentType

Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates - August 2021.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveListContentTypeCompatibleHubContentType

Get-MgGroupDriveListItemActivityByInterval

Invoke function getActivitiesByInterval

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveListItemActivityByInterval

Get-MgGroupDriveListItemDelta

Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveListItemDelta

Get-MgGroupDriveRootActivityByInterval

Get a collection of itemActivityStats resources for the activities that took place on this resource within the specified time interval. Analytics aggregates might not be available for all action types.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveRootActivityByInterval

Get-MgGroupDriveRootDelta

Track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink, as described below.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you have finished receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveRootDelta

Get-MgGroupDriveRootListItemActivityByInterval

Invoke function getActivitiesByInterval

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupDriveRootListItemActivityByInterval

Get-MgGroupEventDelta

Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupEventDelta

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-MgGroupOnenoteNotebookFromWebUrl

Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupOnenoteNotebookFromWebUrl

Get-MgGroupOnenoteRecentNotebook

Get a list of recentNotebook instances that have been accessed by the signed-in user.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupOnenoteRecentNotebook

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 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 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 about the delta function, 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-MgGroupSiteActivityByInterval

Invoke function getActivitiesByInterval

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteActivityByInterval

Get-MgGroupSiteApplicableContentTypeForList

Get site contentTypes that can be added to a list.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteApplicableContentTypeForList

Get-MgGroupSiteByPath

Invoke function getByPath

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteByPath

Get-MgGroupSiteContentTypeCompatibleHubContentType

Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates - August 2021.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteContentTypeCompatibleHubContentType

Get-MgGroupSiteDelta

Get newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteDelta

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-MgGroupSiteListContentTypeCompatibleHubContentType

Get a list of compatible content types from the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: addCopyFromContentTypeHub and the blog post Syntex Product Updates - August 2021.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteListContentTypeCompatibleHubContentType

Get-MgGroupSiteListItemActivityByInterval

Invoke function getActivitiesByInterval

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteListItemActivityByInterval

Get-MgGroupSiteListItemDelta

Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state.

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSiteListItemDelta

Get-MgGroupSitePageMicrosoftGraphSitePageCanvaLayoutHorizontalSectionColumnWebpartPositionOfWebPart

Invoke action getPositionOfWebPart

Get-MgGroupSitePageMicrosoftGraphSitePageCanvaLayoutVerticalSectionWebpartPositionOfWebPart

Invoke action getPositionOfWebPart

Get-MgGroupSitePageMicrosoftGraphSitePageWebPartPositionOfWebPart

Invoke action getPositionOfWebPart

Note

To view the beta release of this cmdlet, view Get-MgBetaGroupSitePageMicrosoftGraphSitePageWebPartPositionOfWebPart

Get-MgGroupThread

Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.

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

Grant-MgGroupDriveItemPermission

Grant users access to a link represented by a permission.

Note

To view the beta release of this cmdlet, view Grant-MgBetaGroupDriveItemPermission

Grant-MgGroupDriveRootPermission

Grant users access to a link represented by a permission.

Note

To view the beta release of this cmdlet, view Grant-MgBetaGroupDriveRootPermission

Grant-MgGroupSitePermission

Grant users access to a link represented by a permission.

Note

To view the beta release of this cmdlet, view Grant-MgBetaGroupSitePermission

Invoke-MgAcceptGroupCalendarEvent

Accept the specified event in a user calendar.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaAcceptGroupCalendarEvent

Invoke-MgAcceptGroupCalendarEventTentatively

Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaAcceptGroupCalendarEventTentatively

Invoke-MgAcceptGroupEvent

Accept the specified event in a user calendar.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaAcceptGroupEvent

Invoke-MgAcceptGroupEventTentatively

Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaAcceptGroupEventTentatively

Invoke-MgCalendarGroupCalendar

Invoke function allowedCalendarSharingRoles

Note

To view the beta release of this cmdlet, view Invoke-MgBetaCalendarGroupCalendar

Invoke-MgCheckinGroupDriveItem

Check in a checked out driveItem resource, which makes the version of the document available to others.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaCheckinGroupDriveItem

Invoke-MgCheckinGroupDriveRoot

Check in a checked out driveItem resource, which makes the version of the document available to others.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaCheckinGroupDriveRoot

Invoke-MgCheckoutGroupDriveItem

Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaCheckoutGroupDriveItem

Invoke-MgCheckoutGroupDriveRoot

Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaCheckoutGroupDriveRoot

Invoke-MgDeclineGroupCalendarEvent

Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaDeclineGroupCalendarEvent

Invoke-MgDeclineGroupEvent

Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaDeclineGroupEvent

Invoke-MgDismissGroupCalendarEventReminder

Dismiss a reminder that has been triggered for an event in a user calendar.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaDismissGroupCalendarEventReminder

Invoke-MgDismissGroupEventReminder

Dismiss a reminder that has been triggered for an event in a user calendar.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaDismissGroupEventReminder

Invoke-MgExtractGroupDriveItemSensitivityLabel

Invoke action extractSensitivityLabels

Note

To view the beta release of this cmdlet, view Invoke-MgBetaExtractGroupDriveItemSensitivityLabel

Invoke-MgExtractGroupDriveRootSensitivityLabel

Invoke action extractSensitivityLabels

Note

To view the beta release of this cmdlet, view Invoke-MgBetaExtractGroupDriveRootSensitivityLabel

Invoke-MgFollowGroupDriveItem

Follow a driveItem.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaFollowGroupDriveItem

Invoke-MgFollowGroupDriveRoot

Follow a driveItem.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaFollowGroupDriveRoot

Invoke-MgForwardGroupCalendarEvent

This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaForwardGroupCalendarEvent

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-MgForwardGroupEvent

This action allows the organizer or attendee of a meeting event to forward themeeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this actionalso sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer'scopy of the meeting event. This convenience is not available when forwarding from an Outlook.com account.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaForwardGroupEvent

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-MgGraphGroupDrive

Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaGraphGroupDrive

Invoke-MgInviteGroupDriveItem

Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaInviteGroupDriveItem

Invoke-MgInviteGroupDriveRoot

Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaInviteGroupDriveRoot

Invoke-MgPreviewGroupDriveItem

Invoke action preview

Note

To view the beta release of this cmdlet, view Invoke-MgBetaPreviewGroupDriveItem

Invoke-MgPreviewGroupDriveRoot

Invoke action preview

Note

To view the beta release of this cmdlet, view Invoke-MgBetaPreviewGroupDriveRoot

Invoke-MgPreviewGroupOnenotePage

Invoke function preview

Note

To view the beta release of this cmdlet, view Invoke-MgBetaPreviewGroupOnenotePage

Invoke-MgReauthorizeGroupDriveItemSubscription

Reauthorize a subscription when you receive a reauthorizationRequired challenge.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaReauthorizeGroupDriveItemSubscription

Invoke-MgReauthorizeGroupDriveListSubscription

Reauthorize a subscription when you receive a reauthorizationRequired challenge.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaReauthorizeGroupDriveListSubscription

Invoke-MgReauthorizeGroupDriveRootSubscription

Reauthorize a subscription when you receive a reauthorizationRequired challenge.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaReauthorizeGroupDriveRootSubscription

Invoke-MgReauthorizeGroupSiteListSubscription

Reauthorize a subscription when you receive a reauthorizationRequired challenge.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaReauthorizeGroupSiteListSubscription

Invoke-MgRecentGroupDrive

List a set of items that have been recently used by the signed in user.This collection includes items that are in the user's drive and items they have access to from other drives.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaRecentGroupDrive

Invoke-MgRenewGroup

Renews 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

Reply to a post and add a new post to the specified thread in a group conversation. 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-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

Reply to a post and add a new post to the specified thread in a group conversation. 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-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-MgSnoozeGroupCalendarEventReminder

Postpone a reminder for an event in a user calendar until a new time.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaSnoozeGroupCalendarEventReminder

Invoke-MgSnoozeGroupEventReminder

Postpone a reminder for an event in a user calendar until a new time.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaSnoozeGroupEventReminder

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

Invoke-MgUnfollowGroupDriveItem

Unfollow a driveItem.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaUnfollowGroupDriveItem

Invoke-MgUnfollowGroupDriveRoot

Unfollow a driveItem.

Note

To view the beta release of this cmdlet, view Invoke-MgBetaUnfollowGroupDriveRoot

Join-MgGroupDriveListContentTypeWithHubSite

Associate a published content type present in a content type hub with a list of hub sites.

Note

To view the beta release of this cmdlet, view Join-MgBetaGroupDriveListContentTypeWithHubSite

Join-MgGroupSiteContentTypeWithHubSite

Associate a published content type present in a content type hub with a list of hub sites.

Note

To view the beta release of this cmdlet, view Join-MgBetaGroupSiteContentTypeWithHubSite

Join-MgGroupSiteListContentTypeWithHubSite

Associate a published content type present in a content type hub with a list of hub sites.

Note

To view the beta release of this cmdlet, view Join-MgBetaGroupSiteListContentTypeWithHubSite

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

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 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-MgGroupDriveItemLink

You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors.

Note

To view the beta release of this cmdlet, view New-MgBetaGroupDriveItemLink

New-MgGroupDriveItemListItemLink

Invoke action createLink

Note

To view the beta release of this cmdlet, view New-MgBetaGroupDriveItemListItemLink

New-MgGroupDriveItemUploadSession

Invoke action createUploadSession

Note

To view the beta release of this cmdlet, view New-MgBetaGroupDriveItemUploadSession

New-MgGroupDriveListItemLink

Invoke action createLink

Note

To view the beta release of this cmdlet, view New-MgBetaGroupDriveListItemLink

New-MgGroupDriveRootLink

You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors.

Note

To view the beta release of this cmdlet, view New-MgBetaGroupDriveRootLink

New-MgGroupDriveRootListItemLink

Invoke action createLink

Note

To view the beta release of this cmdlet, view New-MgBetaGroupDriveRootListItemLink

New-MgGroupDriveRootUploadSession

Invoke action createUploadSession

Note

To view the beta release of this cmdlet, view New-MgBetaGroupDriveRootUploadSession

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.

Note

To view the beta release of this cmdlet, view New-MgBetaGroupLifecyclePolicy

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-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-MgGroupSiteListItemLink

Invoke action createLink

Note

To view the beta release of this cmdlet, view New-MgBetaGroupSiteListItemLink

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

Publish-MgGroupDriveListContentType

Publishes a contentType present in the content type hub site.

Note

To view the beta release of this cmdlet, view Publish-MgBetaGroupDriveListContentType

Publish-MgGroupSiteContentType

Publishes a contentType present in the content type hub site.

Note

To view the beta release of this cmdlet, view Publish-MgBetaGroupSiteContentType

Publish-MgGroupSiteListContentType

Publishes a contentType present in the content type hub site.

Note

To view the beta release of this cmdlet, view Publish-MgBetaGroupSiteListContentType

Remove-MgGroup

Delete 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 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-MgGroupDriveItemPermanent

Invoke action permanentDelete

Note

To view the beta release of this cmdlet, view Remove-MgBetaGroupDriveItemPermanent

Remove-MgGroupDriveRootPermanent

Invoke action permanentDelete

Note

To view the beta release of this cmdlet, view Remove-MgBetaGroupDriveRootPermanent

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-MgGroupSite

Unfollow a user's site or multiple sites.

Note

To view the beta release of this cmdlet, view Remove-MgBetaGroupSite

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-MgGroupDriveItem

Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveItem

Restore-MgGroupDriveItemListItemDocumentSetVersion

Restore a document set version.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveItemListItemDocumentSetVersion

Restore-MgGroupDriveItemListItemVersion

Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveItemListItemVersion

Restore-MgGroupDriveItemVersion

Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveItemVersion

Restore-MgGroupDriveListItemDocumentSetVersion

Restore a document set version.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveListItemDocumentSetVersion

Restore-MgGroupDriveListItemVersion

Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveListItemVersion

Restore-MgGroupDriveRoot

Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveRoot

Restore-MgGroupDriveRootListItemDocumentSetVersion

Restore a document set version.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveRootListItemDocumentSetVersion

Restore-MgGroupDriveRootListItemVersion

Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveRootListItemVersion

Restore-MgGroupDriveRootVersion

Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupDriveRootVersion

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.

Restore-MgGroupSiteListItemDocumentSetVersion

Restore a document set version.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupSiteListItemDocumentSetVersion

Restore-MgGroupSiteListItemVersion

Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item.

Note

To view the beta release of this cmdlet, view Restore-MgBetaGroupSiteListItemVersion

Search-MgGroupDrive

Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user.

Note

To view the beta release of this cmdlet, view Search-MgBetaGroupDrive

Search-MgGroupDriveItem

Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user.

Note

To view the beta release of this cmdlet, view Search-MgBetaGroupDriveItem

Search-MgGroupDriveRoot

Search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user.

Note

To view the beta release of this cmdlet, view Search-MgBetaGroupDriveRoot

Set-MgGroupDriveItemSensitivityLabel

Invoke action assignSensitivityLabel

Note

To view the beta release of this cmdlet, view Set-MgBetaGroupDriveItemSensitivityLabel

Set-MgGroupDriveRootSensitivityLabel

Invoke action assignSensitivityLabel

Note

To view the beta release of this cmdlet, view Set-MgBetaGroupDriveRootSensitivityLabel

Set-MgGroupLicense

Add or remove licenses on the 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

Stop-MgGroupCalendarEvent

This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation.

Note

To view the beta release of this cmdlet, view Stop-MgBetaGroupCalendarEvent

Stop-MgGroupEvent

This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation.

Note

To view the beta release of this cmdlet, view Stop-MgBetaGroupEvent

Test-MgGroupDriveItemPermission

Invoke action validatePermission

Note

To view the beta release of this cmdlet, view Test-MgBetaGroupDriveItemPermission

Test-MgGroupDriveListContentTypePublished

Check the publishing status of a contentType in a content type hub site.

Note

To view the beta release of this cmdlet, view Test-MgBetaGroupDriveListContentTypePublished

Test-MgGroupDriveRootPermission

Invoke action validatePermission

Note

To view the beta release of this cmdlet, view Test-MgBetaGroupDriveRootPermission

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.

Test-MgGroupSiteContentTypePublished

Check the publishing status of a contentType in a content type hub site.

Note

To view the beta release of this cmdlet, view Test-MgBetaGroupSiteContentTypePublished

Test-MgGroupSiteListContentTypePublished

Check the publishing status of a contentType in a content type hub site.

Note

To view the beta release of this cmdlet, view Test-MgBetaGroupSiteListContentTypePublished

Unpublish-MgGroupDriveListContentType

Unpublish a contentType from a content type hub site.

Note

To view the beta release of this cmdlet, view Unpublish-MgBetaGroupDriveListContentType

Unpublish-MgGroupSiteContentType

Unpublish a contentType from a content type hub site.

Note

To view the beta release of this cmdlet, view Unpublish-MgBetaGroupSiteContentType

Unpublish-MgGroupSiteListContentType

Unpublish a contentType from a content type hub site.

Note

To view the beta release of this cmdlet, view Unpublish-MgBetaGroupSiteListContentType

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-MgGroupOnenotePageContent

Invoke action onenotePatchContent

Note

To view the beta release of this cmdlet, view Update-MgBetaGroupOnenotePageContent

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