編輯

共用方式為


Get-CsTeamsShiftsConnectionSyncResult

This cmdlet supports retrieving the list of user details in the mapped teams of last sync.

Syntax

Get-CsTeamsShiftsConnectionSyncResult
   -ConnectorInstanceId <string>
   -TeamId <string>
   [<CommonParameters>]

Description

This cmdlet supports retrieving the list of successful and failed users in the mapped teams of last sync.

Examples

Example 1

PS C:\> Get-CsTeamsShiftsConnectionSyncResult -ConnectorInstanceId "WCI-d1addd70-2684-4723-b8f2-7fa2230648c9" -TeamId "12345d29-7ee1-4259-8999-946953feb79e"

FailedAadUser FailedWfmUser                 SuccessfulUser
------------- -------------                 --------------
{LABRO}       {FRPET, WAROS, JOREE}        {user3@contoso.com, user2@contoso.comm, user@contoso.com}

Returns the successful and failed users in the team mapping of Teams 12345d29-7ee1-4259-8999-946953feb79e in the instance with ID WCI-d1addd70-2684-4723-b8f2-7fa2230648c9. LABRO in FailedAadUser column shows the list of users who failed to sync from Teams to Wfm. FRPET, WAROS, JOREE in FailedWfmUser column shows the list of users who failed to sync from Wfm to Teams. user3@contoso.com, user2@contoso.comm, user@contoso.com in SuccessfulUser column shows the list of users who synced in both Wfm and Teams.

Parameters

-ConnectorInstanceId

The ID of the connection instance. It can be retrieved by running Get-CsTeamsShiftsConnectionInstance.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-TeamId

The Teams team ID. It can be retrieved by visiting AzureAAD.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams