A company has an Office 365 tenant that has an Enterprise E1 subscription.
You synchronize disabled user accounts from an Active Directory Domain Services environment.
You need to enable the user accounts in Office 365.
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:
https://msdn.microsoft.com/en-us/library/dn194135.aspx
Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one
question in the series. Each question is independent of the other questions in this series. Information and details provided in the question apply only to
that question.
I don’t understand why this is D
agreed – should be A
Set-MsolUser -UserPrincipalName [email protected] -BlockCredential $false
I would have gone with A. When you dirsync a disabled user from on premise to Office 365 the user is created in Office 365 with the BlockCredential attribute set to True. The set-msoluser -userprincipalname -BlockCredential $false will enable that account.
Agree with above, should be A
Agree with above, should be A