Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi Hugocoffee,
To restore the deleted Team in Microsoft Teams, please follow the steps below:
- Launch PowerShell as an administrator (Click Start > insert PowerShell, right click Windows PowerShell, click Run as administrator).
- Insert Install-Module AzureADPreview to install AzureADPreview module.
- Insert Connect-AzureAD to connect to Azure AD. When prompted, sign in with your account.
- Once you signed in, you will see the following:
- Insert Get-AzureADMSDeletedGroup to display all deleted Office 365 groups.
- Find the group you wish to restore, and copy the id from the Id column to the clipboard. Next, to restore the deleted group type the following where [ID] is the Id of the group and press Enter:
Restore-AzureADMSDeletedDirectoryObject -Id [ID]
- Verify group was restored successfully by typing the following command, where [ID] is the ID of the group you restored:
Get-AzureADGroup -ObjectId [ID]
Note: The process of restoring an Office 365 group and thus restoring the team in Microsoft Teams can take up to 24 hours.
Regards,
Tisky