編輯

共用方式為


tenantAppManagementPolicy resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Tenant-wide application authentication method policy to enforce app management restrictions for all applications and service principals. This policy applies to all apps and service principals unless overridden when an appManagementPolicy is applied to the object.

Inherits from policyBase.

Methods

Method Return type Description
Get tenantAppManagementPolicy Read the properties of the default app management policy set for applications and service principals.
Update None Updates the default app management policy for applications and service principals.

Properties

Property Type Description
id String The default policy identifier.
displayName String The display name of the default policy. Inherited from policyBase.
description String The description of the default policy. Inherited from policyBase.
isEnabled Boolean Denotes whether the policy is enabled. Default value is false.
applicationRestrictions appManagementApplicationConfiguration Restrictions that apply as default to all application objects in the tenant.
servicePrincipalRestrictions appManagementServicePrincipalConfiguration Restrictions that apply as default to all service principal objects in the tenant.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/defaultAppManagementPolicy",
  "id": "string (identifier)",
  "description": "string",
  "displayName": "string",
  "isEnabled": false,
  "applicationRestrictions": {
    "@odata.type":"microsoft.graph.appManagementApplicationConfiguration"
  },
  "servicePrincipalRestrictions": {
    "@odata.type":"microsoft.graph.appManagementServicePrincipalConfiguration"
  }
}