HOTSPOT
You have an Office 365 subscription.
The Office 365 organization contains five temporary administrators. The administrators are members of multiple role groups.
You need to create a script that prevents the temporary administrators from performing administrative tasks from the Office 365 admin center. The solution must meet the following requirements:
Provide the ability to reestablish administrative access to the temporary administrators within 14 days.
Release the Office 365 licenses assigned to the temporary administrators.
Which cmdlet should you run? To answer, select the appropriate options in the answer area.
Explanation/Reference:
Explanation:
The Set-MsolUserLicense cmdlet can be used to adjust the licenses for a user. This can include adding a new license, removing a license, updating the license options, or any combination of these actions.
Example:
The following command removes the for enterprises license from the user. This may result in the user’s data being removed from each service.
Set-MsolUserLicense -UserPrincipalName user@contoso.com -RemoveLicenses
“contoso:ENTERPRISEPACK”
References: https://msdn.microsoft.com/en-us/library/azure/dn194094(v=azure.98).aspx

True. If using Set-Msoluser with Blockcredential $true licenses are still active.
1
0
Remove-MsolUser -UserPrincipalName “davidchew@contoso.com” -Force
This command removes davidchew@contoso.com from Azure Active Directory. If the user has any licenses, the cmdlet removes these.
4
0
“Provide the ability to reestablish administrative access to the temporary administrators within 14 days.”
By using Remove-MsolUser users will end up in a recycle bin. You can restore them by using Restore-MsolUser.
So I will agree with fiber.
0
0