From c68374393ac9217831663c2f26aef4c892c20df2 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 14 Nov 2025 04:10:25 +0000 Subject: [PATCH] Updating examples --- .../examples/Get-MgBetaApplicationTemplate.md | 17 ++++++++++++++--- ...taServicePrincipalSynchronizationTemplate.md | 11 ----------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md b/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md index 24f32956cc7..d8b35bc5bc4 100644 --- a/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md +++ b/src/Applications/beta/examples/Get-MgBetaApplicationTemplate.md @@ -1,11 +1,22 @@ -### Example 1: Code snippet +### Example 1: Get application template ```powershell Import-Module Microsoft.Graph.Beta.Applications -Get-MgBetaApplicationTemplate +Get-MgBetaApplicationTemplate -ApplicationTemplateId $applicationTemplateId ``` -This example shows how to use the Get-MgBetaApplicationTemplate Cmdlet. +This example will get application template + +### Example 2: Get application template with optional properties + +```powershell + +Import-Module Microsoft.Graph.Beta.Applications + +Get-MgBetaApplicationTemplate -ApplicationTemplateId $applicationTemplateId -Property "id,displayName,riskScore,riskFactors" + +``` +This example will get application template with optional properties diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md index d05037861a5..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md +++ b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md @@ -1,11 +0,0 @@ -### Example - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId - -``` -This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet. -