Microsoft 365 Certified Teams Administrator Associate (MS-700) Practice Exam

Session length

1 / 400

Which cmdlet can be used to add members to a team from PowerShell?

Add-AzureAdGroupMember cmdlet

The Add-AzureAdGroupMember cmdlet is the correct choice for adding members to a team from PowerShell. This cmdlet is specifically designed to manage user membership in Azure Active Directory groups, which includes Microsoft Teams since teams are essentially backed by these groups. When you add members to a team, you are manipulating the underlying security group in Azure AD, making this cmdlet applicable for that task.

In contrast, the other cmdlets listed serve different purposes. The Get-Team cmdlet is used to retrieve information about existing teams, not to add members. The Set-Team cmdlet allows modification of team's settings but does not directly facilitate adding members. The New-Team cmdlet is used to create a new team rather than modifying an existing one by adding members. Each of these cmdlets has its own distinct focus, which is why Add-AzureAdGroupMember is the appropriate choice for managing team memberships.

Get further explanation with Examzify DeepDiveBeta

Get-Team cmdlet

Set-Team cmdlet

New-Team cmdlet

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy