Add all licensed users to a Mail Enabled Security Group and then assign permissions to RecipientType.

Yesterday I had to add all licensed users to a Mail Enabled Security Group and then add that group to Room, Equipment and user mailboxes with desired permissions. To add all Licensed users to a group: $users = Get-MsolUser | Where-Object { $_.isLicensed -eq "TRUE" } $users | foreach {Add-DistributionGroupMember…continue reading →

Force Full Password Sync with AAD Connect.

I think this was easier with Dirsync, but that product is history. Open Powershell as Administrator and modify this Powershell script: $Local = "Domain.local" $Remote = "tenant.onmicrosoft.com - AAD" #Import Azure Directory Sync Module to Powershell Import-Module AdSync $OnPremConnector = Get-ADSyncConnector -Name $Local Write-Output "On Prem Connector information received" $Object…continue reading →