1. Connect to Exchange Online PowerShell as shown below


  2. Run the following command in Exchange Online PowerShell:

    Set-OrganizationConfig -OAuth2ClientProfileEnabled $true


  3. To verify that the change was successful, run the following command in Exchange Online PowerShell:

    Get-OrganizationConfig | Format-Table -Auto Name,OAuth*