Skip to content

Commit ddcd3e2

Browse files
authored
Merge pull request MicrosoftDocs#10209 from MicrosoftDocs/AccessToken-chrisda
AccessToken-chrisda to Main
2 parents 1d4767d + 3d1927a commit ddcd3e2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Connect-ExchangeOnline
3333
[[-Prefix] <String>]
3434
[[-CommandName] <String[]>]
3535
[[-FormatTypeName] <String[]>]
36+
[-AccessToken <String>]
3637
[-AppId <String>]
3738
[-BypassMailboxAnchoring]
3839
[-Certificate <X509Certificate2>]
@@ -280,6 +281,26 @@ Accept pipeline input: False
280281
Accept wildcard characters: False
281282
```
282283

284+
### -AccessToken
285+
**Note**: This parameter is available in version 3.1.0-Preview1 or later of the module.
286+
287+
The AccessToken parameter specifies the OAuth JSON Web Token (JWT) that's used to connect to ExchangeOnline.
288+
289+
Depending on the type of access token, you need to use this parameter with the Organization, DelegatedOrganization, or UserPrincipalName parameter.
290+
291+
```yaml
292+
Type: String
293+
Parameter Sets: (All)
294+
Aliases:
295+
Applicable: Exchange Online
296+
297+
Required: False
298+
Position: Named
299+
Default value: None
300+
Accept pipeline input: False
301+
Accept wildcard characters: False
302+
```
303+
283304
### -AppId
284305
The AppId parameter specifies the application ID of the service principal that's used in certificate based authentication (CBA). A valid value is the GUID of the application ID (service principal). For example, `36ee4c6c-0812-40a2-b820-b22ebd02bce3`.
285306

0 commit comments

Comments
 (0)