-
-
Save rbrayb/c0b059f78ff3e01c3de178729d1fa23d to your computer and use it in GitHub Desktop.
// Part of the file | |
<ContentDefinition Id="api.localaccountsignup"> | |
... | |
<Metadata> | |
<Item Key="DisplayName">Local account sign up page</Item> | |
</Metadata> | |
<LocalizedResourcesReferences MergeBehavior="Prepend"> | |
<LocalizedResourcesReference Language="en" LocalizedResourcesReferenceId="api.localaccountsignup.en" /> | |
</LocalizedResourcesReferences> | |
</ContentDefinition> | |
<Localization Enabled="true"> | |
<SupportedLanguages DefaultLanguage="en" MergeBehavior="ReplaceAll"> | |
<SupportedLanguage>en</SupportedLanguage> | |
</SupportedLanguages> | |
<LocalizedResources Id="api.localaccountsignup.en"> | |
<LocalizedStrings> | |
<LocalizedString ElementType="UxElement" StringId="ver_fail_no_retry">Attempt limit exceeded - please check your email for the correct code</LocalizedString> | |
</LocalizedStrings> | |
</LocalizedResources> | |
</Localization> | |
// Both are these are inside the <BuildingBlocks> section |
@rbrayb when i am uploading the the custom policy ,its throwing following error
Validation failed: 1 validation error(s) found in policy "B2C_1A_TRUSTFRAMEWORKEXTENSIONS" of tenant "DistCompliance.onmicrosoft.com".Schema validation error found at line 10 col 6 in policy "B2C_1A_TRUSTFRAMEWORKEXTENSIONS" of tenant "DistCompliance.onmicrosoft.com": The element 'BuildingBlocks' in namespace 'http://schemas.microsoft.com/online/cpim/schemas/2013/06' has invalid child element 'ContentDefinition' in namespace 'http://schemas.microsoft.com/online/cpim/schemas/2013/06'. List of possible elements expected: 'ClientDefinitions, ContentDefinitions, Localization, DisplayControls' in namespace 'http://schemas.microsoft.com/online/cpim/schemas/2013/06'.,
kindly suggest
https://medium.com/the-new-control-plane/customising-the-message-error-text-in-azure-ad-b2c-custom-policies-d1e1ff2640d3