Upn from claims with value null is not a valid upn error

Alex Olinger 1 Reputation point
2021-06-08T14:51:43.057+00:00

Using this MS graph api command: POST https://graph.microsoft.com/beta/users/{id | userPrincipalName}/authentication/passwordMethods/{id}/resetPassword
In graph it works fine and when I use other commands it works fine. Permissions is not the issue. I hard coded the ids in the command same as I did in graph but get the error in the title. Not sure if its because the command is in Beta.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,499 questions
{count} votes

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.