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
    3,333 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard