Which Windows PowerShell cmdlet should you run?

A company has an Office 365 tenant that has an Enterprise E1 subscription. The company has offices in
several different countries.
You need to restrict Office 365 services for existing users by location.
Which Windows PowerShell cmdlet should you run?

A company has an Office 365 tenant that has an Enterprise E1 subscription. The company has offices in
several different countries.
You need to restrict Office 365 services for existing users by location.
Which Windows PowerShell cmdlet should you run?

A.
Set-MsolUser

B.
Redo-MsolProvisionUser

C.
Set-MsolUserLicense

D.
Set-MsolUserPrincipalName

E.
Convert-MsolFederatedUser

F.
Set-MailUser

G.
Set-LinkedUser

H.
New-MsolUser

Explanation:
The Set-MsolUser cmdlet is used to update a user object.
Example: The following command sets the location (country) of this user. The country must be a twoletter ISO code. This can be set for synced users as well as managed users.
Set-MsolUser -UserPrincipalName [email protected] -UsageLocation “CA”
Note:Some organizations may want to create policies that limit access to Microsoft Office 365 services,
depending on where the client resides.
Active Directory Federation Services (AD FS) 2.0 provides a way for organizations to configure these
types of policies. Office 365 customers using Single Sign-On (SSO) who require these policies can now
use client access policy rules to restrict access based on the location of the computer or device that is
making the request. Customers using Microsoft Online Services cloud User IDs cannot implement these
restrictions at this time. Limiting Access to Office 365 Services Based on the Location of the Client
https://technet.microsoft.com/en-us/library/hh526961(v=ws.10).aspx Set-MsolUser
https://msdn.microsoft.com/en-us/library/azure/dn194136.aspx



Leave a Reply 0

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