nerdexam
MicrosoftMicrosoft

MS-700 · Question #51

MS-700 Question #51: Real Exam Question with Answer & Explanation

This question tests knowledge of the MicrosoftTeams PowerShell module to provision a new team with specific privacy, URL, and ownership settings. The correct approach chains New-Team and Add-TeamUser cmdlets with precise parameter choices.

Manage teams, channels, chats, and apps

Question

You need to create a new Microsoft Teams team named Human Resources that meets the following requirements: - All join requests must be approved by an owner of the team. - The URL for the Microsoft SharePoint Online site of the team must be /teams/HR. - Two users named [email protected] and [email protected] must be assigned as team owners. How should you complete the PowerShell command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation

This question tests knowledge of the MicrosoftTeams PowerShell module to provision a new team with specific privacy, URL, and ownership settings. The correct approach chains New-Team and Add-TeamUser cmdlets with precise parameter choices.

Approach. Use New-Team -DisplayName 'Human Resources' -MailNickName 'HR' -Visibility Private to create the team. The -MailNickName 'HR' parameter controls the SharePoint Online URL suffix, producing /teams/HR. Setting -Visibility Private enforces owner-approval for all join requests (Public teams allow self-join without approval). Then call Add-TeamUser -GroupId $team.GroupId -User '[email protected]' -Role Owner and repeat for [email protected] - the -Role Owner flag is required; omitting it defaults to Member.

Concept tested. MicrosoftTeams PowerShell module: New-Team and Add-TeamUser cmdlets, specifically the -MailNickName parameter (SharePoint URL slug), -Visibility Private (owner-approval join policy), and -Role Owner (elevating users beyond the default Member role).

Reference. Microsoft Learn - New-Team cmdlet reference (MicrosoftTeams module); MS-700 / Teams Administrator Associate exam objectives

Topics

#PowerShell scripting#Microsoft Teams administration#Team creation#Team access control

Community Discussion

No community discussion yet for this question.

Full MS-700 PracticeBrowse All MS-700 Questions