Azure AD B2C extension
The Azure AD B2C extension for VS Code lets you quickly navigate through Azure AD B2C custom policy. Create elements, such as: technical profiles and claim definition. For more information, see Get started with custom policies.
Having an issue?
Please contact us at firstname.lastname@example.org
To start working with your custom policy. Open you Visual Studio Code, and open your folder that containing the custom policy XML files. Or open the policy XML files directly from any folder.
Azure AD B2C Custom policy Features
With autocomplete feature, you can save your time customizing a B2C policy. B2C extension provides you the list of policy settings, claims, technical profiles, and claims transformation aggregated from your policy files. Select one of the following attributes and click ctrl+space (cmd+space), or start:
Custom policy explorer
From Custom policy explorer click the XML element type and select the element you want to open. Note: custom policy explorer shows elements from selected file only.
Go to definition and find all references
To go any XML element definition. Clt-Click, click F12 or right-click and select Go to definition or Peak definition. Note: Go to definition navigates you to the source element in the selected file only.
To search for references in your Open folder XML files or any XML file you open with VS code, select Find all references or click Shift+F12.
Adding XML elements
You can add following elements to your policy. Note: make sure your cursor is located in the right place.
Smart Copy & Paste
When you customize an XML element in the extension policy, Smart Copy allows you copy the entire element with its parents elements from the base policy. For example, when you copy the AAD-UserWriteUsingAlternativeSecurityId technical profile, smart copy generates an XML containing the following elements, so you don't need to look for the parents element, such as the claim provider.
Loading More data ...