B2c: "userPrincipalName already exists" even though the user can't be found via the Graph API

2024-05-03T15:58:40.56+00:00

Since yesterday 10AM UTC+2 where having some issues with creating new users via the Graph API in one of our B2c tenants.

Some requests time out and retries end up with userPrincipalName already exists and HTTP 400.

The problem is: the actual user cannot be found via the user's search.

The user can also not be recreated.

After some time (mostly 30 to 60 minutes), the creation of the user is finally possible.

It affects about 1-3% of all requests.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,791 questions
{count} votes