Skip to content

Commit 8adde4f

Browse files
microsoft-graph-devx-bot[bot]Microsoft Graph DevX Tooling
andauthored
Updating examples (#3820)
Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
1 parent 4889fd0 commit 8adde4f

37 files changed

Lines changed: 448 additions & 11 deletions

File tree

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
### Example
2-
3-
```powershell
4-
5-
Import-Module Microsoft.Graph.Beta.Applications
6-
7-
Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
8-
9-
```
10-
This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet.
11-
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example 1: Code snippet
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement
6+
7+
Get-MgBetaDirectoryRemoteTenantGroup
8+
9+
```
10+
This example shows how to use the Get-MgBetaDirectoryRemoteTenantGroup Cmdlet.
11+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example 1: Code snippet
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Identity.Governance
6+
7+
Clear-MgBetaIdentityGovernanceLifecycleWorkflowQuarantine -WorkflowId $workflowId
8+
9+
```
10+
This example shows how to use the Clear-MgBetaIdentityGovernanceLifecycleWorkflowQuarantine Cmdlet.
11+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example 1: List user-centric access review definitions
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Identity.Governance
6+
7+
Get-MgBetaIdentityGovernanceAccessReviewUnifiedDefinition
8+
9+
```
10+
This example will list user-centric access review definitions
11+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example 1: Get a subjectProcessingResult
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Identity.Governance
6+
7+
Get-MgBetaIdentityGovernanceLifecycleWorkflowRunSubjectProcessingResult -WorkflowId $workflowId -RunId $runId -SubjectProcessingResultId $subjectProcessingResultId
8+
9+
```
10+
This example will get a subjectprocessingresult
11+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example 1: Code snippet
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Identity.Governance
6+
7+
Clear-MgIdentityGovernanceLifecycleWorkflowQuarantine -WorkflowId $workflowId
8+
9+
```
10+
This example shows how to use the Clear-MgIdentityGovernanceLifecycleWorkflowQuarantine Cmdlet.
11+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Example 1: Code snippet
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Reports
6+
7+
$params = @{
8+
metric = "egressReport"
9+
}
10+
11+
Disable-MgBetaAdminReportSettingSharePointApiUsageReport -BodyParameter $params
12+
13+
```
14+
This example shows how to use the Disable-MgBetaAdminReportSettingSharePointApiUsageReport Cmdlet.
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Example 1: Code snippet
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Reports
6+
7+
$params = @{
8+
metric = "egressReport"
9+
}
10+
11+
Enable-MgBetaAdminReportSettingSharePointApiUsageReport -BodyParameter $params
12+
13+
```
14+
This example shows how to use the Enable-MgBetaAdminReportSettingSharePointApiUsageReport Cmdlet.
15+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example 1: Code snippet
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Reports
6+
7+
Get-MgBetaAdminReportSettingSharePointApiUsageReportMetric
8+
9+
```
10+
This example shows how to use the Get-MgBetaAdminReportSettingSharePointApiUsageReportMetric Cmdlet.
11+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example 1: Code snippet
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Reports
6+
7+
Get-MgBetaAuditLogAuditActivityType
8+
9+
```
10+
This example shows how to use the Get-MgBetaAuditLogAuditActivityType Cmdlet.
11+

0 commit comments

Comments
 (0)