Commands › Microsoft Teams

Grant-CsTeamsVideoInteropServicePolicy

Microsoft Teams MicrosoftTeams Grant-*

The Grant-CsTeamsVideoInteropServicePolicy cmdlet allows you to assign a pre-constructed policy across your whole organization or only to specific users.

Quick start script

# Grant-CsTeamsVideoInteropServicePolicy — 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-CsTeamsVideoInteropServicePolicy -Group <String> -PolicyName <String> | Format-List

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

Syntax — 3 parameter sets

Identity (Default)

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

GrantToTenant

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

GrantToGroup

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

Parameters (10)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-DomainController Fqdn Internal Microsoft use only.
-Global SwitchParameter Use this flag to override the warning when assigning the global policy for your tenant.
-Group String yes Specifies the group used for the group policy assignment.
-Identity UserIdParameter {{Fill Identity Description}}
-PassThru SwitchParameter Enables you to pass a user object through the pipeline that represents the user being assigned the policy. By default, the Grant-CsTeamsVideoInteropServicePolicy cmdlet does not pass objects through the pipeline.
-PolicyName String yes Specify the pre-constructed policy that you would like to assign to your tenant or a particular user. You can get the policies available for your organization using the cmdlet Get-CsTeamsVideoInteropServicePolicy.
-Rank Int32 The rank of the policy assignment, relative to other group policy assignments for the same policy type.
-Tenant Guid Internal Microsoft use only.
-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.