MS-721 · Question #101
You have a Microsoft Teams Phone deployment. You assign a Microsoft 365 E5 license to a user named User1. You need to enable User1 for Direct Routing. Which PowerShell cmdlet should you run?
The correct answer is B. Set-CsPhoneNumberAssignment. To enable a user for Direct Routing and assign them a phone number in Microsoft Teams Phone, the Set-CsPhoneNumberAssignment PowerShell cmdlet should be used.
Question
Options
- ASet-CsCallingLineIdentity
- BSet-CsPhoneNumberAssignment
- CSet-CsOnlineVoiceUser
- DSet-CsUserServicesPolicy
How the community answered
(27 responses)- A4% (1)
- B85% (23)
- C4% (1)
- D7% (2)
Why each option
To enable a user for Direct Routing and assign them a phone number in Microsoft Teams Phone, the Set-CsPhoneNumberAssignment PowerShell cmdlet should be used.
`Set-CsCallingLineIdentity` is used to configure caller ID policies, not to assign a phone number or enable a user for Direct Routing.
The `Set-CsPhoneNumberAssignment` cmdlet is used to assign a phone number (including a Direct Routing number) to a user and enable them for Enterprise Voice in Microsoft Teams Phone System. This cmdlet is the modern approach for managing user phone numbers for cloud-based voice services.
`Set-CsOnlineVoiceUser` is used for configuring voice-related properties of a user once they are already voice-enabled, but not for the initial assignment and enablement itself.
`Set-CsUserServicesPolicy` is for managing user service policies, not for assigning phone numbers or enabling a user for enterprise voice.
Concept tested: Teams Direct Routing user enablement cmdlet
Source: https://learn.microsoft.com/en-us/powershell/module/skype/set-csphonenumberassignment
Topics
Community Discussion
No community discussion yet for this question.