Check if Office365 Exchange Online is enabled for Modern Authentication:
- Once connected to Office365, run the following command using PowerShell while connected to the Office365 tenant to check if enabled for Modern Authentication:
Get-OrganizationConfig | ft name, *OAuth*
Note: If “false” is returned, the Exchange online server is not configured for Modern Authentication. A response of “true” indicates Modern Authentication is enabled.
How to enable Modern Authentication for Office365 Exchange Online:
- Once connected to Office365 via PowerShell, an Administrator will need to enter the following command;
Set-OrganizationConfig -OAuth2ClientProfileEnabled:$true
How to disable Modern Authentication for Office365 Exchange Online:
- Once connected to Office 365 via PowerShell, an Administrator will need to enter the following command;
Set-OrganizationConfig -OAuth2ClientProfileEnabled:$false