Skip to content

Commit c7bdb0e

Browse files
committed
Removed duplicate files
1 parent 7e65c1a commit c7bdb0e

23 files changed

+101
-2153
lines changed

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/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

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/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

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/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

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/Microsoft.Graph.Authentication.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Microsoft.Graph.Authentication
3-
Module Guid: 853a8150-26d8-4706-8cf8-fd29bacbc20d
3+
Module Guid: 0fecf360-9875-4e02-998c-b6d7b663b6b
44
Download Help Link: https://learn.microsoft.com/powershell/module/Microsoft.Graph.Authentication
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -12,7 +12,7 @@ Microsoft Graph PowerShell Authentication Cmdlets
1212

1313
## Microsoft.Graph.Authentication Cmdlets
1414
### [Add-MgEnvironment](Add-MgEnvironment.md)
15-
{{ Fill in the Synopsis }}
15+
Adds Microsoft Graph environment to the settings file.
1616

1717
### [Connect-MgGraph](Connect-MgGraph.md)
1818
Microsoft Graph PowerShell supports two types of authentication: delegated and app-only access. There are a number of cmdlets that can be used to manage the different parameters required during authentication, for example, environment, application ID, and certificate.
@@ -33,23 +33,23 @@ Get-MgContext is used to retrieve the details about your current session, which
3333
When you use Connect-MgGraph, you can choose to target other environments. By default, Connect-MgGraph targets the global public cloud.
3434

3535
### [Get-MgGraphOption](Get-MgGraphOption.md)
36-
{{ Fill in the Synopsis }}
36+
Gets global configurations that apply to the SDK. For example, check if Web Account Manager (WAM) support has been enabled.
3737

3838
### [Get-MgRequestContext](Get-MgRequestContext.md)
39-
{{ Fill in the Synopsis }}
39+
Gets graph request context details
4040

4141
### [Invoke-MgGraphRequest](Invoke-MgGraphRequest.md)
4242
Invoke-MgGraphRequest issues REST API requests to the Graph API. It works for any Graph API if you know the REST URI, method, and optional body parameter. This command is especially useful for accessing APIs for which there isn't an equivalent cmdlet yet.
4343

4444
### [Remove-MgEnvironment](Remove-MgEnvironment.md)
45-
{{ Fill in the Synopsis }}
45+
Removes Microsoft Graph environment to the settings file
4646

4747
### [Set-MgEnvironment](Set-MgEnvironment.md)
48-
{{ Fill in the Synopsis }}
48+
Sets a Microsoft Graph environment to the settings file.
4949

5050
### [Set-MgGraphOption](Set-MgGraphOption.md)
51-
{{ Fill in the Synopsis }}
51+
Sets global configurations that apply to the SDK. For example, toggle Web Account Manager (WAM) support.
5252

5353
### [Set-MgRequestContext](Set-MgRequestContext.md)
54-
{{ Fill in the Synopsis }}
54+
Sets request context for Microsoft Graph invocations
5555

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/Remove-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
# Remove-MgEnvironment
99

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

1313
## SYNTAX
1414

@@ -17,16 +17,19 @@ Remove-MgEnvironment [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
20-
{{ Fill in the Description }}
20+
Removes Microsoft Graph environment to the settings file
2121

2222
## EXAMPLES
2323

24-
### Example 1
24+
### Example 1: Remove user-defined environment
2525
```powershell
26-
PS C:\> {{ Add example code here }}
26+
PS C:\> Remove-MgEnvironment Canary
27+
Name AzureADEndpoint GraphEndpoint Type
28+
---- --------------- ------------- ----
29+
Canary https://login.microsoftonline.com https://microsoftgraph.com User-defined
2730
```
2831

29-
{{ Add example description here }}
32+
Removes user-defined environment.
3033

3134
## PARAMETERS
3235

@@ -82,9 +85,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8285
## INPUTS
8386
8487
### System.String
88+
8589
## OUTPUTS
8690
8791
### Microsoft.Graph.PowerShell.Authentication.Models.GraphEnvironment
92+
8893
## NOTES
8994
9095
## RELATED LINKS

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/Set-MgEnvironment.md

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

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

1313
## SYNTAX
1414

@@ -18,16 +18,16 @@ Set-MgEnvironment [-Name] <String> [[-AzureADEndpoint] <String>] [[-GraphEndpoin
1818
```
1919

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

2323
## EXAMPLES
2424

25-
### Example 1
25+
### Example 1: Set environment for the current session
2626
```powershell
27-
PS C:\> {{ Add example code here }}
27+
PS C:\> Set-MgEnvironment -GraphEndpoint "https://canary.graph.microsoft.com" -AzureADEndpoint "https://login.microsoftonline.com"
2828
```
2929

30-
{{ Add example description here }}
30+
Sets the environment for the current session.
3131

3232
## PARAMETERS
3333

@@ -113,9 +113,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
113113
## INPUTS
114114
115115
### System.String
116+
116117
## OUTPUTS
117118
118119
### Microsoft.Graph.PowerShell.Authentication.Models.GraphEnvironment
120+
119121
## NOTES
120122
121123
## RELATED LINKS

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/Set-MgGraphOption.md

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

1010
## SYNOPSIS
11-
{{ Fill in the Synopsis }}
11+
Sets global configurations that apply to the SDK. For example, toggle Web Account Manager (WAM) support.
1212

1313
## SYNTAX
1414

@@ -17,16 +17,16 @@ Set-MgGraphOption [-EnableLoginByWAM <Boolean>] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
20-
{{ Fill in the Description }}
20+
Sets global configurations that apply to the SDK. For example, toggle Web Account Manager (WAM) support.
2121

2222
## EXAMPLES
2323

24-
### Example 1
24+
### Example 1: Set web account manager support
2525
```powershell
26-
PS C:\> {{ Add example code here }}
26+
PS C:\> Set-MgGraphOption -EnableLoginByWAM $True
2727
```
2828

29-
{{ Add example description here }}
29+
Sets web account manager support
3030

3131
## PARAMETERS
3232

@@ -51,6 +51,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
5151
## INPUTS
5252
5353
### None
54+
5455
## OUTPUTS
5556
5657
### System.Object

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Authentication/Set-MgRequestContext.md

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

1010
## SYNOPSIS
11-
{{ Fill in the Synopsis }}
11+
Sets request context for Microsoft Graph invocations
1212

1313
## SYNTAX
1414

@@ -18,16 +18,49 @@ Set-MgRequestContext [-RetryDelay <Int32>] [-MaxRetry <Int32>] [-RetriesTimeLimi
1818
```
1919

2020
## DESCRIPTION
21-
{{ Fill in the Description }}
21+
Sets request context for Microsoft Graph invocations
2222

2323
## EXAMPLES
2424

25-
### Example 1
25+
### Example 1: Set Http client timeout in seconds
2626
```powershell
27-
PS C:\> {{ Add example code here }}
27+
PS C:\> Set-MgRequestContext -ClientTimeout 5
28+
ClientTimeout RetryDelay MaxRetry RetriesTimeLimit
29+
------------- ---------- -------- ----------------
30+
00:00:05 3 2 00:00:00
2831
```
2932

30-
{{ Add example description here }}
33+
Sets Http client timeout in seconds.
34+
35+
### Example 2: Set the maximum time in seconds allowed for request retries
36+
```powershell
37+
PS C:\> Set-MgRequestContext -RetriesTimeLimit 2
38+
ClientTimeout RetryDelay MaxRetry RetriesTimeLimit
39+
------------- ---------- -------- ----------------
40+
00:00:05 3 2 00:00:02
41+
```
42+
43+
Sets the maximum time in seconds allowed for request retries.
44+
45+
### Example 3: Set the maximum number of retries for a request
46+
```powershell
47+
PS C:\> Set-MgRequestContext -MaxRetry 2
48+
ClientTimeout RetryDelay MaxRetry RetriesTimeLimit
49+
------------- ---------- -------- ----------------
50+
00:00:05 3 2 00:00:02
51+
```
52+
53+
Sets the maximum number of retries for a request.
54+
55+
### Example 4: Set the waiting time in seconds before retrying a request
56+
```powershell
57+
PS C:\> Set-MgRequestContext -RetryDelay 3
58+
ClientTimeout RetryDelay MaxRetry RetriesTimeLimit
59+
------------- ---------- -------- ----------------
60+
00:00:05 3 2 00:00:02
61+
```
62+
63+
Sets the waiting time in seconds before retrying a request.
3164

3265
## PARAMETERS
3366

@@ -130,9 +163,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
130163
## INPUTS
131164
132165
### System.Int32
166+
133167
## OUTPUTS
134168
135169
### Microsoft.Graph.PowerShell.Authentication.Core.Interfaces.IRequestContext
170+
136171
## NOTES
137172
138173
## RELATED LINKS

0 commit comments

Comments
 (0)