Skip to content

Instantly share code, notes, and snippets.

@rbrayb
Last active March 15, 2020 07:56
Show Gist options
  • Save rbrayb/c0b059f78ff3e01c3de178729d1fa23d to your computer and use it in GitHub Desktop.
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
@rohitchouhan08
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment