Schema validation fails due to missing schema defined elements and attributes. I have added those missing components to the schema file so that my CI/CD of a working custom policy can be schema validated.
All modifications where checked against: Microsoft B2C documentation
Below is a summary of items:
Added JourneyInsights Element and defined attributes
Added ScriptExecution Element
Added boolean attribute Enabled to Localization element
Added attribute MergeBehavior to SupportedLanguages
Removed required attribute Culture from LocalizedResources
Added LocalizedResourcesReferences Element and subelements to ContentDefinition
Changed attribute ElementId from required to optional for LocalizedString element
Potential Issue:
The attribute ElementId under LocalizedString element is marked as mandatory but according to the documentation is not defined when the ElementType is set to UXElement. To address this i've changed the ElementId to optional
Schema validation fails due to missing schema defined elements and attributes. I have added those missing components to the schema file so that my CI/CD of a working custom policy can be schema validated. All modifications where checked against: Microsoft B2C documentation
Below is a summary of items:
Potential Issue: The attribute ElementId under LocalizedString element is marked as mandatory but according to the documentation is not defined when the ElementType is set to UXElement. To address this i've changed the ElementId to optional