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 Apps / "RetrivePriviledgesFor...
Power Apps
Unanswered

"RetrivePriviledgesForUser, The user with id *** has not been assigned any roles, they need a role with prvReadWorkflow priviledges"

(0) ShareShare
ReportReport
Posted on by 2,029 Season of Giving Solutions 2025

I have this flow which get called from canvas app inside a solution inside a Dev environment, the flow calls 2 child flows, as follow:-

 

johnjohnPter_0-1710771575823.png

 

so the flow does not have any connection, as follow:-

johnjohnPter_3-1710771871102.png

 

 

 

now when some internal users call this flow from power apps by clicking on a button which have this formula:-

 

 

 

'CreateApprovalItem(Elevated)'.Run(
 4064,
 "PPM-Admins-Test",
 "Work Order"
).response

 

 

 

 they get this error "RetrivePriviledgesForUser, The user with id *** has not been assigned any roles, they need a role with prvReadWorkflow priviledges", as follow:-

johnjohnPter_2-1710771718409.png

 

and all external users will get this error:-

johnjohnPter_1-1710771688506.png

 

any advice? now i have other work flow which get called from power apps and it is working for all internal and external users, and those flows have connections (unlike the flow which is raising errors), and i am running these flows on elevated privileges using a service account, as follow:-

 

johnjohnPter_4-1710771964267.png

 

so could the reason be that the workflow which is raising error , does not have any connection?

 

UPDATE. i added a test action to retrieve some SharePoint items inside the workflow, so the workflow get a connection reference to sharepoint and i set it to run under the service account, but still i am getting the same issue/error.

 

Thanks

 

 

 

Categories:
I have the same question (6)
  • BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    User should have minimum "App Opener" role on the environment.

  • johnjohnPter Profile Picture
    2,029 Season of Giving Solutions 2025 on at

    @BhaskarDhone but why this is working for other workflows? so i do not think it is related to roles. as if this is the case, then it will not work for any workflow, am i correct?

  • BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    I don't have an explanation for this. But you can give a try. I am sure it will work. 

    P.S. : This is based on problem faced before. Solution is suggested by Microsoft.

  • johnjohnPter Profile Picture
    2,029 Season of Giving Solutions 2025 on at

    @BhaskarDhone so you mean i need to edit the roles for each user to have atleast "App Opener"? also for the external users, i am unable to add them to the environment, where i get that there is not a valid license, although the users have power apps license on their tenant..

    again those external users can call the other work flows from power apps without issue

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard