Share via

ADB2C User creation error

Venkata Nakka 0 Reputation points
2023-10-27T11:56:00.0966667+00:00

Hi Team:

Good Morning,

I was trying to create user in ADB2C using Microsoft Graph Explorer, getting error as below,

API: https://graph.microsoft.com/v1.0/users

JSON:

{
    "displayName": "Adele Vance",
    "givenName": "AdeleV",
    "surname": "AD",
    "identities": [
        {
            "signInType": "emailAddress",
            "issuer": "adb2cdi.onmicrosoft.com",
            "issuerAssignedId": "******@desidea.com"
        }
    ],
    "passwordProfile": {
        "forceChangePasswordNextSignIn": true,
        "password": "Test@123456"
    },
    "passworPolicies": "DisablePasswordExpiration, DisableStrongPassword"
}

Error: I have added correct tenant details, still its throwing error. Please help me.

{
    "error": {
        "code": "Request_BadRequest",
        "message": "Issuer should match tenants domainName for non federated identity.",
        "innerError": {
            "date": "2023-10-27T11:51:26",
            "request-id": "06e53507-f9ce-4e0d-b117-9944f342073d",
            "client-request-id": "f86ce262-9cb4-d116-a863-1717a9c417b6"
        }
    }
}

User's image

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Identity Manager
Microsoft Security | Microsoft Entra | Other

Your answer

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