Azure Active Directory certificate-based authentication with federation on iOS
To improve security, iOS devices can use certificate-based authentication (CBA) to authenticate to Azure Active Directory (Azure AD) using a client certificate on their device when connecting to the following applications or services:
- Office mobile applications such as Microsoft Outlook and Microsoft Word
- Exchange ActiveSync (EAS) clients
Using certificates eliminates the need to enter a username and password combination into certain mail and Microsoft Office applications on your mobile device.
Microsoft mobile applications support
|Azure Information Protection app|
|Skype for Business|
|Word / Excel / PowerPoint|
To use CBA with iOS, the following requirements and considerations apply:
- The device OS version must be iOS 9 or above.
- Microsoft Authenticator is required for Office applications on iOS.
- An identity preference must be created in the macOS Keychain that includes the authentication URL of the AD FS server. For more information, see Create an identity preference in Keychain Access on Mac.
The following Active Directory Federation Services (AD FS) requirements and considerations apply:
- The AD FS server must be enabled for certificate authentication and use federated authentication.
- The certificate needs to have to use Enhanced Key Usage (EKU) and contain the UPN of the user in the Subject Alternative Name (NT Principal Name).
Configure AD FS
For Azure AD to revoke a client certificate, the AD FS token must have the following claims. Azure AD adds these claims to the refresh token if they're available in the AD FS token (or any other SAML token). When the refresh token needs to be validated, this information is used to check the revocation:
http://schemas.microsoft.com/ws/2008/06/identity/claims/<serialnumber>- add the serial number of your client certificate
http://schemas.microsoft.com/2012/12/certificatecontext/field/<issuer>- add the string for the issuer of your client certificate
As a best practice, you also should update your organization's AD FS error pages with the following information:
- The requirement for installing the Microsoft Authenticator on iOS.
- Instructions on how to get a user certificate.
For more information, see Customizing the AD FS sign in page.
Use modern authentication with Office apps
Some Office apps with modern authentication enabled send
prompt=login to Azure AD in their request. By default, Azure AD translates
prompt=login in the request to AD FS as
wauth=usernamepassworduri (asks AD FS to do U/P Auth) and
wfresh=0 (asks AD FS to ignore SSO state and do a fresh authentication). If you want to enable certificate-based authentication for these apps, modify the default Azure AD behavior.
To update the default behavior, set the 'PromptLoginBehavior' in your federated domain settings to Disabled. You can use the MSOLDomainFederationSettings cmdlet to perform this task, as shown in the following example:
Set-MSOLDomainFederationSettings -domainname <domain> -PromptLoginBehavior Disabled
Support for Exchange ActiveSync clients
On iOS 9 or later, the native iOS mail client is supported. To determine if this feature is supported for all other Exchange ActiveSync applications, contact your application developer.
To configure certificate-based authentication in your environment, see Get started with certificate-based authentication for instructions.