Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AD-FS-Prompt-Login.md #8021

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The following is a list of AD FS versions that support the `prompt=login` parame

Use the [Microsoft Graph PowerShell](/powershell/microsoftgraph/installation) module to configure the setting.

1. First obtain the current values of `FederatedIdpMfaBehavior`, `PreferredAuthenticationProtocol`, and `PromptLoginBehavior` for the federated domain by running the following PowerShell command:
1. First obtain the current values of 'Id' and `PromptLoginBehavior` for the federated domain by running the following PowerShell command:

```powershell
Get-MgDomainFederationConfiguration -DomainId <your_domain_name> | Format-List *
Expand All @@ -55,11 +55,14 @@ Use the [Microsoft Graph PowerShell](/powershell/microsoftgraph/installation) mo
2. Configure the desired value of `PromptLoginBehavior` by running the following command:

```powershell
New-MgDomainFederationConfiguration -DomainId <your_domain_name> `
-FederatedIdpMfaBehavior <current_value_from_step1> `
-PreferredAuthenticationProtocol <current_value_from_step1> `
-PromptLoginBehavior <TranslateToFreshPasswordAuth|NativeSupport|Disabled>
Update-MgDomainFederationConfiguration `
-DomainId <your_domain_name> `
-InternalDomainFederationId <Id from the get command above> `
-PromptLoginBehavior <translateToFreshPasswordAuth|nativeSupport|disabled>

```
> [!NOTE]
> The value for PromptLoginBehavior is case sensitive. The value should be one of the following. `translateToFreshPasswordAuth` `nativeSupport` `disabled`

Following are the possible values of `PromptLoginBehavior` parameter and their meaning:

Expand Down