Which cmdlet should you run?

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 [email protected] -RemoveLicenses
“contoso:ENTERPRISEPACK”
References: https://msdn.microsoft.com/en-us/library/azure/dn194094(v=azure.98).aspx

Hot Area:

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 [email protected] -RemoveLicenses
“contoso:ENTERPRISEPACK”
References: https://msdn.microsoft.com/en-us/library/azure/dn194094(v=azure.98).aspx

Hot Area:

Answer:



Leave a Reply 0

Your email address will not be published. Required fields are marked *