Skip to content

Commit ad4142c

Browse files
authored
Merge pull request #13269 from paisvivekanand/patch-17
Revise AzureADAuthorizationEndpointUri values and tips
2 parents 185be84 + 8ac407f commit ad4142c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

exchange/exchange-ps/ExchangePowerShell/Connect-ExchangeOnline.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,14 @@ Accept wildcard characters: False
145145
146146
The AzureADAuthorizationEndpointUri parameter specifies the Microsoft Entra Authorization endpoint that can issue OAuth2 access tokens. The following Exchange Online PowerShell environments and related values are supported:
147147
148-
- Microsoft 365 or Microsoft 365 GCC: Don't use this parameter. The required value is `https://login.microsoftonline.com/common`, but that's also the default value, so you don't need to use this parameter.
149-
- Office 365 Germany: `https://login.microsoftonline.de/common`
150-
- Microsoft 365 GCC High or Microsoft 365 DoD: `https://login.microsoftonline.us/common`
148+
- Microsoft 365 or Microsoft 365 GCC: Don't use this parameter. The required value is `https://login.microsoftonline.com/organizations` or `https://login.microsoftonline.com/common`, but that's also the default value, so you don't need to use this parameter.
149+
- Office 365 Germany: `https://login.microsoftonline.de/organizations` or `https://login.microsoftonline.de/common`
150+
- Microsoft 365 GCC High or Microsoft 365 DoD: `https://login.microsoftonline.us/organizations` or `https://login.microsoftonline.us/common`
151151

152152
If you use the UserPrincipalName parameter, you don't need to use the AzureADAuthorizationEndpointUri parameter for MFA or federated users in environments that normally require it (UserPrincipalName or AzureADAuthorizationEndpointUri is required; OK to use both).
153153

154+
If you use the URI value ending in `/organizations`, only work or school accounts are allowed. Users aren't prompted to choose between personal accounts and work or school accounts. We recommend the `/organizations` URI value in enterprise scenarios where consumer accounts should be excluded.
155+
154156
**Note**: MFA authentication or federated authentication isn't available in Office 365 operated by 21Vianet.
155157

156158
```yaml

0 commit comments

Comments
 (0)