Skip to content

Commit 1647e74

Browse files
MIchaelMainerMicrosoft Graph DevX Tooling
andauthored
Updating examples (#3453)
Co-authored-by: Microsoft Graph DevX Tooling <[email protected]>
1 parent 9ac607a commit 1647e74

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

src/Applications/beta/examples/Get-MgBetaApplicationFederatedIdentityCredential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Import-Module Microsoft.Graph.Beta.Applications
66
7-
Get-MgBetaApplicationFederatedIdentityCredential -ApplicationId $applicationId
7+
Get-MgBetaApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId
88
99
```
1010
This example shows how to use the Get-MgBetaApplicationFederatedIdentityCredential Cmdlet.
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
### Example 1: Code snippet
1+
### Example 1: Get application template
22

33
```powershell
44
55
Import-Module Microsoft.Graph.Beta.Applications
66
7-
Get-MgBetaApplicationTemplate
7+
Get-MgBetaApplicationTemplate -ApplicationTemplateId $applicationTemplateId
88
99
```
10-
This example shows how to use the Get-MgBetaApplicationTemplate Cmdlet.
10+
This example will get application template
11+
12+
### Example 2: Get application template with optional properties
13+
14+
```powershell
15+
16+
Import-Module Microsoft.Graph.Beta.Applications
17+
18+
Get-MgBetaApplicationTemplate -ApplicationTemplateId $applicationTemplateId -Property "id,displayName,riskScore,riskFactors"
19+
20+
```
21+
This example will get application template with optional properties
1122

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-

src/Applications/v1.0/examples/Get-MgApplicationFederatedIdentityCredential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Import-Module Microsoft.Graph.Applications
66
7-
Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId
7+
Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId
88
99
```
1010
This example shows how to use the Get-MgApplicationFederatedIdentityCredential Cmdlet.

0 commit comments

Comments
 (0)