Microsoft 70-346 Exam

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
Answer: Option A.
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 two-letter 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.

Leave a Reply

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

Check Also
Close
Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker
error: Alert: Content is protected !!