編輯

共用方式為


appManagementPolicy resource type

Namespace: microsoft.graph

Restrictions on app management operations for specific applications and service principals. If this resource is not configured for an application or service principal, the restrictions default to the settings in the tenantAppManagementPolicy object.

To learn more about how to use app management policy, see Microsoft Entra application authentication methods API overview.

Methods

Method Return type Description
List appManagementPolicy Return a list of app management policies created for applications and service principals along with their properties.
Create appManagementPolicy Create an app management policy that can be assigned to an application or service principal object.
Get appManagementPolicy Get a single app management policy object.
Update None Update an app management policy.
Delete None Delete an app management policy from the collection of policies in appManagementPolicies.
List applies to appManagementPolicy Return a list of applications and service principals to which the policy is applied.
Create applies to None Return a list of applications and service principals to which the policy is applied.

Properties

Property Type Description
displayName String The display name of the policy. Inherited from policyBase.
description String The description of the policy. Inherited from policyBase.
id String The unique identifier for the policy.
isEnabled Boolean Denotes whether the policy is enabled.
restrictions appManagementConfiguration Restrictions that apply to an application or service principal object.

Relationships

Relationship Type Description
appliesTo directoryObject Collection of applications and service principals to which the policy is applied.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#policies/appManagementPolicies",
  "description": "String",
  "displayName": "String",
  "id": "String (identifier)",
  "isEnabled": "Boolean",
  "restrictions": {"@odata.type": "microsoft.graph.appManagementConfiguration"}
}