Skip to content

Commit 83352a8

Browse files
authored
Merge branch 'dev' into WeeklyApiRefresh/202310031621
2 parents 4f10e36 + 991c433 commit 83352a8

29 files changed

+192
-43
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adds Microsoft Graph environment to the settings file.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Gets global configurations that apply to the SDK. For example, check if Web Account Manager (WAM) support has been enabled.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Gets graph request context details
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removes Microsoft Graph environment to the settings file
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sets a Microsoft Graph environment to the settings file.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sets global configurations that apply to the SDK. For example, toggle Web Account Manager (WAM) support.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sets request context for Microsoft Graph invocations

src/Authentication/docs/Add-MgEnvironment.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Add-MgEnvironment
99

1010
## SYNOPSIS
11-
{{ Fill in the Synopsis }}
11+
Adds Microsoft Graph environment to the settings file.
1212

1313
## SYNTAX
1414

@@ -18,16 +18,19 @@ Add-MgEnvironment [-Name] <String> [-AzureADEndpoint] <String> [-GraphEndpoint]
1818
```
1919

2020
## DESCRIPTION
21-
{{ Fill in the Description }}
21+
Adds Microsoft Graph environment to the settings file.
2222

2323
## EXAMPLES
2424

25-
### Example 1
25+
### Example 1: Add user defined environment
2626
```powershell
27-
PS C:\> {{ Add example code here }}
27+
PS C:\> Add-MgEnvironment -Name "Canary" -GraphEndpoint "https://canary.graph.microsoft.com" -AzureADEndpoint "https://login.microsoftonline.com"
28+
Name AzureADEndpoint GraphEndpoint Type
29+
---- --------------- ------------- ----
30+
Canary https://login.microsoftonline.com https://microsoftgraph.com User-defined
2831
```
2932

30-
{{ Add example description here }}
33+
Adds user defined environment.
3134

3235
## PARAMETERS
3336

@@ -113,9 +116,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
113116
## INPUTS
114117
115118
### System.String
119+
116120
## OUTPUTS
117121
118122
### Microsoft.Graph.PowerShell.Authentication.Models.GraphEnvironment
123+
119124
## NOTES
120125
121126
## RELATED LINKS

src/Authentication/docs/Get-MgGraphOption.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Get-MgGraphOption
99

1010
## SYNOPSIS
11-
{{ Fill in the Synopsis }}
11+
Gets global configurations that apply to the SDK. For example, check if Web Account Manager (WAM) support has been enabled.
1212

1313
## SYNTAX
1414

@@ -17,16 +17,19 @@ Get-MgGraphOption [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
20-
{{ Fill in the Description }}
20+
Gets global configurations that apply to the SDK. For example, check if Web Account Manager (WAM) support has been enabled.
2121

2222
## EXAMPLES
2323

24-
### Example 1
24+
### Example 1: Check if WAM support has been enabled
2525
```powershell
26-
PS C:\> {{ Add example code here }}
26+
PS C:\> Get-MgGraphOption
27+
EnableWAMForMSGraph
28+
--------------------
29+
True
2730
```
2831

29-
{{ Add example description here }}
32+
Confirms if WAM support has been enabled.
3033

3134
## PARAMETERS
3235

@@ -36,9 +39,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
3639
## INPUTS
3740

3841
### None
42+
3943
## OUTPUTS
4044

4145
### Microsoft.Graph.PowerShell.Authentication.IGraphOption
46+
4247
## NOTES
4348

4449
## RELATED LINKS

src/Authentication/docs/Get-MgRequestContext.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Get-MgRequestContext
99

1010
## SYNOPSIS
11-
{{ Fill in the Synopsis }}
11+
Gets graph request context details
1212

1313
## SYNTAX
1414

@@ -17,16 +17,19 @@ Get-MgRequestContext [-WhatIf] [-Confirm] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
20-
{{ Fill in the Description }}
20+
Gets graph request context details
2121

2222
## EXAMPLES
2323

24-
### Example 1
24+
### Example 1: Get request context
2525
```powershell
26-
PS C:\> {{ Add example code here }}
26+
PS C:\> Get-MgRequestContext
27+
ClientTimeout RetryDelay MaxRetry RetriesTimeLimit
28+
------------- ---------- -------- ----------------
29+
00:00:05 3 2 00:00:02
2730
```
2831

29-
{{ Add example description here }}
32+
Gets graph request context details
3033

3134
## PARAMETERS
3235

@@ -67,9 +70,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
6770
## INPUTS
6871
6972
### None
73+
7074
## OUTPUTS
7175
7276
### Microsoft.Graph.PowerShell.Authentication.Core.Interfaces.IRequestContext
77+
7378
## NOTES
7479
7580
## RELATED LINKS

0 commit comments

Comments
 (0)