Announcements
The error message you're seeing:
"The username "18a[BLOCKED_SECTION]b7f" is already taken."
Indicates that the system is attempting to create a user account with a username that already exists. Let's break down why this is happening in your scenario, and how to fix it.
Understanding the Problem
adx_identity_username
is not a username: The adx_identity_username
field you're using is intended to store the Azure AD B2C objectid
, which is a unique GUID. It is not meant to be used as a traditional username for login.objectid
(which is a GUID) as the username during this internal registration process. Since GUIDs are intended to be unique, this is likely a misconfiguration or a flaw in how Power Pages is handling the objectid
in your specific setup.
Troubleshooting and Solutions
objectid
to adx_identity_username
is fine for storing it, but it's not the right claim to use for login.
Example Correction (using email as username)
Let's assume your B2C policy returns the email address as the claim emails[0]
.
adx_identity_username=emails[0]
(or whatever the correct claim name is).objectid
as a username. It should only be storing the objectid
in the adx_identity_username
field.Important Note:
adx_identity_username
field should NOT be used for login. It's simply a place to store the B2C objectid
.By correcting your login claims mapping and ensuring that registration is properly disabled, you should resolve the "username already taken" error. Remember to use a unique user identifier (like email) as the username for login.
André Arnaud de Cal...
294,125
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator