PowerShell to Exchange Online
Mar01

PowerShell to Exchange Online

PowerShell to Exchange Online KB ID 0001814 Problem While attempting to PowerShell to Exchange Online today, I tried to do this by using my usual method, and repeatedly got this error. New-PSSession : [outlook.office365.com] Connecting to remote server outlook.office365.com failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. At line:1 char:12 + $Session =...

Read More
PowerShell: Disable MFA For All O365 Users
Feb10

PowerShell: Disable MFA For All O365 Users

KB ID 0001655 Problem If you have something boring/repetitive to do then Powershell is your friend! I needed to do this for a client that’s replacing their Office365/Azure AD MFA (Multi Factor Authentication) with Duo. Solution Connect to your Microsoft Services Online, i.e. Office365/Azure, using your administrative credentials with the following command; Connect-MsolService Then (Note: I’ve got more than 1000 users so I...

Read More