We are using the below curl information to create users in Azure AD B2C and it works good.
Issue - the password requires capital letters when creating a new user or it will fail.
Question - what do we have to change so that we are not required to use capital letters in the password when creating a user in Azure Ad B2C using Microsoft graph?
curl --location --request POST 'https://graph.microsoft.com/v1.0/users' \
--header 'Content-Type: application/json' \
--header 'Authorization: eyJ0eXAiOi...' \
--data-raw '{
"accountEnabled": true,
"displayName": "YOUR_EMAIL",
"surname": "YOUR_FIRST_NAME",
"givenName": "YOUR_LAST_NAME",
"userPrincipalName": "ANY_UNIQUE_TEMP_VALUE@YOUR_AZURE_TENANT.onmicrosoft.com",
"otherMails": [
"YOUR_EMAIL"
],
"identities": [
{
"signInType": "emailAddress OR userName",
"issuer": "YOUR_AZURE_TENANT.onmicrosoft.com",
"issuerAssignedId": "YOUR_EMAIL_OR_USERNAME"
},
{
"signInType": "userPrincipalName",
"issuer": "YOUR_AZURE_TENANT.onmicrosoft.com",
"issuerAssignedId": "ANY_UNIQUE_TEMP_VALUE@YOUR_AZURE_TENANT.onmicrosoft.com"
}
],
"passwordProfile": {
"password": "YOUR_PASSWORD",
"forceChangePasswordNextSignIn": false
}
}'