It`s simple when you know how ! Office 365,Tutorials,Windows Enable Or Disable Modern Authentication For Office 365 Tenent

Enable Or Disable Modern Authentication For Office 365 Tenent

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     

Good Luck

Leave a Reply

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

Related Post

DCDIAG /test:dns return “No host records (A or AAAA) were found for this DC” or “Can’t read OS version through WMI”DCDIAG /test:dns return “No host records (A or AAAA) were found for this DC” or “Can’t read OS version through WMI”

When running NSLOOKUP against dc dns you might get error and the dns stop resolving records, local and internet. When running dcdiag /test:dns you might get errors like this: Running