Skip to content

Commit ecd6a65

Browse files
committed
Updated example for Set-MgBetaApplicationConnectorGroupByRef
1 parent 31f1a58 commit ecd6a65

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)