Access Denied” connecting to Office365 using Remote Powershell

Problem
Connecting to Exchange Online using Remote Powershell as per this procedure I was getting the following “Access Denied” error

RemotePoShAccessDenied

As per KB2905767 I logged into the Office 365 portal and verified the password was correct and that the account was a global admin.

Solution

I my case I was copying and pasting the username

RemotePoShLogin

When I manually typed in the username, remote PowerShell connected successfully

Leave a Reply

Your email address will not be published. Required fields are marked *