編集

次の方法で共有


Get-CsTeamsShiftsConnectionTeamMap

This cmdlet supports retrieving the list of team mappings.

Syntax

Get-CsTeamsShiftsConnectionTeamMap
   -ConnectorInstanceId <String>
   [<CommonParameters>]

Description

Workforce management (WFM) systems have locations / sites that are mapped to a Microsoft Teams team for synchronization of shifts data. This cmdlet shows the list of mapped teams inside the connection instance. Instance IDs can be found by running Get-CsTeamsShiftsConnectionInstance.

Examples

Example 1

PS C:\> Get-CsTeamsShiftsConnectionTeamMap -ConnectorInstanceId "WCI-d1addd70-2684-4723-b8f2-7fa2230648c9"

TeamId                               TeamName TimeZone            WfmTeamId WfmTeamName
------                               -------- --------            --------- -----------
12344689-758c-4598-9206-3e23416da8c2          America/Los_Angeles 1000107

Returns the list of team mappings in the instance with ID WCI-d1addd70-2684-4723-b8f2-7fa2230648c9.

In case of error, we can capture the error response as following:

  • Hold the cmdlet output in a variable: $result=<CMDLET>

  • To get the entire error message in Json: $result.ToJsonString()

  • To get the error object and object details: $result, $result.Detail

Parameters

-ConnectorInstanceId

The ID of the connection instance.

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