Edit

Share via


Get-CsTeamsShiftsConnectionSyncResult

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

Syntax

Default (Default)

Get-CsTeamsShiftsConnectionSyncResult
    -ConnectorInstanceId <string>
    -TeamId <string>
    -InputObject <IConfigApiBasedCmdletsIdentity>
    [<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

Applicable: Microsoft Teams

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

The Identity parameter.

Parameter properties

Type:IConfigApiBasedCmdletsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-TeamId

Applicable: Microsoft Teams

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.