1. Home
  2. Applications
  3. Office 365
  4. Enable ADAL for Office 365 with Federation

Enable ADAL for Office 365 with Federation

Purpose

Enabling Active Directory Authentication Library (ADAL, also called modern authentication) is necessary as it enables sign-in features such as Multi-Factor Authentication (MFA), smart card, and certificate-based authentication for Office 365 client apps across different platforms which Practice Protect does offer as the Identity Provider. This provides more secure user authentication and access authorization

Prerequisites

  • Office 365 Account with Admin Access
  • Windows PowerShell
  • Exchange Online Management Module installed (if you don’t have one, run the command here to install the module)

Instructions

1. Open Windows PowerShell on your computer and run the below command. Press Y, to allow PowerShell to run signed scripts locally.

Set-ExecutionPolicy RemoteSigned


2. Run the below command. Once prompted for the login, enter your Office 365 account credential with admin access. This may take few seconds to be connected

Connect-ExchangeOnline

5. Verify if ADAL/Modern Authentication is enabled. Run the below command.

Get-OrganizationConfig | ft name, *OAuth*


6. If the result if False, run the following command to enable it.

Set-OrganizationConfig -OAuth2ClientProfileEnabled:$true

7. Verify it again by running the command below. It should now be enabled.

Get-OrganizationConfig | ft name, *OAuth*

Updated on March 30, 2023

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support