Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Azure account creation failing with password does not comply with password complexity requirements

rahul_p
Regular Contributor III
Regular Contributor III

Hello Experts,

Hope you are doing good.

I have integrated the Azure, performed the import successfully. When I am trying to provision the account then its throwing :

{"call1":{"headers":null,"message":{"error":{"code":"Request_BadRequest","message":"The specified password does not comply with password complexity requirements. Please provide a different password.","innerError":{"date":"<date>","request-id":"<requestID>","client-request-id":"<requestId>"}}},"statusCode":400,"description":null,"status":"Failed"}}

 

Azure end we have password requirement which we have already configured in our password policy, but still giving the same issue.

Any idea about this?

Regards,

Rahul

5 REPLIES 5

rushikeshvartak
All-Star
All-Star
  • Does it works with hardcoded password ?
  • Share JSON and password policy

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

rahul_p
Regular Contributor III
Regular Contributor III

Hi @rushikeshvartak ,

Will check with hardcoded password and confirm.

Thanks!

rahul_p
Regular Contributor III
Regular Contributor III

Hello,

It was problem with create account json, I was using variable and one string along with concat which I corrected and it resolved the issue.

Thanks!

Please share working JSON to help community


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

rahul_p
Regular Contributor III
Regular Contributor III

Hi Everyone,

Working JSON :

 

Spoiler
{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"displayName": "call1.message.displayName~#~char",
"name": "call1.message.userPrincipalName~#~char"
},
"call": [
{
"name": "call1",
"connection": "${connectionName}",
"url": "https://graph.microsoft.com/v1.0/users",
"httpMethod": "POST",
"httpParams": "{\"accountEnabled\":true,\"displayName\":\"${if(user.displayname == null){''} else {user.displayname}}\",\"mailNickname\":\"${user.firstname}\",\"userPrincipalName\":\"${user.email}\",\"passwordProfile\":{\"forceChangePasswordNextSignIn\":true,\"password\":\"${password}\"}}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201,
204,
205
]
}
}
]
}

Thanks!