You can perform the below command in Microsoft Teams PowerShell to quickly list all the phone numbers within your organisation and their type.
Get-CsPhoneNumberAssignment | Format-Table TelephoneNumber, NumberType, ActivationState, City
You can perform the below command to list the user accounts that phone numbers are assigned to:
Get-CsOnlineUser | Where-Object -Property LineURI -NotLike $null | Format-Table DisplayName, UserPrincipalName, LineURI
Comments
0 comments
Please sign in to leave a comment.