Entra Create Users - how to pass login id with graph API Users

Andersen, Ronald 20 Reputation points
2025-04-18T03:47:43.82+00:00

The assumption is to use signInType as username - not emailAddress? Just confirming below is answer

   "identities": [

        {

            "signInType": "userName",

            "issuer": "VAABCEXT.onmicrosoft.com",

            "issuerAssignedId": "id_test77",

        }

    ],

    "mail": "******@yahoo.com",

    "passwordProfile": {

        "password": "Abc12345",

        "forceChangePasswordNextSignIn": false

    },

    "passwordPolicies": "DisablePasswordExpiration"

}

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,589 questions
0 comments No comments
{count} votes

Accepted answer
  1. Abiola Akinbade 27,370 Reputation points Moderator
    2025-04-18T07:43:04.15+00:00

    This looks good to me. Yes, when you want to specify a login ID that is different from the email address, you should use signInType as userName rather than emailAddress

    Make sure the issuer matches your verified domain

    For a complete user creation, you might also want to include:

    • displayName
    • accountEnabled

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    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.