web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Inconsistent behavior ...
Power Automate
Suggested Answer

Inconsistent behavior when updating "forceChangePasswordNextSignIn" via Microsoft Graph

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

I’m seeing inconsistent behavior when updating the user password policy via Microsoft Graph from Power Automate and would like to confirm if this is expected or supported. 

Scenario 

Using HTTP with Microsoft Entra ID (preauthorized) in Power Automate, I call:

 
PATCH /v1.0/users/{userPrincipalName}

Body:


{
"passwordProfile": {
"forceChangePasswordNextSignIn": false
}
}
 
Observed behavior
  • Immediately after creating a user, the request sometimes succeeds and returns:
{"statusCode":204,...}
  • Re‑running the same request minutes later (no changes to flow, connector, permissions, or payload) consistently returns:
Action 'Invoke_an_HTTP_request' failed (Insufficient privileges to complete the operation.)

No configuration changes were made between executions.

 

Can Microsoft confirm whether updating passwordProfile.forceChangePasswordNextSignIn via Power Automate / Graph is:

Best‑effort only?

Explicitly unsupported for automation scenarios?

Thanks in advance for any clarification.

 

Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    943 on at
    This behavior is expected and related to how permissions and token context are handled, rather than being a “best-effort” or unsupported scenario.
     
    Use Application Permissions 
    • Register an app in Entra ID
    • Use:
    • Application permissions (User.ReadWrite.All)
    • Call Graph via:
    • Azure Function / Custom connector
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 612

#2
Valantis Profile Picture

Valantis 344

#3
11manish Profile Picture

11manish 326

Last 30 days Overall leaderboard