Max length on email adress during signup

Johan Gustafsson 80 Reputation points
2025-04-24T19:13:43.6066667+00:00

Hi!

we have our entra external id tenant integrated with a Wordpress website. On the Wordpress side there is a max length on the user name of 60 characters, and the user’s email address become the user name if the WP side. Is there any way to define a limit on the email adress a user can sign up with in entra external id? I assume that this might be possible to achieve either a OnAttributeCollectionStart event api endpoint I am just hoping that perhaps there is a simpler solution for this as it is such a simple and static functionality…

br Johan

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
3,173 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kancharla Saiteja 4,195 Reputation points Microsoft External Staff Moderator
    2025-04-24T23:49:13.9666667+00:00

    Hi @Johan Gustafsson,

    Based on your query, here is my understanding: you would like to limit user sign up only once with email address.

    As you have mentioned, OnAttributeCollectionStar is the only way currently Entra External ID can restrict the user sign up with same email address. This is the most effective way to restrict the sign up and make the job easy. This is mostly a one-time configuration which helps you avoiding multiple entries with same email address sign up. This is coded and works as per your restrictions and blocks the user accordingly. Unfortunately, we do not have any alternate solution to provide which is similar to the same.

    I would like to request you to provide feedback and new ideas on the same in our Azure feedback forum: Feedback Forum which can be visible for our product team. If this gets upvoted by many customers, then product team would think of the best possible feature on the same.

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

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

    0 comments No comments

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.