Skip to content

Commit

Permalink
Updated expected message
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and FehintolaObafemi committed Aug 28, 2024
1 parent 252fcd0 commit 4ca2480
Showing 1 changed file with 39 additions and 7 deletions.
46 changes: 39 additions & 7 deletions src/Authentication/docs/Connect-MgGraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,40 @@ Microsoft Graph PowerShell supports two types of authentication: delegated and a
```
Connect-MgGraph [[-Scopes] <String[]>] [[-ClientId] <String>] [-TenantId <String>]
[-ContextScope <ContextScope>] [-Environment <String>] [-UseDeviceCode] [-ClientTimeout <Double>] [-NoWelcome]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### AppCertificateParameterSet
```
Connect-MgGraph [-ClientId] <String> [[-CertificateSubjectName] <String>] [[-CertificateThumbprint] <String>]
[-Certificate <X509Certificate2>] [-TenantId <String>] [-ContextScope <ContextScope>] [-Environment <String>]
[-ClientTimeout <Double>] [-NoWelcome] [<CommonParameters>]
[-SendCertificateChain <Boolean>] [-Certificate <X509Certificate2>] [-TenantId <String>]
[-ContextScope <ContextScope>] [-Environment <String>] [-ClientTimeout <Double>] [-NoWelcome]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### IdentityParameterSet
```
Connect-MgGraph [[-ClientId] <String>] [-ContextScope <ContextScope>] [-Environment <String>]
[-ClientTimeout <Double>] [-Identity] [-NoWelcome] [<CommonParameters>]
[-ClientTimeout <Double>] [-Identity] [-NoWelcome] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### AppSecretCredentialParameterSet
```
Connect-MgGraph [-ClientSecretCredential <PSCredential>] [-TenantId <String>] [-ContextScope <ContextScope>]
[-Environment <String>] [-ClientTimeout <Double>] [-NoWelcome] [<CommonParameters>]
[-Environment <String>] [-ClientTimeout <Double>] [-NoWelcome] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

### AccessTokenParameterSet
```
Connect-MgGraph [-AccessToken] <SecureString> [-Environment <String>] [-ClientTimeout <Double>] [-NoWelcome]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### EnvironmentVariableParameterSet
```
Connect-MgGraph [-ContextScope <ContextScope>] [-Environment <String>] [-ClientTimeout <Double>]
[-EnvironmentVariable] [-NoWelcome] [<CommonParameters>]
[-EnvironmentVariable] [-NoWelcome] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -351,6 +353,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Scopes
An array of delegated permissions to consent to.
Expand All @@ -366,6 +383,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -SendCertificateChain
Include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication using given certificate.
```yaml
Type: Boolean
Parameter Sets: AppCertificateParameterSet
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -TenantId
The id of the tenant to connect to.
You can also use this parameter to specify your sign-in audience.
Expand Down

0 comments on commit 4ca2480

Please sign in to comment.