Courseiva

MS-700 Configure and Manage a Teams Environment Practice Question

You are a Teams administrator for a multinational corporation. The company has recently deployed Microsoft Teams and wants to ensure that all users can make and receive calls using Teams. You need to assign phone numbers to users. Which PowerShell cmdlet should you use to assign a phone number to a user?

⚠ Common exam trap

The trap here is assuming that legacy Skype for Business cmdlets like Set-CsUser are still used for Teams phone number assignment, when the newer Set-CsPhoneNumberAssignment is required.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Set-CsPhoneNumberAssignment

The Set-CsPhoneNumberAssignment cmdlet is specifically designed to assign, update, or remove phone numbers for users in Microsoft Teams. It supports various phone number types and is the current recommended method for phone number management. Other cmdlets either serve different purposes or are not valid for this task. Using the correct cmdlet ensures successful phone number assignment.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Set-CsUser

    Why it's wrong here

    Set-CsUser is used to modify properties of a user in Skype for Business Online, such as enabling Enterprise Voice or setting the line URI. However, for Teams phone number assignment, the recommended cmdlet is Set-CsPhoneNumberAssignment. Set-CsUser is deprecated for Teams phone management and does not provide the same functionality for assigning phone numbers in Teams.

  • ✗

    Grant-CsOnlineVoiceRoutingPolicy

    Why it's wrong here

    Grant-CsOnlineVoiceRoutingPolicy assigns a voice routing policy to a user, which determines how calls are routed. It does not assign a phone number. This cmdlet is used after phone numbers are assigned to control call routing. It is not the correct cmdlet for assigning a phone number to a user.

  • ✗

    Set-CsOnlineVoiceUser

    Why it's wrong here

    Set-CsOnlineVoiceUser is not a valid cmdlet in the MicrosoftTeams PowerShell module. The correct cmdlet for managing voice settings is Set-CsPhoneNumberAssignment. Using an incorrect cmdlet will result in an error and will not assign a phone number. This option is a distractor and does not exist.

  • ✓

    Set-CsPhoneNumberAssignment

    Why this is correct

    Set-CsPhoneNumberAssignment is the correct cmdlet to assign, update, or remove a phone number for a user in Microsoft Teams. It is part of the MicrosoftTeams PowerShell module and is used to manage phone number assignments for Direct Routing, Calling Plans, and Operator Connect. This cmdlet directly fulfills the requirement to assign a phone number to a user.

About these practice questions

Courseiva writes every MS-700 question from scratch — 211 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

This MS-700 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MS-700 exam.