nerdexam
Microsoft

MS-700 · Question #66

You have a Microsoft Teams team named Team1. Team1 is deleted accidentally. How should you complete the PowerShell script to restore Team1? $Team = Get-AzureADMSDeletedGroup [Dropdown 1] "Team1"…

$Team = Get-AzureADMSDeletedGroup -SearchString "Team1" Restore-AzureADMSDeletedDirectoryObject -Id $Team.Id

Manage teams, channels, chats, and apps

Question

You have a Microsoft Teams team named Team1. Team1 is deleted accidentally. How should you complete the PowerShell script to restore Team1? $Team = Get-AzureADMSDeletedGroup [Dropdown 1] "Team1" [Dropdown 2] -Id $Team.Id Dropdown 1 options: -All, -Filter, -SearchString Dropdown 2 options: Restore-ADOject, Restore-AzureADDeletedApplication, Restore-AzureADMSDeletedDirectoryObject

Explanation

$Team = Get-AzureADMSDeletedGroup -SearchString "Team1" Restore-AzureADMSDeletedDirectoryObject -Id $Team.Id

Topics

#Teams administration#PowerShell#Azure AD Groups#Team restoration

Community Discussion

No community discussion yet for this question.

Full MS-700 Practice