Rediger

Del via


Remove-CsTeamsShiftsConnectionTeamMap

This cmdlet removes the mapping between the Microsoft Teams team and workforce management (WFM) team.

Syntax

Remove-CsTeamsShiftsConnectionTeamMap
      -ConnectorInstanceId <String>
      -TeamId <string>
      -InputObject <IConfigApiBasedCmdletsIdentity>
      [-PassThru]
      [<CommonParameters>]

Description

This cmdlet removes the mapping between the Microsoft Teams team and WFM team. All team mappings can be found by running Get-CsTeamsShiftsConnectionTeamMap.

Examples

Example 1

PS C:\> Remove-CsTeamsShiftsConnectionTeamMap -ConnectorInstanceId "WCI-4c231dd2-4451-45bd-8eea-bd68b40bab8b" -TeamId "30b625bd-f0f7-4d5c-8793-9ccef5a63119"

Unmaps the Teams team with ID "30b625bd-f0f7-4d5c-8793-9ccef5a63119" in the instance with ID "WCI-4c231dd2-4451-45bd-8eea-bd68b40bab8b".

Parameters

-ConnectorInstanceId

The ID of the connection instance that you want to delete.

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

-InputObject

The identity parameter.

Type:IConfigApiBasedCmdletsIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PassThru

Enables you to pass a user object through the pipeline that represents the user being assigned the policy.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TeamId

The ID of the connection instance that you want to delete.

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