-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Oct 6, 2023
1 parent
b422ca0
commit 6b2562a
Showing
3 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 14 additions & 6 deletions
20
src/Identity.SignIns/beta/examples/Get-MgBetaPolicyAppManagementPolicyApplyTo.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
### Example 1: Using the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet | ||
### Example 1: Get applications and service principal objects applied to an app management policy | ||
|
||
```powershell | ||
Import-Module Microsoft.Graph.Beta.Identity.SignIns | ||
Get-MgBetaPolicyAppManagementPolicyApplyTo -AppManagementPolicyId $appManagementPolicyId | ||
``` | ||
This example shows how to use the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet. | ||
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). | ||
### Example 2: Using the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet | ||
This example will get applications and service principal objects applied to an app management policy | ||
|
||
### Example 2: Get specific properties of applications and service principal objects applied to an app management policy using $select query option | ||
|
||
```powershell | ||
Import-Module Microsoft.Graph.Beta.Identity.SignIns | ||
Get-MgBetaPolicyAppManagementPolicyApplyTo -AppManagementPolicyId $appManagementPolicyId -Property "id,appId,displayName,createdDateTime" | ||
``` | ||
This example shows how to use the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet. | ||
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). | ||
This example will get specific properties of applications and service principal objects applied to an app management policy using $select query option | ||
|