If you try to add organization at Veeam Backup for Microsoft 365, it happens Connect to PowerShell: Connecting to remote server outlook.office365.com failed with the following error message: Access is denied error, that’s because Microsoft begin disabling Basic authentication for Outlook, EWS, RPS, POP, IMAP, and EAS protocols in Exchange Online.
Please follow below steps to fix it.
1.Sign in Office 365 portal with Global Admin account.
2.Select Admin to open Microsoft Office 365 admin center.
3.On the Microsoft 365 admin center, click Help & Support.
4.On the How can we help page, search and select Diag: Enable Basic Auth in EXO.
5.On the Run diagnostics page, select Run Tests.
6.Verify the current Basic authentication settings to make sure Exchange Web Services (EWS) and Exchange Online Remote PowerShell protocol were be enabled, if not, select them from Protocol to enable.
7.Select I acknowledge clicking “Update settings” will make the change(s) describe to the tenant configuration, click Update Settings.
8.Re-try add Organization again, it should be fine now.
Hope you enjoy this post.
Cary Sun
Twitter: @SifuSun
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
Great article!!!
This solution is no longer supported by Microsoft. When you run diagnostics the reply will be: Basic Authentication will not be disabled for the selected protocol.