Skip to content

Commit 15c9155

Browse files
authored
Merge pull request #2616 from microsoftgraph/Set-MgBetaApplicationConnectorGroupByRef_example
Updates example for Set-MgBetaApplicationConnectorGroupByRef
2 parents 31f1a58 + ecd6a65 commit 15c9155

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
### Example 1: Using the Set-MgBetaApplicationConnectorGroupByRef Cmdlet
1+
### Example 1: Code snippet
2+
23
```powershell
4+
35
Import-Module Microsoft.Graph.Beta.Applications
6+
47
$params = @{
5-
"@odata.id" = "https://graph.microsoft.com/onPremisesPublishingProfiles/applicationproxy/connectorGroups/{id}"
8+
"@odata.id" = "https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationproxy/connectorGroups/{id}"
69
}
10+
711
Set-MgBetaApplicationConnectorGroupByRef -ApplicationId $applicationId -BodyParameter $params
12+
813
```
914
This example shows how to use the Set-MgBetaApplicationConnectorGroupByRef Cmdlet.
10-
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
15+

0 commit comments

Comments
 (0)