3 mar 2021

Microsoft 365: How to force Modern authentication

Outlook App

In the newer versions of Outlook App, Modern Authentication is enabled by default.

In case of problems, that is the window in Outlook that continues to ask for the password, it is also recommended to force the use of Modern Authentication in Outlook, adding, through Regedit, the following registry key, setting the DWORD value to 1 

HKEY_CURRENT_USER\Software\Microsoft\Exchange\

AlwaysUseMSOAuthForAutoDiscover – DWORD=1


Tenant

Check to see if Modern Authentication is ENABLED for your Office 365 tenant

Run the command Get-OrganizationConfig | Format-Table Name,OAuth* -Auto

If you see “False” listed next to your Office 365 tenant proceed to the next step to enable Modern Auth. If you see “True” then Modern Auth is already enabled; no further action is required. Skip to Disconnect your PowerShell session. 


Enable Modern Authentication for your Office 365 tenant

Run the command Set-OrganizationConfig -OAuth2ClientProfileEnabled $true

Note: This command does not prevent connections via Basic Authentication. Desktop and mobile e-mail client applications which do not support Modern Authentication will still be able to connect to the Office 365 account using Basic Authentication until October 13, 2020.


Verify Modern Authentication is ENABLED for your Office 365 tenant

Run the command Get-OrganizationConfig | Format-Table Name,OAuth* -Auto

You should now see “True” listed next to your Office 365 tenant indicating that Modern Authentication is enabled for your Office 365 tenant

Nessun commento:

Posta un commento