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.
Update the kerberosChannelBinding setting of the authenticationFeatureTogglePolicy for the authenticated tenant.
This method updates the existing singleton policy; it doesn't create a policy or support upsert. Settings are scalar properties, not child resources.
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
| Permission type | Least privileged permissions | Higher privileged permissions |
|---|---|---|
| Delegated (work or school account) | Policy.ReadWrite.AuthFeatureToggle | Not available. |
| Delegated (personal Microsoft account) | Not supported. | Not supported. |
| Application | Policy.ReadWrite.AuthFeatureToggle | Not available. |
Important
For delegated access using work or school accounts, the signed-in user must be assigned a supported Microsoft Entra role or a custom role that grants the permissions required for this operation. Authentication Policy Administrator is the least privileged role supported for this operation.
Administrative-unit-scoped roles don't authorize this tenant-wide update.
HTTP request
PATCH /policies/authenticationFeatureTogglePolicy
Request headers
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Content-Type | application/json. Required. |
Request body
In the request body, supply a JSON representation of the properties to update.
| Property | Type | Description |
|---|---|---|
| kerberosChannelBinding | featureToggleState | Optional. The tenant-wide Kerberos channel-binding enforcement state. The accepted values are enabled, disabled, reportOnly, and notConfigured. Values are case-sensitive. The unknownFutureValue value is response-only and can't be supplied in a request. |
Omitted settings retain their previous values. An empty JSON object ({}) leaves the policy unchanged.
To reset the setting's tenant override to the Microsoft Entra service baseline, supply notConfigured. This differs from disabled, which turns enforcement off even if the service baseline would enforce it. A null value doesn't reset the setting and isn't accepted.
Don't supply the read-only id property or additional properties. Null or malformed values, duplicate JSON members, unsupported settings, and invalid enum values return 400 Bad Request without partially applying the update. Property-name casing alone isn't an error; use the canonical name kerberosChannelBinding.
ETags and conditional-update semantics aren't exposed.
Response
If successful, this method returns a 204 No Content response code and an empty response body.
This method returns 403 Forbidden if the caller lacks the required permission or delegated role access, 404 Not Found if the policy is unavailable to the authenticated tenant, or 503 Service Unavailable if the policy service is unavailable. If a failed or lost response leaves the update outcome uncertain, read the policy before deciding whether to retry.
Examples
Example 1: Turn off enforcement
Request
PATCH https://graph.microsoft.com/beta/policies/authenticationFeatureTogglePolicy
Content-Type: application/json
{
"kerberosChannelBinding": "disabled"
}
Response
HTTP/1.1 204 No Content
Example 2: Evaluate enforcement without blocking authentication
Set kerberosChannelBinding to reportOnly to continue authentication without enforcement and record the would-be enforcement result in sign-in logs.
Request
PATCH https://graph.microsoft.com/beta/policies/authenticationFeatureTogglePolicy
Content-Type: application/json
{
"kerberosChannelBinding": "reportOnly"
}
Response
HTTP/1.1 204 No Content
Example 3: Reset the tenant override
Set kerberosChannelBinding to notConfigured to reset the setting to the Microsoft Entra service baseline.
Request
PATCH https://graph.microsoft.com/beta/policies/authenticationFeatureTogglePolicy
Content-Type: application/json
{
"kerberosChannelBinding": "notConfigured"
}
Response
HTTP/1.1 204 No Content