PrepAway - Latest Free Exam Questions & Answers

A company has an Office 365 tenant that has an Enterprise E1 subscription. Users currently sign in with creden

A company has an Office 365 tenant that has an Enterprise E1 subscription. Users currently sign in with credentials that include the contoso.com domain suffix.

The company is acquired by Fabrikam. Users must now sign in with crede

ntials that include the fabrikam.com domain suffix.

You need to ensure that all users sign in with the new domain name.

Which Windows PowerShell cmdlet should you run?

A.

Set-MsolUser

B.

Redo-MsolProvisionUser

C.

Set-MsolUserLicense

D.

Set-MsolUserPrinc

ipalName

E.

Convert-MsolFederatedUser

F.

Set-MailUser

G.

Set-LinkedUser

H.

New-MsolUser

Explanation:

The Set-MsolUserPrincipalName cmdlet is used to change the User Principal Name (user ID) of a user. This cmdlet can be used to move a user

between a federated and standard domain, which will result in their authentication type changing to that of the target domain.

The following command renames user1@contoso.com to CCole@contoso.com.

Set-MsolUserPrincipalName -UserPrincipalName User1@contoso

.com -NewUserPrincipalName CCole@contoso.com

References:

https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoluserprincipalname?view=azureadps-1.0


Leave a Reply