nerdexam
Microsoft

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.

Configure and manage Microsoft Teams Phone

Question

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?

Options

  • ASet-CsCallingLineIdentity
  • BSet-CsPhoneNumberAssignment
  • CSet-CsOnlineVoiceUser
  • DSet-CsUserServicesPolicy

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    85% (23)
  • C
    4% (1)
  • D
    7% (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.

ASet-CsCallingLineIdentity

`Set-CsCallingLineIdentity` is used to configure caller ID policies, not to assign a phone number or enable a user for Direct Routing.

BSet-CsPhoneNumberAssignmentCorrect

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.

CSet-CsOnlineVoiceUser

`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.

DSet-CsUserServicesPolicy

`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

#Teams Phone#Direct Routing#PowerShell#User enablement

Community Discussion

No community discussion yet for this question.

Full MS-721 Practice