Hi @Luca Giorgi,
Thank you for posting your query on Microsoft Q&A.
As per our understanding, You are currently facing an issue where Markdown hyperlinks (e.g., terms of use) are no longer rendering correctly in the label of a custom Boolean attribute within your Entra External ID user flow (sign-up page). Instead of showing as a clickable link, the text is displayed as raw HTML, like <a href=...>terms of use</a>.
In Microsoft Entra External ID user flows, even though you can enter Markdown like terms of use in labels, the system doesn’t actually turn that into a clickable link. This is because Microsoft blocks (or "sanitizes") HTML in these fields to prevent security issues like cross-site scripting (XSS) attacks. So, even though the Markdown turns into an HTML link behind the scenes, it’s shown as plain text. Right now, there's no setting available to change this behavior.
Please do try the below steps and let us know if it works: Use the Built-In Terms of Use Feature
If you just want to show a proper link for your Terms of Use, the easiest way is to use the built-in feature:
- Go to Azure Portal → Microsoft Entra ID → External Identities → Terms of Use.
- Create a new policy. You can either upload a PDF or provide a direct URL.
- In your user flow, go to User attributes & tokens, and turn on Require terms of use.
With this setup, the system will show a clickable link to your terms that users must accept before signing up.
Use a Custom Policy and Your Own Web Page
If you need more control—like showing the link exactly how you want it—you can create your own custom sign-up page:
- Download Microsoft’s Azure AD B2C custom policy starter pack (it also works for Entra External ID).
- Edit the XML policy file, and change the <ContentDefinition> section so it points to your own hosted HTML page.
- In your HTML page, you can write the label exactly how you want it. For example: Html:
<input type="checkbox" id="terms" required> <label for="terms">I agree to the <a href="https://woodgrove.com/terms-of-use" target="_blank">Terms of Use</a></label>
- Upload your custom policy and test the sign-up flow.
Hope the information provided helps resolve the issue. If not, feel free to share your questions — we're happy to help!