Entra External ID Custom Branding - Custom CSS limitations

Machado, Eduardo 80 Reputation points
2025-08-26T16:11:50.1833333+00:00

Hi,

I want to customize (CSS) just one of the secondary buttons (Cancel button of the SignUp) of the default user flow. I've tried a lot of approaches to identify only one of them on the CSS file, but nothing seems to work. I only manage to identify all of them with the ".ext-button.ext-secondary" class.

Is this the expected behavior or is there any workaround to deal with it?

Thanks a lot

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

Accepted answer
  1. Swaroop Kolli 5,160 Reputation points Microsoft External Staff Moderator
    2025-08-28T02:39:27.2466667+00:00

    Hello @Machado, Eduardo,

    Yes, unfortunately this behavior is expected, and there is no built-in way to uniquely target just one secondary button like the Cancel button using CSS alone in Entra External ID's default user flow. The .ext-button.ext-secondary class applies to all secondary buttons, and Entra External ID does not expose unique IDs or additional classes for individual buttons in the default flow.

    The workaround is to switch to the custom policies where you can host your own HTML templates. This gives you full markup control: add IDs, unique classes, even custom JS.

    As of now, this is the only supported way to reliably target individual elements like Cancel.

    Unfortunately, we had hit the limitation, we always look to improve and would love to hear your thoughts. If you have any ideas or feedback on the feature in the question, please let us know your idea in the below given portal and our development team would be constantly monitoring them. https://feedbackportal.microsoft.com/feedback


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.