@@ -152,7 +152,8 @@ curl "$IDENTITY_ENDPOINT?resource=https://vault.azure.net&api-version=2017-09-01
152152{{#endtab }}
153153{{#tab name="MS Graph" }}
154154
155- ``` powershellGet-MgTenantRelationshipDelegatedAdminCustomer
155+ ``` bash
156+ Get-MgTenantRelationshipDelegatedAdminCustomer
156157# Install the Microsoft Graph PowerShell module if not already installed
157158Install-Module Microsoft.Graph -Scope CurrentUser
158159
@@ -296,7 +297,7 @@ curl -X GET "https://graph.microsoft.com/beta/roleManagement/directory/roleDefin
296297
297298{{# tab name="MS Graph" }}
298299
299- ` ` ` powershell
300+ ` ` ` bash
300301# Enumerate users using Microsoft Graph PowerShell
301302Get-MgUser -All
302303
@@ -455,7 +456,7 @@ Get-AzRoleAssignment -ResourceGroupName <resource_group_name>
455456{{# endtab }}
456457{{# tab name="MS Graph" }}
457458
458- ` ` ` powershell
459+ ` ` ` bash
459460# Enumerate groups using Microsoft Graph PowerShell
460461Get-MgGroup -All
461462
@@ -591,7 +592,7 @@ $RequestParams = @{
591592{{# endtab }}
592593{{# tab name="MS Graph" }}
593594
594- ` ` ` powershell
595+ ` ` ` bash
595596# Get Service Principals using Microsoft Graph PowerShell
596597Get-MgServicePrincipal -All
597598
@@ -802,7 +803,7 @@ Get-AzADAppCredential
802803
803804{{# tab name="MS Graph" }}
804805
805- ` ` ` powershell
806+ ` ` ` bash
806807# List Applications using Microsoft Graph PowerShell
807808Get-MgApplication -All
808809
@@ -906,7 +907,7 @@ az role assignment list --all --query "[?principalName=='admin@organizationadmin
906907
907908{{# tab name="MS Graph" }}
908909
909- ` ` ` powershell
910+ ` ` ` bash
910911
911912# List all available role templates using Microsoft Graph PowerShell
912913Get-MgDirectoryRoleTemplate -All
@@ -1047,7 +1048,7 @@ Get-AzureADMSScopedRoleMembership -Id <id> | fl *
10471048{{# endtab }}
10481049{{# tab name="MS Graph" }}
10491050
1050- ` ` ` powershell
1051+ ` ` ` bash
10511052# Enumerate devices using Microsoft Graph PowerShell
10521053Get-MgDevice -All
10531054
0 commit comments