Which Windows PowerShell cmdlet should you run?

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 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:
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.



Leave a Reply 0

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