Edit

Get authenticationFeatureTogglePolicy

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.

Read the authenticationFeatureTogglePolicy for the authenticated tenant.

This method returns one policy object, not a collection. The kerberosChannelBinding setting is returned by default. When no tenant override exists, its value is notConfigured.

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.Read.AuthFeatureToggle Policy.ReadWrite.AuthFeatureToggle
Delegated (personal Microsoft account) Not supported. Not supported.
Application Policy.Read.AuthFeatureToggle Policy.ReadWrite.AuthFeatureToggle

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. This operation supports the following built-in roles, which provide only the least privilege necessary:

  • Directory Readers
  • Authentication Policy Administrator

HTTP request

GET /policies/authenticationFeatureTogglePolicy

Optional query parameters

This method supports the $select OData query parameter to customize the response, for example, /policies/authenticationFeatureTogglePolicy?$select=kerberosChannelBinding. Other query parameters, delta, and paging aren't supported. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and an authenticationFeatureTogglePolicy object in the 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.

Examples

Request

GET https://graph.microsoft.com/beta/policies/authenticationFeatureTogglePolicy

Response

HTTP/1.1 200 OK
Content-Type: application/json

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationFeatureTogglePolicy",
  "@odata.type": "#microsoft.graph.authenticationFeatureTogglePolicy",
  "id": "034bbe5e-0fd2-4d4a-bff2-583ccc349251",
  "kerberosChannelBinding": "enabled"
}