Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Represents the tenant-wide configuration of the resource policy service.
Access this singleton at /admin/resourcePolicy/configuration. It is always present. When privilegedReadSetting.appId is absent or null, fetchAsPolicy() is disabled for the tenant and fails with HTTP 403.
A stored configuration includes an @odata.etag annotation. Retrieve the current configuration and supply that value in the If-Match header when updating it to protect against concurrent changes. A stale ETag causes 412 Precondition Failed; retrieve the latest configuration before retrying.
Methods
| Method | Return type | Description |
|---|---|---|
| Get | resourcePolicyConfiguration | Read the tenant-wide configuration. |
| Update | None | Update the tenant-wide configuration. |
| Get federated identity credential subject | String | Compute a candidate application's credential subject value without activating the application. |
Properties
| Property | Type | Description |
|---|---|---|
| lastModifiedDateTime | DateTimeOffset | The date and time the object was last modified, in ISO 8601 format and UTC. Read-only. |
| privilegedReadSetting | privilegedReadSetting | The customer-owned application configuration for fetchAsPolicy(). |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.resourcePolicyConfiguration",
"privilegedReadSetting": {
"@odata.type": "microsoft.graph.privilegedReadSetting"
},
"lastModifiedDateTime": "String (timestamp)"
}