Commands › Microsoft Teams
Grant-CsTeamsIPPhonePolicy
Assign a set of Teams phone policies to a user account or group of user accounts. Teams phone policies determine the features that are available to users of Teams phones. For example, you might enable the hot desking feature for some users while disabling it for others.
Quick start script
# Grant-CsTeamsIPPhonePolicy — 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-CsTeamsIPPhonePolicy -Group <String> | Format-List
# 3. Export for evidence / drift tracking
Grant-CsTeamsIPPhonePolicy | Export-Clixml .\CsTeamsIPPhonePolicy-$(Get-Date -Format yyyyMMdd).xml
Syntax — 3 parameter sets
Identity (Default)
Grant-CsTeamsIPPhonePolicy [[-Identity] <String>] [-PassThru] [[-PolicyName] <String>]
[-WhatIf] [-Confirm] [<CommonParameters>]
GrantToTenant
Grant-CsTeamsIPPhonePolicy [-PassThru] [[-PolicyName] <String>]
[-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
GrantToGroup
Grant-CsTeamsIPPhonePolicy [-PassThru] [[-PolicyName] <String>]
-Group <String> [-Rank <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (10)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.