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

Notifications

Announcements

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 1,809 Super User 2024 Season 1

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 (0)
  • BhaskarDhone Profile Picture
    1,392 Super User 2025 Season 2 on at

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

  • johnjohnPter Profile Picture
    1,809 Super User 2024 Season 1 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,392 Super User 2025 Season 2 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
    1,809 Super User 2024 Season 1 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard