Sunday, October 11, 2015

remote orphaned user from office365

Power shell
-logon to office365

$credential = Get-Credential
Import-Module MsOnline
Connect-MsolService -Credential $credential
Get-MsolAccountSku

-remove command   

Remove-MsolUser -UserPrincipalName <account id>
Remove-MsolUser -UserPrincipalName <account id> -RemoveFromRecycleBin

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

ALCATEL 6900

write memory copy running certified reload from working no rollback-timeout