Commands › Microsoft Teams

Grant-CsTeamsRoomVideoTeleConferencingPolicy

Microsoft Teams MicrosoftTeams Grant-*

Assigns a TeamsRoomVideoTeleConferencingPolicy to a Teams Room Alias on a per-room or per-Group basis.

Quick start script

# Grant-CsTeamsRoomVideoTeleConferencingPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Grant-CsTeamsRoomVideoTeleConferencingPolicy -Group <String> | Format-List

# 3. Export for evidence / drift tracking
Grant-CsTeamsRoomVideoTeleConferencingPolicy | Export-Clixml .\CsTeamsRoomVideoTeleConferencingPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax — 3 parameter sets

Identity (Default)

Grant-CsTeamsRoomVideoTeleConferencingPolicy [[-Identity] <String>] [-PassThru] [[-PolicyName] <String>]
 [-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

GrantToTenant

Grant-CsTeamsRoomVideoTeleConferencingPolicy [-PassThru] [[-PolicyName] <String>]
 [-MsftInternalProcessingMode <String>] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]

GrantToGroup

Grant-CsTeamsRoomVideoTeleConferencingPolicy [-PassThru] [[-PolicyName] <String>]
 [-MsftInternalProcessingMode <String>] [-Group] <String> [-Rank <Int32>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

Parameters (9)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Global SwitchParameter When you use this cmdlet without specifying a identity, the policy applies to all rooms in your tenant, except any that have an explicit policy assignment.
-Group String yes Specifies the group used for the group policy assignment.
-Identity String The alias of the Teams room that the IT admin is granting this PolicyName to.
-MsftInternalProcessingMode String For internal use only.
-PassThru SwitchParameter Allows the user to indicate whether the cmdlet passes an output object through the pipeline, in this case, after a process is stopped.
-PolicyName String Corresponds to the name of the policy under -Identity from the cmdlet.
-Rank Int32 The rank of the policy assignment, relative to other group policy assignments for the same policy type.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.