validatepassword missing validationresult for complexity (beta)

Martin Larsen. MTL 10 Reputation points
2023-03-03T08:51:16.1233333+00:00

Hi,

When doing a validatepassword graph call againt our tenant, we only get 3 validationresults (PasswordMinLength, PasswordMaxLength, PasswordNotBanned) but not the complexity one. Other tenants has a validationresult for complexity as standard.

This is a link to graph explorer with the test i'm doing: https://developer.microsoft.com/en-us/graph/graph-explorer?request=users%2FvalidatePassword&method=POST&version=beta&GraphUrl=https://graph.microsoft.com&requestBody=eyJwYXNzd29yZCI6IlN2ZW5kamVucyJ9

See image for my result.validatepasswordresult

Why dont i get the complexity_not_meet validationresult?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 40,311 Reputation points
    2023-03-03T10:22:53.65+00:00

    Hi @Martin Larsen. MTL

    I can't reproduce your issue locally, as you can see my tenant is returning the PasswordComplexity property.

    User's image

    Since this issue is specific to your tenant, I recommend you raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from:

    http://aad.portal.azure.com or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.