O365 – reverting hard matching migration using ImmutableID

By Tom Kitching

This is a very obscure problem, so I’m recording this more for my own reference in future rather than expecting anyone else to have the same issue! The issue occurs when a migration from a hybrid exchange domain to another domain which uses AD Sync has been completed in the following manner: filter/delete user in…

Confused about deprecated O365 commands?

By admin

I was getting pretty confused with the various options around powershell commands to use with Exchange online.  For example, to add a user to a distribution group in O365, I had come across 4 different commands: [cc lang=”powershell”]Add-AzureADGroupMember Add-AzureRMADGroupMember Add-DistributionGroupMember Add-MsolGroupMember[/cc] So after some digging I realised that the *-AzureRM* are powershell cmdlets to modify…

Adding Users to O365 Distribution List

By admin

A script I recently used to add members to an office 365 distribution group using a remote exchange session in a hybrid setup (covered at the end).  [cc lang=”powershell”]$SourceFile = “” Import-CSV $SourceFile | ForEach ` {Add-DistributionGroupMember -Identity “Group Name” -Member $_.UPN Write-Host -ForegroundColor Green “Processed the record for $($_.UPN)” }[/cc] CSV file contains UPNs…