I am in the process of a Hybrid deployment using Exchange 2010. Have dir sync installed and working. I have accidently synced all OU's to O365. How can I remove all accounts from O365 and sync only the OU's that are selected in UI in the syncronization service manager.I used this powershell command to remove the accounts Get-MsolUser -all | Where-Object {$_.isLicensed -ne "true"} | Remove-MsolUser -Force I then went and started the sync agent in service manager but all accounts synced again. I don't have any licenses applied or mailboxes moved.
↧