Configuring Exchange Online

If you are federating EmpowerID with Office 365 and using the Outlook Rich Client, you need to enable modern authentication for Exchange Online. Modern authentication is a Microsoft implementation that enables Office client applications to integrate with third-party Identity Providers using OAuth. This topic demonstrates how to configure Exchange Online to allow federated users to use the Outlook Rich Client.

As prerequisites to configuring Exchange Online for Modern Authentication and SSO with EmpowerID, you must have a licensed corporate Office 365 account, have connected EmpowerID to Office 365 and set up SSO with Office 365.

To configure Exchange Online for Modern Authentication

  1. Run Azure AD PowerShell module as an administrator.
  2. Run the following cmdlet to create a credential object:
  3. $credential = Get-Credential
  4. In the Credentials window that appears, type the username and password for an Office 365 global administrator and click OK.
  5. Once you have connected, run the following cmdlet to create a remote PowerShell session with Exchange Online:
  6. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Cred -Authentication Basic -AllowRedirection
  7. Run the following cmdlet to set the session with Exchange Online:
  8. Import-PSSession $Session
  9. Run the following cmdlet to enable Modern Authentication for Exchange Online:
  10. Set-OrganizationConfig -OAuth2ClientProfileEnabled:$true
  11. Run the following cmdlet to check that Modern Authentication for Exchange Online has been enabled:
  12. Get-OrganizationConfig | ft name, *OAuth*
  13. Run the following cmdlet to close the session:
  14. Remove-PSSession $Session