Microsoft.Graph.Teams

Microsoft Graph PowerShell Cmdlets

Microsoft.Graph.Teams

Add-MgChatMember

Invoke action add

Add-MgTeamChannelMember

Invoke action add

Add-MgTeamMember

Invoke action add

Add-MgTeamPrimaryChannelMember

Invoke action add

Complete-MgTeamChannelMigration

Invoke action completeMigration

Complete-MgTeamMigration

Invoke action completeMigration

Complete-MgTeamPrimaryChannelMigration

Invoke action completeMigration

Confirm-MgTeamScheduleTimeCard

Invoke action confirm

Copy-MgTeam

Invoke action clone

Get-MgAppCatalogTeamApp

Get teamsApps from appCatalogs

Get-MgAppCatalogTeamAppDefinition

The details for each version of the app.

Get-MgAppCatalogTeamAppDefinitionBot

The details of the bot specified in the Teams app manifest.

Get-MgAppCatalogTeamAppDefinitionColorIcon

The color version of the Teams app's icon.

Get-MgAppCatalogTeamAppDefinitionColorIconHostedContent

The contents of the app icon if the icon is hosted within the Teams infrastructure.

Get-MgAppCatalogTeamAppDefinitionOutlineIcon

The outline version of the Teams app's icon.

Get-MgAppCatalogTeamAppDefinitionOutlineIconHostedContent

The contents of the app icon if the icon is hosted within the Teams infrastructure.

Get-MgChat

Get entity from chats by key

Get-MgChatInstalledApp

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

Get-MgChatInstalledAppTeamApp

The app that is installed.

Get-MgChatInstalledAppTeamAppByRef

The app that is installed.

Get-MgChatInstalledAppTeamAppDefinition

The details of this version of the app.

Get-MgChatInstalledAppTeamAppDefinitionByRef

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

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

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.

Get-MgChatMessageReplyDelta

Invoke function delta

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

Get tabs from chats

Get-MgChatTabTeamApp

The application that is linked to the tab.

Get-MgChatTabTeamAppByRef

The application that is linked to the tab.

Get-MgGroupTeam

Get team from groups

Get-MgTeam

Get entity from teams by key

Get-MgTeamChannel

The collection of channels & messages associated with the team.

Get-MgTeamChannelFileFolder

Metadata for the location where the channel's files are stored.

Get-MgTeamChannelFileFolderContent

Get media content for the navigation property filesFolder from teams

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.

Get-MgTeamChannelMessageReplyDelta

Invoke function delta

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

The application that is linked to the tab.

Get-MgTeamGroupByRef

Get ref of group from teams

Get-MgTeamInstalledApp

The apps installed in this team.

Get-MgTeamInstalledAppTeamApp

The app that is installed.

Get-MgTeamInstalledAppTeamAppByRef

The app that is installed.

Get-MgTeamInstalledAppTeamAppDefinition

The details of this version of the app.

Get-MgTeamInstalledAppTeamAppDefinitionByRef

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

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

The team photo.

Get-MgTeamPhotoContent

The team photo.

Get-MgTeamPrimaryChannel

The general channel for the team.

Get-MgTeamPrimaryChannelFileFolder

Metadata for the location where the channel's files are stored.

Get-MgTeamPrimaryChannelFileFolderContent

Get media content for the navigation property filesFolder from teams

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.

Get-MgTeamPrimaryChannelMessageReplyDelta

Invoke function delta

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

The application that is linked to the tab.

Get-MgTeamSchedule

The schedule of shifts for this team.

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

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

Get-MgTeamwork

Get teamwork

Get-MgTeamworkWorkforceIntegration

Get workforceIntegrations from teamwork

Get-MgUserChat

Get chats from users

Get-MgUserJoinedTeam

The Microsoft Teams teams that the user is a member of. Read-only. Nullable.

Get-MgUserJoinedTeamByRef

The Microsoft Teams teams that the user is a member of. Read-only. Nullable.

Get-MgUserTeamwork

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

Get-MgUserTeamworkInstalledApp

The apps installed in the personal scope of this user.

Get-MgUserTeamworkInstalledAppChat

The chat between the user and Teams app.

Get-MgUserTeamworkInstalledAppChatByRef

The chat between the user and Teams app.

Invoke-MgArchiveTeam

Invoke action archive

Invoke-MgClockTeamScheduleTimeCardIn

Invoke action clockIn

Invoke-MgClockTeamScheduleTimeCardOut

Invoke action clockOut

Invoke-MgMessageChat

Invoke function allMessages

Invoke-MgMessageTeam

Invoke function allMessages

Invoke-MgMessageTeamChannel

Invoke function allMessages

Invoke-MgShareTeamSchedule

Invoke action share

Invoke-MgUnarchiveTeam

Invoke action unarchive

New-MgAppCatalogTeamApp

Create new navigation property to teamsApps for appCatalogs

New-MgAppCatalogTeamAppDefinition

The details for each version of the app.

New-MgChat

Add new entity to chats

New-MgChatInstalledApp

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

New-MgChatMember

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

New-MgChatMessage

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

New-MgChatMessageHostedContent

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

New-MgChatMessageReply

Replies for a specified message.

New-MgChatOperation

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

New-MgChatPermissionGrant

A collection of permissions granted to apps for the chat.

New-MgChatTab

Create new navigation property to tabs for chats

New-MgTeam

Add new entity to teams

New-MgTeamChannel

The collection of channels & messages associated with the team.

New-MgTeamChannelEmail

Invoke action provisionEmail

New-MgTeamChannelMember

A collection of membership records associated with the channel.

New-MgTeamChannelMessage

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

New-MgTeamChannelMessageHostedContent

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

New-MgTeamChannelMessageReply

Replies for a specified message.

New-MgTeamChannelTab

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

New-MgTeamInstalledApp

The apps installed in this team.

New-MgTeamMember

Members and owners of the team.

New-MgTeamOperation

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

New-MgTeamOwnerByRef

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.

New-MgTeamPermissionGrant

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

New-MgTeamPrimaryChannelEmail

Invoke action provisionEmail

New-MgTeamPrimaryChannelMember

A collection of membership records associated with the channel.

New-MgTeamPrimaryChannelMessage

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

New-MgTeamPrimaryChannelMessageHostedContent

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

New-MgTeamPrimaryChannelMessageReply

Replies for a specified message.

New-MgTeamPrimaryChannelTab

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

New-MgTeamScheduleOfferShiftRequest

Create new navigation property to offerShiftRequests for teams

New-MgTeamScheduleOpenShift

Create new navigation property to openShifts for teams

New-MgTeamScheduleOpenShiftChangeRequest

Create new navigation property to openShiftChangeRequests for teams

New-MgTeamScheduleSchedulingGroup

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

New-MgTeamScheduleShift

The shifts in the schedule.

New-MgTeamScheduleSwapShiftChangeRequest

Create new navigation property to swapShiftsChangeRequests for teams

New-MgTeamScheduleTimeCard

Create new navigation property to timeCards for teams

New-MgTeamScheduleTimeOff

The instances of times off in the schedule.

New-MgTeamScheduleTimeOffReason

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

New-MgTeamScheduleTimeOffRequest

Create new navigation property to timeOffRequests for teams

New-MgTeamTag

The tags associated with the team.

New-MgTeamTagMember

Users assigned to the tag.

New-MgTeamworkWorkforceIntegration

Create new navigation property to workforceIntegrations for teamwork

New-MgUserChat

Create new navigation property to chats for users

New-MgUserJoinedTeamByRef

The Microsoft Teams teams that the user is a member of. Read-only. Nullable.

New-MgUserTeamworkInstalledApp

The apps installed in the personal scope of this user.

Remove-MgAppCatalogTeamApp

Delete navigation property teamsApps for appCatalogs

Remove-MgAppCatalogTeamAppDefinition

The details for each version of the app.

Remove-MgAppCatalogTeamAppDefinitionBot

The details of the bot specified in the Teams app manifest.

Remove-MgAppCatalogTeamAppDefinitionColorIcon

The color version of the Teams app's icon.

Remove-MgAppCatalogTeamAppDefinitionColorIconHostedContent

The contents of the app icon if the icon is hosted within the Teams infrastructure.

Remove-MgAppCatalogTeamAppDefinitionOutlineIcon

The outline version of the Teams app's icon.

Remove-MgAppCatalogTeamAppDefinitionOutlineIconHostedContent

The contents of the app icon if the icon is hosted within the Teams infrastructure.

Remove-MgChat

Delete entity from chats

Remove-MgChatInstalledApp

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

Remove-MgChatInstalledAppTeamAppByRef

The app that is installed.

Remove-MgChatInstalledAppTeamAppDefinitionByRef

The details of this version of the app.

Remove-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.

Remove-MgChatMember

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

Remove-MgChatMessage

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

Remove-MgChatMessageHostedContent

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

Remove-MgChatMessageReply

Replies for a specified message.

Remove-MgChatOperation

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

Remove-MgChatPermissionGrant

A collection of permissions granted to apps for the chat.

Remove-MgChatTab

Delete navigation property tabs for chats

Remove-MgChatTabTeamAppByRef

The application that is linked to the tab.

Remove-MgGroupTeam

Delete navigation property team for groups

Remove-MgTeam

Delete entity from teams

Remove-MgTeamChannel

The collection of channels & messages associated with the team.

Remove-MgTeamChannelEmail

Invoke action removeEmail

Remove-MgTeamChannelFileFolder

Metadata for the location where the channel's files are stored.

Remove-MgTeamChannelMember

A collection of membership records associated with the channel.

Remove-MgTeamChannelMessage

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

Remove-MgTeamChannelMessageHostedContent

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

Remove-MgTeamChannelMessageReply

Replies for a specified message.

Remove-MgTeamChannelTab

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

Remove-MgTeamChannelTabTeamAppByRef

The application that is linked to the tab.

Remove-MgTeamGroupByRef

Delete ref of navigation property group for teams

Remove-MgTeamInstalledApp

The apps installed in this team.

Remove-MgTeamInstalledAppTeamAppByRef

The app that is installed.

Remove-MgTeamInstalledAppTeamAppDefinitionByRef

The details of this version of the app.

Remove-MgTeamMember

Members and owners of the team.

Remove-MgTeamOperation

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

Remove-MgTeamPermissionGrant

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

Remove-MgTeamPhoto

The team photo.

Remove-MgTeamPrimaryChannel

The general channel for the team.

Remove-MgTeamPrimaryChannelEmail

Invoke action removeEmail

Remove-MgTeamPrimaryChannelFileFolder

Metadata for the location where the channel's files are stored.

Remove-MgTeamPrimaryChannelMember

A collection of membership records associated with the channel.

Remove-MgTeamPrimaryChannelMessage

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

Remove-MgTeamPrimaryChannelMessageHostedContent

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

Remove-MgTeamPrimaryChannelMessageReply

Replies for a specified message.

Remove-MgTeamPrimaryChannelTab

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

Remove-MgTeamPrimaryChannelTabTeamAppByRef

The application that is linked to the tab.

Remove-MgTeamSchedule

The schedule of shifts for this team.

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

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

Remove-MgTeamScheduleShift

The shifts in the schedule.

Remove-MgTeamScheduleSwapShiftChangeRequest

Delete navigation property swapShiftsChangeRequests for teams

Remove-MgTeamScheduleTimeCard

Delete navigation property timeCards for teams

Remove-MgTeamScheduleTimeOff

The instances of times off in the schedule.

Remove-MgTeamScheduleTimeOffReason

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

Remove-MgTeamScheduleTimeOffRequest

Delete navigation property timeOffRequests for teams

Remove-MgTeamTag

The tags associated with the team.

Remove-MgTeamTagMember

Users assigned to the tag.

Remove-MgTeamTemplateByRef

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

Remove-MgTeamworkWorkforceIntegration

Delete navigation property workforceIntegrations for teamwork

Remove-MgUserChat

Delete navigation property chats for users

Remove-MgUserTeamwork

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

Remove-MgUserTeamworkInstalledApp

The apps installed in the personal scope of this user.

Remove-MgUserTeamworkInstalledAppChatByRef

The chat between the user and Teams app.

Send-MgChatActivityNotification

Invoke action sendActivityNotification

Send-MgTeamActivityNotification

Invoke action sendActivityNotification

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

The app that is installed.

Set-MgChatInstalledAppTeamAppDefinitionByRef

The details of this version of the app.

Set-MgChatTabTeamAppByRef

The application that is linked to the tab.

Set-MgTeamChannelFileFolderContent

Update media content for the navigation property filesFolder in teams

Set-MgTeamChannelTabTeamAppByRef

The application that is linked to the tab.

Set-MgTeamGroupByRef

Update the ref of navigation property group in teams

Set-MgTeamInstalledAppTeamAppByRef

The app that is installed.

Set-MgTeamInstalledAppTeamAppDefinitionByRef

The details of this version of the app.

Set-MgTeamPhotoContent

The team photo.

Set-MgTeamPrimaryChannelFileFolderContent

Update media content for the navigation property filesFolder in teams

Set-MgTeamPrimaryChannelTabTeamAppByRef

The application that is linked to the tab.

Set-MgTeamTemplateByRef

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

Set-MgUserTeamworkInstalledAppChatByRef

The chat between the user and Teams app.

Start-MgTeamScheduleTimeCardBreak

Invoke action startBreak

Stop-MgTeamScheduleTimeCardBreak

Invoke action endBreak

Update-MgAppCatalogTeamApp

Update the navigation property teamsApps in appCatalogs

Update-MgAppCatalogTeamAppDefinition

The details for each version of the app.

Update-MgAppCatalogTeamAppDefinitionBot

The details of the bot specified in the Teams app manifest.

Update-MgAppCatalogTeamAppDefinitionColorIcon

The color version of the Teams app's icon.

Update-MgAppCatalogTeamAppDefinitionColorIconHostedContent

The contents of the app icon if the icon is hosted within the Teams infrastructure.

Update-MgAppCatalogTeamAppDefinitionOutlineIcon

The outline version of the Teams app's icon.

Update-MgAppCatalogTeamAppDefinitionOutlineIconHostedContent

The contents of the app icon if the icon is hosted within the Teams infrastructure.

Update-MgChat

Update entity in chats

Update-MgChatInstalledApp

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

Update-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.

Update-MgChatMember

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

Update-MgChatMessage

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

Update-MgChatMessageHostedContent

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

Update-MgChatMessageReply

Replies for a specified message.

Update-MgChatOperation

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

Update-MgChatPermissionGrant

A collection of permissions granted to apps for the chat.

Update-MgChatTab

Update the navigation property tabs in chats

Update-MgGroupTeam

Update the navigation property team in groups

Update-MgTeam

Update entity in teams

Update-MgTeamChannel

The collection of channels & messages associated with the team.

Update-MgTeamChannelFileFolder

Metadata for the location where the channel's files are stored.

Update-MgTeamChannelMember

A collection of membership records associated with the channel.

Update-MgTeamChannelMessage

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

Update-MgTeamChannelMessageHostedContent

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

Update-MgTeamChannelMessageReply

Replies for a specified message.

Update-MgTeamChannelTab

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

Update-MgTeamInstalledApp

The apps installed in this team.

Update-MgTeamMember

Members and owners of the team.

Update-MgTeamOperation

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

Update-MgTeamPermissionGrant

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

Update-MgTeamPhoto

The team photo.

Update-MgTeamPrimaryChannel

The general channel for the team.

Update-MgTeamPrimaryChannelFileFolder

Metadata for the location where the channel's files are stored.

Update-MgTeamPrimaryChannelMember

A collection of membership records associated with the channel.

Update-MgTeamPrimaryChannelMessage

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

Update-MgTeamPrimaryChannelMessageHostedContent

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

Update-MgTeamPrimaryChannelMessageReply

Replies for a specified message.

Update-MgTeamPrimaryChannelTab

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

Update-MgTeamSchedule

The schedule of shifts for this team.

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

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

Update-MgTeamScheduleShift

The shifts in the schedule.

Update-MgTeamScheduleSwapShiftChangeRequest

Update the navigation property swapShiftsChangeRequests in teams

Update-MgTeamScheduleTimeCard

Update the navigation property timeCards in teams

Update-MgTeamScheduleTimeOff

The instances of times off in the schedule.

Update-MgTeamScheduleTimeOffReason

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

Update-MgTeamScheduleTimeOffRequest

Update the navigation property timeOffRequests in teams

Update-MgTeamTag

The tags associated with the team.

Update-MgTeamTagMember

Users assigned to the tag.

Update-MgTeamwork

Update teamwork

Update-MgTeamworkWorkforceIntegration

Update the navigation property workforceIntegrations in teamwork

Update-MgUserChat

Update the navigation property chats in users

Update-MgUserTeamwork

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

Update-MgUserTeamworkInstalledApp

The apps installed in the personal scope of this user.