UPN invalid for a User When Attempting passwordProfile property Update

Wolf 0 Reputation points
2024-09-18T18:21:30.7833333+00:00

I have a hybrid environment with password writeback enabled per Microsoft's documentation. When I attempt to change a synced user's password via Graph API (specifically by setting a new password in their passwordProfile) it keeps telling me that I have an invalid UPN for said user. This is wrong however, as I am able to do other API calls on that UPN just fine. I have done this before in other tenants with no issues so I'm not sure what I am missing here. The response does not give me any further info that that, unfortunately. I've tried this with multiple accounts that are all valid as well in this tenant.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,045 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,802 questions
0 comments No comments
{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.