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.

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 appliesTo appManagementPolicy Return a list of applications and service principals to which the policy is applied.
Assign appliesTo 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 is a JSON representation of the resource.

{
  "@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"}
}