Skip to content

Commit 217262b

Browse files
github-actions[bot]Microsoft Graph DevX Toolingpeombwa
authored
Docs Generation (#1594)
* Weekly OpenApiDocs Download. * Add generated MgCommandMetadata.json. [run ci] * Docs Generation for 10-26-2022 [run ci] Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com> Co-authored-by: Peter Ombwa <peombwa@microsoft.com>
1 parent 12ae09b commit 217262b

File tree

2,216 files changed

+54985
-19806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,216 files changed

+54985
-19806
lines changed

src/Applications/Applications/docs/v1.0-beta/Confirm-MgApplicationMemberGroup.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,46 @@ Because Microsoft 365 groups cannot contain other groups, membership in a Micros
5151

5252
## EXAMPLES
5353

54+
### Example 1: Check group memberships for a directory object
55+
```powershell
56+
Import-Module Microsoft.Graph.DirectoryObjects
57+
58+
$params = @{
59+
GroupIds = @(
60+
"f448435d-3ca7-4073-8152-a1fd73c0fd09"
61+
"bd7c6263-4dd5-4ae8-8c96-556e1c0bece6"
62+
"93670da6-d731-4366-94b5-abed40b6016b"
63+
"f5484ab1-4d4d-41ec-a9b8-754b3957bfc7"
64+
"c9103f26-f3cf-4004-a611-2a14e81b8f79"
65+
)
66+
}
67+
68+
Confirm-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
69+
```
70+
71+
This example shows how to use the Confirm-MgApplicationMemberGroup Cmdlet.
72+
73+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
74+
75+
### Example 2: Check group memberships for the signed-in user
76+
```powershell
77+
Import-Module Microsoft.Graph.Users.Actions
78+
79+
$params = @{
80+
GroupIds = @(
81+
"fee2c45b-915a-4a64b130f4eb9e75525e"
82+
"4fe90ae065a-478b9400e0a0e1cbd540"
83+
)
84+
}
85+
86+
# A UPN can also be used as -UserId.
87+
Confirm-MgUserMemberGroup -UserId $userId -BodyParameter $params
88+
```
89+
90+
This example shows how to use the Confirm-MgApplicationMemberGroup Cmdlet.
91+
92+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
93+
5494
## PARAMETERS
5595

5696
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Confirm-MgServicePrincipalMemberGroup.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,46 @@ Because Microsoft 365 groups cannot contain other groups, membership in a Micros
5151

5252
## EXAMPLES
5353

54+
### Example 1: Check group memberships for a directory object
55+
```powershell
56+
Import-Module Microsoft.Graph.DirectoryObjects
57+
58+
$params = @{
59+
GroupIds = @(
60+
"f448435d-3ca7-4073-8152-a1fd73c0fd09"
61+
"bd7c6263-4dd5-4ae8-8c96-556e1c0bece6"
62+
"93670da6-d731-4366-94b5-abed40b6016b"
63+
"f5484ab1-4d4d-41ec-a9b8-754b3957bfc7"
64+
"c9103f26-f3cf-4004-a611-2a14e81b8f79"
65+
)
66+
}
67+
68+
Confirm-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
69+
```
70+
71+
This example shows how to use the Confirm-MgServicePrincipalMemberGroup Cmdlet.
72+
73+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
74+
75+
### Example 2: Check group memberships for the signed-in user
76+
```powershell
77+
Import-Module Microsoft.Graph.Users.Actions
78+
79+
$params = @{
80+
GroupIds = @(
81+
"fee2c45b-915a-4a64b130f4eb9e75525e"
82+
"4fe90ae065a-478b9400e0a0e1cbd540"
83+
)
84+
}
85+
86+
# A UPN can also be used as -UserId.
87+
Confirm-MgUserMemberGroup -UserId $userId -BodyParameter $params
88+
```
89+
90+
This example shows how to use the Confirm-MgServicePrincipalMemberGroup Cmdlet.
91+
92+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
93+
5494
## PARAMETERS
5595

5696
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Get-MgApplicationById.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,31 @@ Some common uses for this function are to:
3232

3333
## EXAMPLES
3434

35+
### Example 1: Code snippet
36+
```powershell
37+
Import-Module Microsoft.Graph.DirectoryObjects
38+
39+
$params = @{
40+
Ids = @(
41+
"84b80893-8749-40a3-97b7-68513b600544"
42+
"5d6059b6-368d-45f8-91e1-8e07d485f1d0"
43+
"0b944de3-e0fc-4774-a49a-b135213725ef"
44+
"b75a5ab2-fe55-4463-bd31-d21ad555c6e0"
45+
)
46+
Types = @(
47+
"user"
48+
"group"
49+
"device"
50+
)
51+
}
52+
53+
Get-MgDirectoryObjectById -BodyParameter $params
54+
```
55+
56+
This example shows how to use the Get-MgApplicationById Cmdlet.
57+
58+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
59+
3560
## PARAMETERS
3661

3762
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Get-MgApplicationMemberGroup.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,37 @@ This function is transitive.
4545

4646
## EXAMPLES
4747

48+
### Example 1: Check group memberships for a directory object
49+
```powershell
50+
Import-Module Microsoft.Graph.DirectoryObjects
51+
52+
$params = @{
53+
SecurityEnabledOnly = $false
54+
}
55+
56+
Get-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
57+
```
58+
59+
This example shows how to use the Get-MgApplicationMemberGroup Cmdlet.
60+
61+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
62+
63+
### Example 2: Check group memberships for the signed-in user
64+
```powershell
65+
Import-Module Microsoft.Graph.Users.Actions
66+
67+
$params = @{
68+
SecurityEnabledOnly = $true
69+
}
70+
71+
# A UPN can also be used as -UserId.
72+
Get-MgUserMemberGroup -UserId $userId -BodyParameter $params
73+
```
74+
75+
This example shows how to use the Get-MgApplicationMemberGroup Cmdlet.
76+
77+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
78+
4879
## PARAMETERS
4980

5081
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Get-MgApplicationMemberObject.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@ Invoke action getMemberObjects
4343

4444
## EXAMPLES
4545

46+
### Example 1: Code snippet
47+
```powershell
48+
Import-Module Microsoft.Graph.DirectoryObjects
49+
50+
$params = @{
51+
SecurityEnabledOnly = $true
52+
}
53+
54+
Get-MgDirectoryObjectMemberObject -DirectoryObjectId $directoryObjectId -BodyParameter $params
55+
```
56+
57+
This example shows how to use the Get-MgApplicationMemberObject Cmdlet.
58+
59+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
60+
4661
## PARAMETERS
4762

4863
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Get-MgServicePrincipalById.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,31 @@ Some common uses for this function are to:
3232

3333
## EXAMPLES
3434

35+
### Example 1: Code snippet
36+
```powershell
37+
Import-Module Microsoft.Graph.DirectoryObjects
38+
39+
$params = @{
40+
Ids = @(
41+
"84b80893-8749-40a3-97b7-68513b600544"
42+
"5d6059b6-368d-45f8-91e1-8e07d485f1d0"
43+
"0b944de3-e0fc-4774-a49a-b135213725ef"
44+
"b75a5ab2-fe55-4463-bd31-d21ad555c6e0"
45+
)
46+
Types = @(
47+
"user"
48+
"group"
49+
"device"
50+
)
51+
}
52+
53+
Get-MgDirectoryObjectById -BodyParameter $params
54+
```
55+
56+
This example shows how to use the Get-MgServicePrincipalById Cmdlet.
57+
58+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
59+
3560
## PARAMETERS
3661

3762
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Get-MgServicePrincipalMemberGroup.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,37 @@ This function is transitive.
4545

4646
## EXAMPLES
4747

48+
### Example 1: Check group memberships for a directory object
49+
```powershell
50+
Import-Module Microsoft.Graph.DirectoryObjects
51+
52+
$params = @{
53+
SecurityEnabledOnly = $false
54+
}
55+
56+
Get-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
57+
```
58+
59+
This example shows how to use the Get-MgServicePrincipalMemberGroup Cmdlet.
60+
61+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
62+
63+
### Example 2: Check group memberships for the signed-in user
64+
```powershell
65+
Import-Module Microsoft.Graph.Users.Actions
66+
67+
$params = @{
68+
SecurityEnabledOnly = $true
69+
}
70+
71+
# A UPN can also be used as -UserId.
72+
Get-MgUserMemberGroup -UserId $userId -BodyParameter $params
73+
```
74+
75+
This example shows how to use the Get-MgServicePrincipalMemberGroup Cmdlet.
76+
77+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
78+
4879
## PARAMETERS
4980

5081
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Get-MgServicePrincipalMemberObject.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@ Invoke action getMemberObjects
4343

4444
## EXAMPLES
4545

46+
### Example 1: Code snippet
47+
```powershell
48+
Import-Module Microsoft.Graph.DirectoryObjects
49+
50+
$params = @{
51+
SecurityEnabledOnly = $true
52+
}
53+
54+
Get-MgDirectoryObjectMemberObject -DirectoryObjectId $directoryObjectId -BodyParameter $params
55+
```
56+
57+
This example shows how to use the Get-MgServicePrincipalMemberObject Cmdlet.
58+
59+
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
60+
4661
## PARAMETERS
4762

4863
### -AdditionalProperties

src/Applications/Applications/docs/v1.0-beta/Microsoft.Graph.Applications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Microsoft.Graph.Applications
3-
Module Guid: 96119067-19a0-41cb-af74-84919706e128
3+
Module Guid: f89e4f2e-ad5c-40c1-9d27-5f24d9927894
44
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.applications
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -513,7 +513,7 @@ Create new navigation property ref to agentGroups for onPremisesPublishingProfil
513513
Create new navigation property to connectors for onPremisesPublishingProfiles
514514

515515
### [New-MgOnPremisePublishingProfileConnectorGroup](New-MgOnPremisePublishingProfileConnectorGroup.md)
516-
Create a connectorGroup object.
516+
Create a new connectorGroup.
517517

518518
### [New-MgOnPremisePublishingProfileConnectorMemberOfByRef](New-MgOnPremisePublishingProfileConnectorMemberOfByRef.md)
519519
Create new navigation property ref to memberOf for onPremisesPublishingProfiles

0 commit comments

Comments
 (0)