MS-700 · Question #24
MS-700 Question #24: Real Exam Question with Answer & Explanation
This question tests knowledge of Microsoft Teams PowerShell administration, specifically how to restrict guest user permissions for channel management using the Teams PowerShell module.
Question
Your company has a Microsoft 365 subscription. You need to prevent guest users from creating or updating channels. How should you complete the PowerShell script? To answer, drag the appropriate options to the correct targets. Each option may be used once, more than once, or not at all. You may need to drag the split bar between panes and scroll to view content.
Explanation
This question tests knowledge of Microsoft Teams PowerShell administration, specifically how to restrict guest user permissions for channel management using the Teams PowerShell module.
Approach. The correct approach uses the Set-Team cmdlet with the -AllowGuestCreateUpdateChannels $false parameter to disable the ability for guest users to create or update channels. To apply this across all teams in the tenant, you would pipe Get-Team into Set-Team, resulting in: Get-Team | Set-Team -AllowGuestCreateUpdateChannels $false. The Get-Team cmdlet retrieves all teams (or a specific team via -GroupId), and Set-Team applies the governance setting. Setting the parameter to $false enforces the restriction, while $true would permit guests to create/update channels.
Concept tested. Microsoft Teams guest user permission management via PowerShell - specifically using Set-Team -AllowGuestCreateUpdateChannels $false from the MicrosoftTeams PowerShell module to enforce channel creation/update restrictions on guest accounts across a Microsoft 365 tenant.
Reference. Microsoft Docs: Manage Microsoft Teams settings for your organization - Guest access in Microsoft Teams; Set-Team cmdlet reference (MicrosoftTeams module)
Topics
Community Discussion
No community discussion yet for this question.