Active Directory Federation Services prompt=login parameter support
The following document describes the native support for the prompt=login parameter that is available in AD FS.
What is prompt=login?
Some Office 365 applications (with modern authentication enabled) send the prompt=login parameter to Azure AD as part of each authentication request. By default, Azure AD translates this into two parameters:
This can cause problems with corporate intranet and multi-factor authentication scenarios in which an authentication type other than username and password is desired.
AD FS in Windows Server 2012 R2 with the July 2016 update rollup introduced native support for the prompt=login parameter. This means, you now have the option of configuring Azure AD to send this parameter as-is to your AD FS service as part of Azure AD and Office 365 authentication requests.
AD FS versions that support prompt=login
The following is a list of AD FS versions that support the prompt=login parameter.
AD FS in Windows Server 2012 R2 with the July 2016 update rollup
AD FS in Windows Server 2016
How do to configure your Azure AD tenant to send prompt=login to AD FS
Use the Azure AD PowerShell module to configure the setting.
The prompt=login capability (enabled by the PromptLoginBehavior property) is currently available only in the ‘version 1.0’ Azure AD Powershell module, in which the cmdlets have names that include “Msol”, such as Set-MsolDomainFederationSettings. It is not currently available via ‘version 2.0’ Azure AD PowerShell module, whose cmdlets have names like “Set-AzureAD*”.
To configure prompt=login behavior, the cmdlet syntax below:
Set-MsolDomainFederationSettings –DomainName <your domain name> -PreferredAuthenticationProtocol <your current protocol setting>
Set-MsolDomainFederationSettings –DomainName <your domain name> -SupportsMfa <$True|$False>
Set-MsolDomainFederationSettings –DomainName <your domain name> -PromptLoginBehavior <TranslateToFreshPasswordAuth|NativeSupport|Disabled>
The PreferredAuthenticationProtocol, SupportsMfa, and PromptLoginBehavior property values can be found by viewing the output from the cmdlet:
Get-MsolDomainFederationSettings -DomainName <your_domain_name> | fl *
By default, when running Get-MsolDomainFederationSettings, certain properties are not displayed in the console. To view these parameters it is recommended that you use the | fl * to force the output of all of the properties of the object.
The following is more information about the PromptLoginBehavior paramter and its settings.
- TranslateToFreshPasswordAuth means the default Azure AD behavior of sending wauth and wfresh to AD FS instead of prompt=login
- NativeSupport means that the prompt=login parameter will be sent as is to AD FS
- Disabled means nothing will be sent to AD FS