Microsoft.Graph.Teams

Microsoft Graph PowerShell Cmdlets

Microsoft.Graph.Teams

Add-MgChatMember

Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.

Add-MgTeamChannelMember

Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.

Add-MgTeamMember

Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.

Add-MgTeamPrimaryChannelMember

Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.

Add-MgTeamworkDeletedTeamChannelMember

Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.

Clear-MgChatMessageReaction

Invoke action unsetReaction

Clear-MgChatMessageReplyReaction

Invoke action unsetReaction

Clear-MgTeamChannelMessageReaction

Invoke action unsetReaction

Clear-MgTeamChannelMessageReplyReaction

Invoke action unsetReaction

Clear-MgTeamPrimaryChannelMessageReaction

Invoke action unsetReaction

Clear-MgTeamPrimaryChannelMessageReplyReaction

Invoke action unsetReaction

Clear-MgTeamworkDeletedTeamChannelMessageReaction

Invoke action unsetReaction

Clear-MgTeamworkDeletedTeamChannelMessageReplyReaction

Invoke action unsetReaction

Complete-MgTeamChannelMigration

Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response.

Complete-MgTeamMigration

Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response.

Complete-MgTeamPrimaryChannelMigration

Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response.

Complete-MgTeamworkDeletedTeamChannelMigration

Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response.

Confirm-MgChatPermissionGrantMemberGroup

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 Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.

Confirm-MgChatPermissionGrantMemberObject

Invoke action checkMemberObjects

Confirm-MgTeamPermissionGrantMemberGroup

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 Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.

Confirm-MgTeamPermissionGrantMemberObject

Invoke action checkMemberObjects

Confirm-MgTeamScheduleTimeCard

Confirm a specific timeCard.

Copy-MgTeam

Create a copy of a team. This operation also creates a copy of the corresponding group.\nYou can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state \n-- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. \n(If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.\nAfter the POST clone returns, you need to GET the operation \nreturned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. \nYou should continue to GET until the status is not 'running'. \nThe recommended delay between GETs is 5 seconds.

Get-MgAllGroupTeamChannel

List of channels either hosted in or shared with the team (incoming channels).

Get-MgAllTeamChannel

List of channels either hosted in or shared with the team (incoming channels).

Get-MgAppCatalogTeamApp

Get teamsApps from appCatalogs

Get-MgAppCatalogTeamAppDefinition

The details for each version of the app.

Get-MgAppCatalogTeamAppDefinitionBot

Get the bot associated with a specific definition of the TeamsApp.

Get-MgAppCatalogTeamAppDefinitionColorIcon

Retrieve a Teams app icon associated with a specific definition of an app.

Get-MgAppCatalogTeamAppDefinitionColorIconHostedContent

Retrieve the hosted content in an app's icon.

Get-MgAppCatalogTeamAppDefinitionOutlineIcon

Retrieve a Teams app icon associated with a specific definition of an app.

Get-MgAppCatalogTeamAppDefinitionOutlineIconHostedContent

Retrieve the hosted content in an app's icon.

Get-MgChat

Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from.

Get-MgChatInstalledApp

A collection of all the apps in the chat. Nullable.

Get-MgChatInstalledAppTeamApp

The app that is installed.

Get-MgChatInstalledAppTeamAppDefinition

The details of this version of the app.

Get-MgChatLastMessagePreview

Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.

Get-MgChatMember

A collection of all the members in the chat. Nullable.

Get-MgChatMessage

Invoke function getAllMessages

Get-MgChatMessageDelta

Invoke function delta

Get-MgChatMessageHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgChatMessageReply

Replies for a specified message. Supports $expand for channel messages.

Get-MgChatMessageReplyDelta

Invoke function delta

Get-MgChatMessageReplyHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgChatOperation

A collection of all the Teams async operations that ran or are running on the chat. Nullable.

Get-MgChatPermissionGrant

A collection of permissions granted to apps for the chat.

Get-MgChatPermissionGrantById

Return the directory objects specified in a list of IDs. Some common uses for this function are to:

Get-MgChatPermissionGrantMemberGroup

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.

Get-MgChatPermissionGrantMemberObject

Invoke action getMemberObjects

Get-MgChatPermissionGrantUserOwnedObject

Invoke action getUserOwnedObjects

Get-MgChatPinnedMessage

A collection of all the pinned messages in the chat. Nullable.

Get-MgChatTab

A collection of all the tabs in the chat. Nullable.

Get-MgChatTabTeamApp

The application that is linked to the tab.

Get-MgGroupTeam

The team associated with this group.

Get-MgGroupTeamChannel

The collection of channels and messages associated with the team.

Get-MgGroupTeamChannelFileFolder

Get the metadata for the location where the files of a channel are stored.

Get-MgGroupTeamChannelFileFolderContent

The content stream, if the item represents a file.

Get-MgGroupTeamChannelMember

A collection of membership records associated with the channel.

Get-MgGroupTeamChannelMessage

A collection of all the messages in the channel. A navigation property. Nullable.

Get-MgGroupTeamChannelMessageHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgGroupTeamChannelMessageReply

Replies for a specified message. Supports $expand for channel messages.

Get-MgGroupTeamChannelMessageReplyHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgGroupTeamChannelSharedWithTeam

A collection of teams with which a channel is shared.

Get-MgGroupTeamChannelSharedWithTeamAllowedMember

A collection of team members who have access to the shared channel.

Get-MgGroupTeamChannelTab

A collection of all the tabs in the channel. A navigation property.

Get-MgGroupTeamChannelTabTeamApp

The application that is linked to the tab.

Get-MgGroupTeamGroup

Get group from groups

Get-MgGroupTeamIncomingChannel

List of channels shared with the team.

Get-MgGroupTeamInstalledApp

The apps installed in this team.

Get-MgGroupTeamInstalledAppTeamApp

The app that is installed.

Get-MgGroupTeamInstalledAppTeamAppDefinition

The details of this version of the app.

Get-MgGroupTeamMember

Members and owners of the team.

Get-MgGroupTeamOperation

The async operations that ran or are running on this team.

Get-MgGroupTeamOwner

The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user delegated permissions, no owner can be specified (the current user is the owner). Owner must be specified as an object ID (GUID), not a UPN.

Get-MgGroupTeamPermissionGrant

A collection of permissions granted to apps to access the team.

Get-MgGroupTeamPhoto

The team photo.

Get-MgGroupTeamPhotoContent

Get media content for the navigation property photo from groups

Get-MgGroupTeamPrimaryChannel

Get the default channel, General, of a team.

Get-MgGroupTeamPrimaryChannelFileFolder

Get the metadata for the location where the files of a channel are stored.

Get-MgGroupTeamPrimaryChannelFileFolderContent

The content stream, if the item represents a file.

Get-MgGroupTeamPrimaryChannelMember

A collection of membership records associated with the channel.

Get-MgGroupTeamPrimaryChannelMessage

A collection of all the messages in the channel. A navigation property. Nullable.

Get-MgGroupTeamPrimaryChannelMessageHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgGroupTeamPrimaryChannelMessageReply

Replies for a specified message. Supports $expand for channel messages.

Get-MgGroupTeamPrimaryChannelMessageReplyHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgGroupTeamPrimaryChannelSharedWithTeam

A collection of teams with which a channel is shared.

Get-MgGroupTeamPrimaryChannelSharedWithTeamAllowedMember

A collection of team members who have access to the shared channel.

Get-MgGroupTeamPrimaryChannelTab

A collection of all the tabs in the channel. A navigation property.

Get-MgGroupTeamPrimaryChannelTabTeamApp

The application that is linked to the tab.

Get-MgGroupTeamSchedule

Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).\nWhen clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule.

Get-MgGroupTeamScheduleOfferShiftRequest

Get offerShiftRequests from groups

Get-MgGroupTeamScheduleOpenShift

Get openShifts from groups

Get-MgGroupTeamScheduleOpenShiftChangeRequest

Get openShiftChangeRequests from groups

Get-MgGroupTeamScheduleSchedulingGroup

The logical grouping of users in the schedule (usually by role).

Get-MgGroupTeamScheduleShift

The shifts in the schedule.

Get-MgGroupTeamScheduleSwapShiftChangeRequest

Get swapShiftsChangeRequests from groups

Get-MgGroupTeamScheduleTimeCard

Get timeCards from groups

Get-MgGroupTeamScheduleTimeOff

The instances of times off in the schedule.

Get-MgGroupTeamScheduleTimeOffReason

The set of reasons for a time off in the schedule.

Get-MgGroupTeamScheduleTimeOffRequest

Get timeOffRequests from groups

Get-MgGroupTeamTag

The tags associated with the team.

Get-MgGroupTeamTagMember

Users assigned to the tag.

Get-MgGroupTeamTemplate

The template this team was created from. See available templates.

Get-MgGroupTeamTemplateDefinition

Get templateDefinition from groups

Get-MgTeam

Retrieve the properties and relationships of the specified team.

Get-MgTeamChannel

The collection of channels and messages associated with the team.

Get-MgTeamChannelFileFolder

Get the metadata for the location where the files of a channel are stored.

Get-MgTeamChannelFileFolderContent

The content stream, if the item represents a file.

Get-MgTeamChannelMember

A collection of membership records associated with the channel.

Get-MgTeamChannelMessage

A collection of all the messages in the channel. A navigation property. Nullable.

Get-MgTeamChannelMessageDelta

Invoke function delta

Get-MgTeamChannelMessageHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgTeamChannelMessageReply

Replies for a specified message. Supports $expand for channel messages.

Get-MgTeamChannelMessageReplyDelta

Invoke function delta

Get-MgTeamChannelMessageReplyHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgTeamChannelSharedWithTeam

A collection of teams with which a channel is shared.

Get-MgTeamChannelSharedWithTeamAllowedMember

A collection of team members who have access to the shared channel.

Get-MgTeamChannelTab

A collection of all the tabs in the channel. A navigation property.

Get-MgTeamChannelTabTeamApp

The application that is linked to the tab.

Get-MgTeamIncomingChannel

List of channels shared with the team.

Get-MgTeamInstalledApp

The apps installed in this team.

Get-MgTeamInstalledAppTeamApp

The app that is installed.

Get-MgTeamInstalledAppTeamAppDefinition

The details of this version of the app.

Get-MgTeamMember

Members and owners of the team.

Get-MgTeamMessage

Invoke function getAllMessages

Get-MgTeamOperation

The async operations that ran or are running on this team.

Get-MgTeamOwner

The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user delegated permissions, no owner can be specified (the current user is the owner). Owner must be specified as an object ID (GUID), not a UPN.

Get-MgTeamPermissionGrant

A collection of permissions granted to apps to access the team.

Get-MgTeamPermissionGrantById

Return the directory objects specified in a list of IDs. Some common uses for this function are to:

Get-MgTeamPermissionGrantMemberGroup

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.

Get-MgTeamPermissionGrantMemberObject

Invoke action getMemberObjects

Get-MgTeamPermissionGrantUserOwnedObject

Invoke action getUserOwnedObjects

Get-MgTeamPhoto

The team photo.

Get-MgTeamPhotoContent

Get media content for the navigation property photo from teams

Get-MgTeamPrimaryChannel

Get the default channel, General, of a team.

Get-MgTeamPrimaryChannelFileFolder

Get the metadata for the location where the files of a channel are stored.

Get-MgTeamPrimaryChannelFileFolderContent

The content stream, if the item represents a file.

Get-MgTeamPrimaryChannelMember

A collection of membership records associated with the channel.

Get-MgTeamPrimaryChannelMessage

A collection of all the messages in the channel. A navigation property. Nullable.

Get-MgTeamPrimaryChannelMessageDelta

Invoke function delta

Get-MgTeamPrimaryChannelMessageHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgTeamPrimaryChannelMessageReply

Replies for a specified message. Supports $expand for channel messages.

Get-MgTeamPrimaryChannelMessageReplyDelta

Invoke function delta

Get-MgTeamPrimaryChannelMessageReplyHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgTeamPrimaryChannelSharedWithTeam

A collection of teams with which a channel is shared.

Get-MgTeamPrimaryChannelSharedWithTeamAllowedMember

A collection of team members who have access to the shared channel.

Get-MgTeamPrimaryChannelTab

A collection of all the tabs in the channel. A navigation property.

Get-MgTeamPrimaryChannelTabTeamApp

The application that is linked to the tab.

Get-MgTeamSchedule

Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).\nWhen clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule.

Get-MgTeamScheduleOfferShiftRequest

Get offerShiftRequests from teams

Get-MgTeamScheduleOpenShift

Get openShifts from teams

Get-MgTeamScheduleOpenShiftChangeRequest

Get openShiftChangeRequests from teams

Get-MgTeamScheduleSchedulingGroup

The logical grouping of users in the schedule (usually by role).

Get-MgTeamScheduleShift

The shifts in the schedule.

Get-MgTeamScheduleSwapShiftChangeRequest

Get swapShiftsChangeRequests from teams

Get-MgTeamScheduleTimeCard

Get timeCards from teams

Get-MgTeamScheduleTimeOff

The instances of times off in the schedule.

Get-MgTeamScheduleTimeOffReason

The set of reasons for a time off in the schedule.

Get-MgTeamScheduleTimeOffRequest

Get timeOffRequests from teams

Get-MgTeamTag

The tags associated with the team.

Get-MgTeamTagMember

Users assigned to the tag.

Get-MgTeamTemplate

The template this team was created from. See available templates.

Get-MgTeamTemplateDefinition

Get templateDefinition from teams

Get-MgTeamwork

Get teamwork

Get-MgTeamworkDeletedTeam

A collection of deleted teams.

Get-MgTeamworkDeletedTeamChannel

The channels those are either shared with this deleted team or created in this deleted team.

Get-MgTeamworkDeletedTeamChannelFileFolder

Get the metadata for the location where the files of a channel are stored.

Get-MgTeamworkDeletedTeamChannelFileFolderContent

The content stream, if the item represents a file.

Get-MgTeamworkDeletedTeamChannelMember

A collection of membership records associated with the channel.

Get-MgTeamworkDeletedTeamChannelMessage

A collection of all the messages in the channel. A navigation property. Nullable.

Get-MgTeamworkDeletedTeamChannelMessageDelta

Invoke function delta

Get-MgTeamworkDeletedTeamChannelMessageHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgTeamworkDeletedTeamChannelMessageReply

Replies for a specified message. Supports $expand for channel messages.

Get-MgTeamworkDeletedTeamChannelMessageReplyDelta

Invoke function delta

Get-MgTeamworkDeletedTeamChannelMessageReplyHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgTeamworkDeletedTeamChannelSharedWithTeam

A collection of teams with which a channel is shared.

Get-MgTeamworkDeletedTeamChannelSharedWithTeamAllowedMember

A collection of team members who have access to the shared channel.

Get-MgTeamworkDeletedTeamChannelTab

A collection of all the tabs in the channel. A navigation property.

Get-MgTeamworkDeletedTeamChannelTabTeamApp

The application that is linked to the tab.

Get-MgTeamworkDeletedTeamMessage

Invoke function getAllMessages

Get-MgTeamworkDevice

The Teams devices provisioned for the tenant.

Get-MgTeamworkDeviceActivity

Get the activity status of a Microsoft Teams-enabled device.

Get-MgTeamworkDeviceConfiguration

Get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration.

Get-MgTeamworkDeviceHealth

Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters.

Get-MgTeamworkDeviceOperation

The async operations on the device.

Get-MgTeamworkTeamAppSetting

Read the properties and relationships of a teamsAppSettings object.

Get-MgTeamworkTeamTemplate

The templates associated with a team.

Get-MgTeamworkTeamTemplateDefinition

Get definitions from teamwork

Get-MgTeamworkTeamTemplateDefinitionTeamDefinition

Get the properties of the team associated with a teamTemplateDefinition object.

Get-MgTeamworkWorkforceIntegration

A workforce integration with shifts.

Get-MgUserChat

Get chats from users

Get-MgUserChatInstalledApp

A collection of all the apps in the chat. Nullable.

Get-MgUserChatInstalledAppTeamApp

The app that is installed.

Get-MgUserChatInstalledAppTeamAppDefinition

The details of this version of the app.

Get-MgUserChatLastMessagePreview

Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.

Get-MgUserChatMember

A collection of all the members in the chat. Nullable.

Get-MgUserChatMessage

A collection of all the messages in the chat. Nullable.

Get-MgUserChatMessageHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgUserChatMessageReply

Replies for a specified message. Supports $expand for channel messages.

Get-MgUserChatMessageReplyHostedContent

Content in a message hosted by Microsoft Teams - for example, images or code snippets.

Get-MgUserChatOperation

A collection of all the Teams async operations that ran or are running on the chat. Nullable.

Get-MgUserChatPermissionGrant

A collection of permissions granted to apps for the chat.

Get-MgUserChatPinnedMessage

A collection of all the pinned messages in the chat. Nullable.

Get-MgUserChatTab

A collection of all the tabs in the chat. Nullable.

Get-MgUserChatTabTeamApp

The application that is linked to the tab.

Get-MgUserJoinedTeam

Get the teams in Microsoft Teams that the user is a direct member of.

Get-MgUserTeamwork

A container for Microsoft Teams features available for the user. Read-only. Nullable.

Get-MgUserTeamworkAssociatedTeam

The list of associatedTeamInfo objects that a user is associated with.

Get-MgUserTeamworkInstalledApp

The apps installed in the personal scope of this user.

Get-MgUserTeamworkInstalledAppChat

Retrieve the chat of the specified user and Teams app.

Hide-MgChatForUser

Hide a chat for a user.

Invoke-MgArchiveTeam

Archive the specified team. \nWhen a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.\nMembership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive.

Invoke-MgClockTeamScheduleTimeCardIn

Clock in to start a timeCard.

Invoke-MgClockTeamScheduleTimeCardOut

Clock out to end an open timeCard.

Invoke-MgGraphChat

Unhide a chat for a user.

Invoke-MgHaveTeamChannel

Invoke function doesUserHaveAccess

Invoke-MgHaveTeamPrimaryChannel

Invoke function doesUserHaveAccess

Invoke-MgHaveTeamworkDeletedTeamChannel

Invoke function doesUserHaveAccess

Invoke-MgMarkChatReadForUser

Mark a chat as read for a user.

Invoke-MgMarkChatUnreadForUser

Mark a chat as unread for a user.

Invoke-MgMessageChat

Invoke function allMessages

Invoke-MgMessageTeam

Invoke function allMessages

Invoke-MgMessageTeamChannel

Invoke function allMessages

Invoke-MgMessageTeamworkDeletedTeamChannel

Invoke function allMessages

Invoke-MgShareTeamSchedule

Share a schedule time range with schedule members.\nMake the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.\nEach shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item.

Invoke-MgSoftChatMessageDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgSoftChatMessageReplyDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgSoftTeamChannelMessageDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgSoftTeamChannelMessageReplyDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgSoftTeamPrimaryChannelMessageDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgSoftTeamPrimaryChannelMessageReplyDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgSoftTeamworkDeletedTeamChannelMessageDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgSoftTeamworkDeletedTeamChannelMessageReplyDelete

Delete a single message or a message reply in a channel or a chat.

Invoke-MgUnarchiveTeam

Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API.

New-MgAppCatalogTeamApp

Publish an app to the Microsoft Teams app catalog.\nSpecifically, this API publishes the app to your organization's catalog (the tenant app catalog);\nthe created resource will have a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center.

New-MgAppCatalogTeamAppDefinition

Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog).

New-MgChat

Create a new chat object.

New-MgChatInstalledApp

Install a teamsApp to the specified chat.

New-MgChatMember

Add a conversationMember to a chat.

New-MgChatMessage

Send a new chatMessage in the specified channel or a chat.

New-MgChatMessageHostedContent

Create new navigation property to hostedContents for chats

New-MgChatMessageReply

Send a new reply to a chatMessage in a specified channel.

New-MgChatMessageReplyHostedContent

Create new navigation property to hostedContents for chats

New-MgChatOperation

Create new navigation property to operations for chats

New-MgChatPermissionGrant

Create new navigation property to permissionGrants for chats

New-MgChatPinnedMessage

Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message.

New-MgChatTab

Add (pin) a tab to the specified chat. \nThe corresponding app must already be installed in the chat.

New-MgGroupTeamChannel

Create a new channel in a team, as specified in the request body.

New-MgGroupTeamChannelMember

Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.

New-MgGroupTeamChannelMessage

Send a new chatMessage in the specified channel or a chat.

New-MgGroupTeamChannelMessageHostedContent

Create new navigation property to hostedContents for groups

New-MgGroupTeamChannelMessageReply

Send a new reply to a chatMessage in a specified channel.

New-MgGroupTeamChannelMessageReplyHostedContent

Create new navigation property to hostedContents for groups

New-MgGroupTeamChannelSharedWithTeam

Create new navigation property to sharedWithTeams for groups

New-MgGroupTeamChannelTab

Create new navigation property to tabs for groups

New-MgGroupTeamInstalledApp

Install an app to the specified team.

New-MgGroupTeamMember

Add a new conversation member to a team.

New-MgGroupTeamOperation

Create new navigation property to operations for groups

New-MgGroupTeamPermissionGrant

Create new navigation property to permissionGrants for groups

New-MgGroupTeamPrimaryChannelMember

Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.

New-MgGroupTeamPrimaryChannelMessage

Send a new chatMessage in the specified channel or a chat.

New-MgGroupTeamPrimaryChannelMessageHostedContent

Create new navigation property to hostedContents for groups

New-MgGroupTeamPrimaryChannelMessageReply

Send a new reply to a chatMessage in a specified channel.

New-MgGroupTeamPrimaryChannelMessageReplyHostedContent

Create new navigation property to hostedContents for groups

New-MgGroupTeamPrimaryChannelSharedWithTeam

Create new navigation property to sharedWithTeams for groups

New-MgGroupTeamPrimaryChannelTab

Create new navigation property to tabs for groups

New-MgGroupTeamScheduleOfferShiftRequest

Create new navigation property to offerShiftRequests for groups

New-MgGroupTeamScheduleOpenShift

Create new navigation property to openShifts for groups

New-MgGroupTeamScheduleOpenShiftChangeRequest

Create instance of an openShiftChangeRequest object.

New-MgGroupTeamScheduleSchedulingGroup

Create a new schedulingGroup.

New-MgGroupTeamScheduleShift

Create a new shift instance in a schedule.

New-MgGroupTeamScheduleSwapShiftChangeRequest

Create an instance of a swapShiftsChangeRequest object.

New-MgGroupTeamScheduleTimeCard

Create new navigation property to timeCards for groups

New-MgGroupTeamScheduleTimeOff

Create a new timeOff instance in a schedule.

New-MgGroupTeamScheduleTimeOffReason

Create a new timeOffReason.

New-MgGroupTeamScheduleTimeOffRequest

Create new navigation property to timeOffRequests for groups

New-MgGroupTeamTag

Create a standard tag for members in the team.

New-MgGroupTeamTagMember

Create a new teamworkTagMember object in a team.

New-MgTeam

Create a new team.

New-MgTeamChannel

Create a new channel in a team, as specified in the request body.

New-MgTeamChannelEmail

Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.

New-MgTeamChannelMember

Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.

New-MgTeamChannelMessage

Send a new chatMessage in the specified channel or a chat.

New-MgTeamChannelMessageHostedContent

Create new navigation property to hostedContents for teams

New-MgTeamChannelMessageReply

Send a new reply to a chatMessage in a specified channel.

New-MgTeamChannelMessageReplyHostedContent

Create new navigation property to hostedContents for teams

New-MgTeamChannelSharedWithTeam

Create new navigation property to sharedWithTeams for teams

New-MgTeamChannelTab

Create new navigation property to tabs for teams

New-MgTeamInstalledApp

Install an app to the specified team.

New-MgTeamMember

Add a new conversation member to a team.

New-MgTeamOperation

Create new navigation property to operations for teams

New-MgTeamPermissionGrant

Create new navigation property to permissionGrants for teams

New-MgTeamPrimaryChannelEmail

Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.

New-MgTeamPrimaryChannelMember

Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.

New-MgTeamPrimaryChannelMessage

Send a new chatMessage in the specified channel or a chat.

New-MgTeamPrimaryChannelMessageHostedContent

Create new navigation property to hostedContents for teams

New-MgTeamPrimaryChannelMessageReply

Send a new reply to a chatMessage in a specified channel.

New-MgTeamPrimaryChannelMessageReplyHostedContent

Create new navigation property to hostedContents for teams

New-MgTeamPrimaryChannelSharedWithTeam

Create new navigation property to sharedWithTeams for teams

New-MgTeamPrimaryChannelTab

Create new navigation property to tabs for teams

New-MgTeamScheduleOfferShiftRequest

Create new navigation property to offerShiftRequests for teams

New-MgTeamScheduleOpenShift

Create new navigation property to openShifts for teams

New-MgTeamScheduleOpenShiftChangeRequest

Create instance of an openShiftChangeRequest object.

New-MgTeamScheduleSchedulingGroup

Create a new schedulingGroup.

New-MgTeamScheduleShift

Create a new shift instance in a schedule.

New-MgTeamScheduleSwapShiftChangeRequest

Create an instance of a swapShiftsChangeRequest object.

New-MgTeamScheduleTimeCard

Create new navigation property to timeCards for teams

New-MgTeamScheduleTimeOff

Create a new timeOff instance in a schedule.

New-MgTeamScheduleTimeOffReason

Create a new timeOffReason.

New-MgTeamScheduleTimeOffRequest

Create new navigation property to timeOffRequests for teams

New-MgTeamTag

Create a standard tag for members in the team.

New-MgTeamTagMember

Create a new teamworkTagMember object in a team.

New-MgTeamworkDeletedTeam

Create new navigation property to deletedTeams for teamwork

New-MgTeamworkDeletedTeamChannel

Create new navigation property to channels for teamwork

New-MgTeamworkDeletedTeamChannelEmail

Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.

New-MgTeamworkDeletedTeamChannelMember

Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.

New-MgTeamworkDeletedTeamChannelMessage

Send a new chatMessage in the specified channel or a chat.

New-MgTeamworkDeletedTeamChannelMessageHostedContent

Create new navigation property to hostedContents for teamwork

New-MgTeamworkDeletedTeamChannelMessageReply

Send a new reply to a chatMessage in a specified channel.

New-MgTeamworkDeletedTeamChannelMessageReplyHostedContent

Create new navigation property to hostedContents for teamwork

New-MgTeamworkDeletedTeamChannelSharedWithTeam

Create new navigation property to sharedWithTeams for teamwork

New-MgTeamworkDeletedTeamChannelTab

Create new navigation property to tabs for teamwork

New-MgTeamworkDevice

Create new navigation property to devices for teamwork

New-MgTeamworkDeviceOperation

Create new navigation property to operations for teamwork

New-MgTeamworkTeamTemplate

Create new navigation property to teamTemplates for teamwork

New-MgTeamworkTeamTemplateDefinition

Create new navigation property to definitions for teamwork

New-MgTeamworkWorkforceIntegration

Create a new workforceIntegration object.

New-MgUserChat

Create new navigation property to chats for users

New-MgUserChatInstalledApp

Install a teamsApp to the specified chat.

New-MgUserChatMember

Add a conversationMember to a chat.

New-MgUserChatMessage

Send a new chatMessage in the specified channel or a chat.

New-MgUserChatMessageHostedContent

Create new navigation property to hostedContents for users

New-MgUserChatMessageReply

Send a new reply to a chatMessage in a specified channel.

New-MgUserChatMessageReplyHostedContent

Create new navigation property to hostedContents for users

New-MgUserChatOperation

Create new navigation property to operations for users

New-MgUserChatPermissionGrant

Create new navigation property to permissionGrants for users

New-MgUserChatPinnedMessage

Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message.

New-MgUserChatTab

Add (pin) a tab to the specified chat. \nThe corresponding app must already be installed in the chat.

New-MgUserTeamworkAssociatedTeam

Create new navigation property to associatedTeams for users

New-MgUserTeamworkInstalledApp

Install an app in the personal scope of the specified user.

Remove-MgAppCatalogTeamApp

Delete navigation property teamsApps for appCatalogs

Remove-MgAppCatalogTeamAppDefinition

Delete navigation property appDefinitions for appCatalogs

Remove-MgAppCatalogTeamAppDefinitionBot

Delete navigation property bot for appCatalogs

Remove-MgAppCatalogTeamAppDefinitionColorIcon

Delete navigation property colorIcon for appCatalogs

Remove-MgAppCatalogTeamAppDefinitionColorIconHostedContent

Delete navigation property hostedContent for appCatalogs

Remove-MgAppCatalogTeamAppDefinitionOutlineIcon

Delete navigation property outlineIcon for appCatalogs

Remove-MgAppCatalogTeamAppDefinitionOutlineIconHostedContent

Delete navigation property hostedContent for appCatalogs

Remove-MgChat

Delete entity from chats

Remove-MgChatInstalledApp

Delete navigation property installedApps for chats

Remove-MgChatLastMessagePreview

Delete navigation property lastMessagePreview for chats

Remove-MgChatMember

Delete navigation property members for chats

Remove-MgChatMessageReplyHostedContent

Delete navigation property hostedContents for chats

Remove-MgChatOperation

Delete navigation property operations for chats

Remove-MgChatPermissionGrant

Delete navigation property permissionGrants for chats

Remove-MgChatPinnedMessage

Delete navigation property pinnedMessages for chats

Remove-MgChatTab

Delete navigation property tabs for chats

Remove-MgGroupTeam

Delete navigation property team for groups

Remove-MgGroupTeamChannel

Delete navigation property channels for groups

Remove-MgGroupTeamChannelMember

Delete navigation property members for groups

Remove-MgGroupTeamChannelMessage

Delete navigation property messages for groups

Remove-MgGroupTeamChannelMessageHostedContent

Delete navigation property hostedContents for groups

Remove-MgGroupTeamChannelMessageReply

Delete navigation property replies for groups

Remove-MgGroupTeamChannelMessageReplyHostedContent

Delete navigation property hostedContents for groups

Remove-MgGroupTeamChannelSharedWithTeam

Delete navigation property sharedWithTeams for groups

Remove-MgGroupTeamChannelTab

Delete navigation property tabs for groups

Remove-MgGroupTeamInstalledApp

Delete navigation property installedApps for groups

Remove-MgGroupTeamMember

Delete navigation property members for groups

Remove-MgGroupTeamOperation

Delete navigation property operations for groups

Remove-MgGroupTeamPermissionGrant

Delete navigation property permissionGrants for groups

Remove-MgGroupTeamPhoto

Delete navigation property photo for groups

Remove-MgGroupTeamPrimaryChannel

Delete navigation property primaryChannel for groups

Remove-MgGroupTeamPrimaryChannelMember

Delete navigation property members for groups

Remove-MgGroupTeamPrimaryChannelMessage

Delete navigation property messages for groups

Remove-MgGroupTeamPrimaryChannelMessageHostedContent

Delete navigation property hostedContents for groups

Remove-MgGroupTeamPrimaryChannelMessageReply

Delete navigation property replies for groups

Remove-MgGroupTeamPrimaryChannelMessageReplyHostedContent

Delete navigation property hostedContents for groups

Remove-MgGroupTeamPrimaryChannelSharedWithTeam

Delete navigation property sharedWithTeams for groups

Remove-MgGroupTeamPrimaryChannelTab

Delete navigation property tabs for groups

Remove-MgGroupTeamSchedule

Delete navigation property schedule for groups

Remove-MgGroupTeamScheduleOfferShiftRequest

Delete navigation property offerShiftRequests for groups

Remove-MgGroupTeamScheduleOpenShift

Delete navigation property openShifts for groups

Remove-MgGroupTeamScheduleOpenShiftChangeRequest

Delete navigation property openShiftChangeRequests for groups

Remove-MgGroupTeamScheduleSchedulingGroup

Delete navigation property schedulingGroups for groups

Remove-MgGroupTeamScheduleShift

Delete navigation property shifts for groups

Remove-MgGroupTeamScheduleSwapShiftChangeRequest

Delete navigation property swapShiftsChangeRequests for groups

Remove-MgGroupTeamScheduleTimeCard

Delete navigation property timeCards for groups

Remove-MgGroupTeamScheduleTimeOff

Delete navigation property timesOff for groups

Remove-MgGroupTeamScheduleTimeOffReason

Delete navigation property timeOffReasons for groups

Remove-MgGroupTeamScheduleTimeOffRequest

Delete navigation property timeOffRequests for groups

Remove-MgGroupTeamTag

Delete navigation property tags for groups

Remove-MgGroupTeamTagMember

Delete navigation property members for groups

Remove-MgTeam

Delete entity from teams

Remove-MgTeamChannel

Delete navigation property channels for teams

Remove-MgTeamChannelEmail

Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client.

Remove-MgTeamChannelMember

Delete navigation property members for teams

Remove-MgTeamChannelMessageReplyHostedContent

Delete navigation property hostedContents for teams

Remove-MgTeamChannelSharedWithTeam

Delete navigation property sharedWithTeams for teams

Remove-MgTeamChannelTab

Delete navigation property tabs for teams

Remove-MgTeamInstalledApp

Delete navigation property installedApps for teams

Remove-MgTeamMember

Delete navigation property members for teams

Remove-MgTeamOperation

Delete navigation property operations for teams

Remove-MgTeamPermissionGrant

Delete navigation property permissionGrants for teams

Remove-MgTeamPhoto

Delete navigation property photo for teams

Remove-MgTeamPrimaryChannel

Delete navigation property primaryChannel for teams

Remove-MgTeamPrimaryChannelEmail

Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client.

Remove-MgTeamPrimaryChannelMember

Delete navigation property members for teams

Remove-MgTeamPrimaryChannelMessageReplyHostedContent

Delete navigation property hostedContents for teams

Remove-MgTeamPrimaryChannelSharedWithTeam

Delete navigation property sharedWithTeams for teams

Remove-MgTeamPrimaryChannelTab

Delete navigation property tabs for teams

Remove-MgTeamSchedule

Delete navigation property schedule for teams

Remove-MgTeamScheduleOfferShiftRequest

Delete navigation property offerShiftRequests for teams

Remove-MgTeamScheduleOpenShift

Delete navigation property openShifts for teams

Remove-MgTeamScheduleOpenShiftChangeRequest

Delete navigation property openShiftChangeRequests for teams

Remove-MgTeamScheduleSchedulingGroup

Delete navigation property schedulingGroups for teams

Remove-MgTeamScheduleShift

Delete navigation property shifts for teams

Remove-MgTeamScheduleSwapShiftChangeRequest

Delete navigation property swapShiftsChangeRequests for teams

Remove-MgTeamScheduleTimeCard

Delete navigation property timeCards for teams

Remove-MgTeamScheduleTimeOff

Delete navigation property timesOff for teams

Remove-MgTeamScheduleTimeOffReason

Delete navigation property timeOffReasons for teams

Remove-MgTeamScheduleTimeOffRequest

Delete navigation property timeOffRequests for teams

Remove-MgTeamTag

Delete navigation property tags for teams

Remove-MgTeamTagMember

Delete navigation property members for teams

Remove-MgTeamworkDeletedTeam

Delete navigation property deletedTeams for teamwork

Remove-MgTeamworkDeletedTeamChannel

Delete navigation property channels for teamwork

Remove-MgTeamworkDeletedTeamChannelEmail

Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client.

Remove-MgTeamworkDeletedTeamChannelMember

Delete navigation property members for teamwork

Remove-MgTeamworkDeletedTeamChannelMessage

Delete navigation property messages for teamwork

Remove-MgTeamworkDeletedTeamChannelMessageHostedContent

Delete navigation property hostedContents for teamwork

Remove-MgTeamworkDeletedTeamChannelMessageReply

Delete navigation property replies for teamwork

Remove-MgTeamworkDeletedTeamChannelMessageReplyHostedContent

Delete navigation property hostedContents for teamwork

Remove-MgTeamworkDeletedTeamChannelSharedWithTeam

Delete navigation property sharedWithTeams for teamwork

Remove-MgTeamworkDeletedTeamChannelTab

Delete navigation property tabs for teamwork

Remove-MgTeamworkDevice

Delete navigation property devices for teamwork

Remove-MgTeamworkDeviceActivity

Delete navigation property activity for teamwork

Remove-MgTeamworkDeviceConfiguration

Delete navigation property configuration for teamwork

Remove-MgTeamworkDeviceHealth

Delete navigation property health for teamwork

Remove-MgTeamworkDeviceOperation

Delete navigation property operations for teamwork

Remove-MgTeamworkTeamAppSetting

Delete navigation property teamsAppSettings for teamwork

Remove-MgTeamworkTeamTemplate

Delete navigation property teamTemplates for teamwork

Remove-MgTeamworkTeamTemplateDefinition

Delete navigation property definitions for teamwork

Remove-MgTeamworkTeamTemplateDefinitionTeamDefinition

Delete navigation property teamDefinition for teamwork

Remove-MgTeamworkWorkforceIntegration

Delete navigation property workforceIntegrations for teamwork

Remove-MgUserChat

Delete navigation property chats for users

Remove-MgUserChatInstalledApp

Delete navigation property installedApps for users

Remove-MgUserChatLastMessagePreview

Delete navigation property lastMessagePreview for users

Remove-MgUserChatMember

Delete navigation property members for users

Remove-MgUserChatMessage

Delete navigation property messages for users

Remove-MgUserChatMessageHostedContent

Delete navigation property hostedContents for users

Remove-MgUserChatMessageReply

Delete navigation property replies for users

Remove-MgUserChatMessageReplyHostedContent

Delete navigation property hostedContents for users

Remove-MgUserChatOperation

Delete navigation property operations for users

Remove-MgUserChatPermissionGrant

Delete navigation property permissionGrants for users

Remove-MgUserChatPinnedMessage

Delete navigation property pinnedMessages for users

Remove-MgUserChatTab

Delete navigation property tabs for users

Remove-MgUserTeamwork

Delete navigation property teamwork for users

Remove-MgUserTeamworkAssociatedTeam

Delete navigation property associatedTeams for users

Remove-MgUserTeamworkInstalledApp

Delete navigation property installedApps for users

Restart-MgTeamworkDevice

Restart the specified Microsoft Teams-enabled device asynchronously. A device is restarted after the async operation completes successfully, which might occur subsequent to a response from this API.

Send-MgChatActivityNotification

Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications.

Send-MgTeamActivityNotification

Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, see\nsending Teams activity notifications.

Send-MgTeamworkActivityNotificationToRecipient

Send activity feed notifications to multiple users, in bulk. For more details about sending notifications and the requirements for doing so, see\nsending Teams activity notifications.

Set-MgAppCatalogTeamAppDefinitionColorIconHostedContent

Update media content for the navigation property hostedContent in appCatalogs

Set-MgAppCatalogTeamAppDefinitionOutlineIconHostedContent

Update media content for the navigation property hostedContent in appCatalogs

Set-MgChatMessageReaction

Invoke action setReaction

Set-MgChatMessageReplyReaction

Invoke action setReaction

Set-MgGroupTeamChannelFileFolderContent

The content stream, if the item represents a file.

Set-MgGroupTeamPhotoContent

Update media content for the navigation property photo in groups

Set-MgGroupTeamPrimaryChannelFileFolderContent

The content stream, if the item represents a file.

Set-MgGroupTeamSchedule

Update the navigation property schedule in groups

Set-MgTeamChannelFileFolderContent

The content stream, if the item represents a file.

Set-MgTeamChannelMessageReaction

Invoke action setReaction

Set-MgTeamChannelMessageReplyReaction

Invoke action setReaction

Set-MgTeamPhotoContent

Update media content for the navigation property photo in teams

Set-MgTeamPrimaryChannelFileFolderContent

The content stream, if the item represents a file.

Set-MgTeamPrimaryChannelMessageReaction

Invoke action setReaction

Set-MgTeamPrimaryChannelMessageReplyReaction

Invoke action setReaction

Set-MgTeamSchedule

Update the navigation property schedule in teams

Set-MgTeamworkDeletedTeamChannelFileFolderContent

The content stream, if the item represents a file.

Set-MgTeamworkDeletedTeamChannelMessageReaction

Invoke action setReaction

Set-MgTeamworkDeletedTeamChannelMessageReplyReaction

Invoke action setReaction

Start-MgTeamScheduleTimeCardBreak

Start a break in a specific timeCard.

Start-MgTeamworkDeviceDiagnostic

Run and generate diagnostic logs for the specified Microsoft Teams-enabled device. This API triggers a long-running operation used to generate logs for a device.

Stop-MgTeamScheduleTimeCardBreak

End the open break in a specific timeCard.

Test-MgChatPermissionGrantProperty

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. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: \n1. Validate the prefix and suffix naming policy\n2. Validate the custom banned words policy\n3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with 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.

Test-MgTeamPermissionGrantProperty

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. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: \n1. Validate the prefix and suffix naming policy\n2. Validate the custom banned words policy\n3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with 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.

Undo-MgChatMessageReplySoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Undo-MgChatMessageSoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Undo-MgTeamChannelMessageReplySoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Undo-MgTeamChannelMessageSoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Undo-MgTeamPrimaryChannelMessageReplySoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Undo-MgTeamPrimaryChannelMessageSoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Undo-MgTeamworkDeletedTeamChannelMessageReplySoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Undo-MgTeamworkDeletedTeamChannelMessageSoftDelete

Undo soft deletion of a single message or a message reply in a channel or a chat.

Update-MgAppCatalogTeamApp

Update the navigation property teamsApps in appCatalogs

Update-MgAppCatalogTeamAppDefinition

Update the navigation property appDefinitions in appCatalogs

Update-MgAppCatalogTeamAppDefinitionBot

Update the navigation property bot in appCatalogs

Update-MgAppCatalogTeamAppDefinitionColorIcon

Update the navigation property colorIcon in appCatalogs

Update-MgAppCatalogTeamAppDefinitionColorIconHostedContent

Update the navigation property hostedContent in appCatalogs

Update-MgAppCatalogTeamAppDefinitionOutlineIcon

Update the navigation property outlineIcon in appCatalogs

Update-MgAppCatalogTeamAppDefinitionOutlineIconHostedContent

Update the navigation property hostedContent in appCatalogs

Update-MgChat

Update the properties of a chat object.

Update-MgChatInstalledApp

Upgrade an app installation within a chat.

Update-MgChatLastMessagePreview

Update the navigation property lastMessagePreview in chats

Update-MgChatMember

Update the navigation property members in chats

Update-MgChatMessage

Update the navigation property messages in chats

Update-MgChatMessageReply

Update the navigation property replies in chats

Update-MgChatMessageReplyHostedContent

Update the navigation property hostedContents in chats

Update-MgChatOperation

Update the navigation property operations in chats

Update-MgChatPermissionGrant

Update the navigation property permissionGrants in chats

Update-MgChatPinnedMessage

Update the navigation property pinnedMessages in chats

Update-MgChatTab

Update the navigation property tabs in chats

Update-MgGroupTeam

Create a new team from a group. In order to create a team, the group must have a least one owner. If the group was created less than 15 minutes ago, it's possible for the Create team call to fail with a 404 error code due to replication delays.\nThe recommended pattern is to retry the Create team call three times, with a 10 second delay between calls.

Update-MgGroupTeamChannel

Update the navigation property channels in groups

Update-MgGroupTeamChannelMember

Update the navigation property members in groups

Update-MgGroupTeamChannelMessage

Update the navigation property messages in groups

Update-MgGroupTeamChannelMessageHostedContent

Update the navigation property hostedContents in groups

Update-MgGroupTeamChannelMessageReply

Update the navigation property replies in groups

Update-MgGroupTeamChannelMessageReplyHostedContent

Update the navigation property hostedContents in groups

Update-MgGroupTeamChannelSharedWithTeam

Update the navigation property sharedWithTeams in groups

Update-MgGroupTeamChannelTab

Update the navigation property tabs in groups

Update-MgGroupTeamMember

Update the navigation property members in groups

Update-MgGroupTeamOperation

Update the navigation property operations in groups

Update-MgGroupTeamPermissionGrant

Update the navigation property permissionGrants in groups

Update-MgGroupTeamPhoto

Update the navigation property photo in groups

Update-MgGroupTeamPrimaryChannel

Update the navigation property primaryChannel in groups

Update-MgGroupTeamPrimaryChannelMember

Update the navigation property members in groups

Update-MgGroupTeamPrimaryChannelMessage

Update the navigation property messages in groups

Update-MgGroupTeamPrimaryChannelMessageHostedContent

Update the navigation property hostedContents in groups

Update-MgGroupTeamPrimaryChannelMessageReply

Update the navigation property replies in groups

Update-MgGroupTeamPrimaryChannelMessageReplyHostedContent

Update the navigation property hostedContents in groups

Update-MgGroupTeamPrimaryChannelSharedWithTeam

Update the navigation property sharedWithTeams in groups

Update-MgGroupTeamPrimaryChannelTab

Update the navigation property tabs in groups

Update-MgGroupTeamScheduleOfferShiftRequest

Update the navigation property offerShiftRequests in groups

Update-MgGroupTeamScheduleOpenShift

Update the navigation property openShifts in groups

Update-MgGroupTeamScheduleOpenShiftChangeRequest

Update the navigation property openShiftChangeRequests in groups

Update-MgGroupTeamScheduleSchedulingGroup

Update the navigation property schedulingGroups in groups

Update-MgGroupTeamScheduleShift

Update the navigation property shifts in groups

Update-MgGroupTeamScheduleSwapShiftChangeRequest

Update the navigation property swapShiftsChangeRequests in groups

Update-MgGroupTeamScheduleTimeCard

Update the navigation property timeCards in groups

Update-MgGroupTeamScheduleTimeOff

Update the navigation property timesOff in groups

Update-MgGroupTeamScheduleTimeOffReason

Update the navigation property timeOffReasons in groups

Update-MgGroupTeamScheduleTimeOffRequest

Update the navigation property timeOffRequests in groups

Update-MgGroupTeamTag

Update the navigation property tags in groups

Update-MgGroupTeamTagMember

Update the navigation property members in groups

Update-MgTeam

Update the properties of the specified team.

Update-MgTeamChannel

Update the navigation property channels in teams

Update-MgTeamChannelMember

Update the navigation property members in teams

Update-MgTeamChannelMessage

Update the navigation property messages in teams

Update-MgTeamChannelMessageReply

Update the navigation property replies in teams

Update-MgTeamChannelMessageReplyHostedContent

Update the navigation property hostedContents in teams

Update-MgTeamChannelSharedWithTeam

Update the navigation property sharedWithTeams in teams

Update-MgTeamChannelTab

Update the navigation property tabs in teams

Update-MgTeamInstalledApp

Upgrade an app installation within a chat.

Update-MgTeamMember

Update the navigation property members in teams

Update-MgTeamOperation

Update the navigation property operations in teams

Update-MgTeamPermissionGrant

Update the navigation property permissionGrants in teams

Update-MgTeamPhoto

Update the navigation property photo in teams

Update-MgTeamPrimaryChannel

Update the navigation property primaryChannel in teams

Update-MgTeamPrimaryChannelMember

Update the navigation property members in teams

Update-MgTeamPrimaryChannelMessage

Update the navigation property messages in teams

Update-MgTeamPrimaryChannelMessageReply

Update the navigation property replies in teams

Update-MgTeamPrimaryChannelMessageReplyHostedContent

Update the navigation property hostedContents in teams

Update-MgTeamPrimaryChannelSharedWithTeam

Update the navigation property sharedWithTeams in teams

Update-MgTeamPrimaryChannelTab

Update the navigation property tabs in teams

Update-MgTeamScheduleOfferShiftRequest

Update the navigation property offerShiftRequests in teams

Update-MgTeamScheduleOpenShift

Update the navigation property openShifts in teams

Update-MgTeamScheduleOpenShiftChangeRequest

Update the navigation property openShiftChangeRequests in teams

Update-MgTeamScheduleSchedulingGroup

Update the navigation property schedulingGroups in teams

Update-MgTeamScheduleShift

Update the navigation property shifts in teams

Update-MgTeamScheduleSwapShiftChangeRequest

Update the navigation property swapShiftsChangeRequests in teams

Update-MgTeamScheduleTimeCard

Update the navigation property timeCards in teams

Update-MgTeamScheduleTimeOff

Update the navigation property timesOff in teams

Update-MgTeamScheduleTimeOffReason

Update the navigation property timeOffReasons in teams

Update-MgTeamScheduleTimeOffRequest

Update the navigation property timeOffRequests in teams

Update-MgTeamTag

Update the navigation property tags in teams

Update-MgTeamTagMember

Update the navigation property members in teams

Update-MgTeamwork

Update teamwork

Update-MgTeamworkDeletedTeam

Update the navigation property deletedTeams in teamwork

Update-MgTeamworkDeletedTeamChannel

Update the navigation property channels in teamwork

Update-MgTeamworkDeletedTeamChannelMember

Update the navigation property members in teamwork

Update-MgTeamworkDeletedTeamChannelMessage

Update the navigation property messages in teamwork

Update-MgTeamworkDeletedTeamChannelMessageHostedContent

Update the navigation property hostedContents in teamwork

Update-MgTeamworkDeletedTeamChannelMessageReply

Update the navigation property replies in teamwork

Update-MgTeamworkDeletedTeamChannelMessageReplyHostedContent

Update the navigation property hostedContents in teamwork

Update-MgTeamworkDeletedTeamChannelSharedWithTeam

Update the navigation property sharedWithTeams in teamwork

Update-MgTeamworkDeletedTeamChannelTab

Update the navigation property tabs in teamwork

Update-MgTeamworkDevice

Update the navigation property devices in teamwork

Update-MgTeamworkDeviceActivity

Update the navigation property activity in teamwork

Update-MgTeamworkDeviceConfiguration

Update the navigation property configuration in teamwork

Update-MgTeamworkDeviceHealth

Update the navigation property health in teamwork

Update-MgTeamworkDeviceOperation

Update the navigation property operations in teamwork

Update-MgTeamworkDeviceSoftware

Update the software for a Microsoft Teams-enabled device. This API triggers a long-running operation.

Update-MgTeamworkTeamAppSetting

Update the properties of a teamsAppSettings object.

Update-MgTeamworkTeamTemplate

Update the navigation property teamTemplates in teamwork

Update-MgTeamworkTeamTemplateDefinition

Update the navigation property definitions in teamwork

Update-MgTeamworkTeamTemplateDefinitionTeamDefinition

Update the navigation property teamDefinition in teamwork

Update-MgTeamworkWorkforceIntegration

Update the navigation property workforceIntegrations in teamwork

Update-MgUserChat

Update the navigation property chats in users

Update-MgUserChatLastMessagePreview

Update the navigation property lastMessagePreview in users

Update-MgUserChatMember

Update the navigation property members in users

Update-MgUserChatMessage

Update the navigation property messages in users

Update-MgUserChatMessageHostedContent

Update the navigation property hostedContents in users

Update-MgUserChatMessageReply

Update the navigation property replies in users

Update-MgUserChatMessageReplyHostedContent

Update the navigation property hostedContents in users

Update-MgUserChatOperation

Update the navigation property operations in users

Update-MgUserChatPermissionGrant

Update the navigation property permissionGrants in users

Update-MgUserChatPinnedMessage

Update the navigation property pinnedMessages in users

Update-MgUserChatTab

Update the navigation property tabs in users

Update-MgUserTeamwork

Update the navigation property teamwork in users

Update-MgUserTeamworkAssociatedTeam

Update the navigation property associatedTeams in users