b2cAuthenticationMethodsPolicy 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.
Azure Active Directory (Azure AD) B2C allows tenant admins to choose a mechanism for letting end users register via local accounts. Local accounts are the accounts where Microsoft Entra ID does the identity assertion, as opposed to a federated identity provider such as Google or Facebook etc.
The local accounts in Azure AD B2C do not follow the settings or paradigms from Microsoft Entra ID. The Microsoft Entra authentication methods policy isn't used or enforced by Azure AD B2C. Azure AD B2C stores these settings in a different policy, which is consumed by user flows.
Methods
Method | Return type | Description |
---|---|---|
Get b2cAuthenticationMethodsPolicy | b2cauthenticationmethodspolicy | Read the properties of a b2cauthenticationmethodspolicy object. |
Update b2cAuthenticationMethodsPolicy | None | Update the properties of a b2cauthenticationmethodspolicy objects. |
Properties
Property | Type | Description |
---|---|---|
id | String | The ID of the B2C authentication methods policy. This is a read only property and the key. |
isEmailPasswordAuthenticationEnabled | Boolean | The tenant admin can configure local accounts using email if the email and password authentication method is enabled. |
isUserNameAuthenticationEnabled | Boolean | The tenant admin can configure local accounts using username if the username and password authentication method is enabled. |
isPhoneOneTimePasswordAuthenticationEnabled | Boolean | The tenant admin can configure local accounts using phone number if the phone number and one-time password authentication method is enabled. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"id": "b2CAuthenticationMethodsPolicy",
"isEmailPasswordAuthenticationEnabled": true,
"isUserNameAuthenticationEnabled": false,
"isPhoneOneTimePasswordAuthenticationEnabled": true
}
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기