@@ -206,6 +206,7 @@ If the application that you want to access is Microsoft Online Services for Offi
2062061 . 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
220227If 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
2462532 . 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
2492563 . 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