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…

Set O365 Password to never expire for just one user

By admin

Recently I needed to do this for our PRTG alerting account which was failing to send notifications as the O365 password had expired.  I did this from Powershell within Windows 10 as follows: Launch powershell as Administrator then run [cc lang=”powershell”]Install-Module MsOnline[/cc] Then run [cc lang=”powershell”]Connect-MsOlService[/cc] at this point an O365 authentication box pops up…