Commands › Microsoft Teams
New-CsTeamsIPPhonePolicy
New-CsTeamsIPPhonePolicy allows you to create a policy to manage features related to Teams phone experiences. Teams phone policies determine the features that are available to users.
Quick start script
# New-CsTeamsIPPhonePolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsTeamsIPPhonePolicy
$before | Format-List
# 3. Make the change (dry run first)
New-CsTeamsIPPhonePolicy -Identity <XdsIdentity> -WhatIf
New-CsTeamsIPPhonePolicy -Identity <XdsIdentity>
# 4. Verify and diff
$after = Get-CsTeamsIPPhonePolicy
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
New-CsTeamsIPPhonePolicy [[-Identity] <XdsIdentity>]
[-AllowBetterTogether <String>]
[-AllowHomeScreen <String>]
[-AllowHotDesking <Boolean>]
[-Confirm]
[-Description <String>]
[-Force]
[-HotDeskingIdleTimeoutInMinutes <Int>]
[-InMemory]
[-SearchOnCommonAreaPhoneMode <Object>]
[-SignInMode <String>]
[-Tenant <Guid>]
[-WhatIf]
[<CommonParameters>]
Parameters (12)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.