Skip to content

Commit 9d9f9d1

Browse files
committed
change.
1 parent 98d450b commit 9d9f9d1

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

support/windows-server/active-directory/troubleshoot-ad-fs-sso-issue.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ If the application that you want to access is Microsoft Online Services for Offi
206206
1. Get the current SupportsMFA domain federation setting by running the following command:
207207

208208
```powershell
209+
Connect-MgGraph -scopes Domain.ReadWrite.All, Directory.ReadWrite.All
209210
Get-MgDomainFederationConfiguration -DomainId <domain_id> | FL *
210211
```
211212

@@ -215,6 +216,12 @@ If the application that you want to access is Microsoft Online Services for Offi
215216
Update-MgDomainFederationConfiguration -DomainId <DomainName> -FederatedIdpMfaBehavior "acceptIfMfaDoneByFederatedIdp"
216217
```
217218

219+
3. Then, run the following command to sign out:
220+
221+
```powershell
222+
Disconnect-MgGraph
223+
```
224+
218225
### Check if SSO is disabled
219226

220227
If SSO is disabled, enable it and test if the issue is resolved.
@@ -244,7 +251,7 @@ Let's check the internal sign-in functionality using IdpInitiatedSignOn. To do t
244251
```
245252

246253
2. From a computer that is inside your network, visit the following page:
247-
`https://<FederationInstance>/adfs/ls/idpinitiatedsignon.aspx`
254+
`https://<FederationInstance>/adfs/ls/idpinitiatedsignon`
248255

249256
3. Enter the correct credentials of a valid user on the sign-in page.
250257

@@ -1079,4 +1086,5 @@ For more informaiton, see the following articles:
10791086
- [Get-MgDomainFederationConfiguration](/powershell/module/microsoft.graph.identity.directorymanagement/get-mgdomainfederationconfiguration)
10801087
- [Update-MgDomainFederationConfiguration](/powershell/module/microsoft.graph.identity.directorymanagement/update-mgdomainfederationconfiguration)
10811088
- [Connect-MgGraph](/powershell/microsoftgraph/authentication-commands#use-connect-mggraph)
1089+
- [Disconnect-MgGraph](/powershell/module/microsoft.graph.authentication/disconnect-mggraph)
10821090
- [Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser)

0 commit comments

Comments
 (0)