Skip to content

Commit 854150b

Browse files
authored
Update mfa-connect-to-exchange-online-powershell.md
1 parent 67184b5 commit 854150b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,13 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
133133
Get-PSSession | Remove-PSSession
134134
```
135135

136-
## Single Sign-On (SSO)
137-
If your organization has single sign-on enabled and you are logged into a computer as a user in that domain, then **Connect-EXPOPSSession** may fail with the error similar to "*New-ExoPSSession : User 'loggedonuser@contoso.com' returned by service does not match user
138-
'userprincipalname@contoso.com' in the request.*". This occurs because single sign-on overrides the specified userprincipalname. As a work-around, log into another non-domain-joined computer or log in as a local user on the computer and try again.
136+
## Single sign-on
137+
138+
If your organization has single sign-on (SSO) enabled and you are logged on to a computer as a user in the SSO domain, then **Connect-EXPOPSSession** may fail with the following error:
139+
140+
> New-ExoPSSession : User 'loggedonuser@contoso.com' returned by service does not match user 'userprincipalname@contoso.com' in the request.
141+
142+
This error occurs because single sign-on overrides the specified user principal name (UPN). As a work-around, connect from a non-domain-joined computer or log on to the domain-joined computer using a local user account.
139143

140144
## How do you know this worked?
141145

0 commit comments

Comments
 (0)