Showing results for 
Search instead for 
Did you mean: 
New Member

How to get User Profile properties for a specific user using HTTP action


How can i get profile properties for a specific user using HTTP action in FLOW.

I can successfully get access token using HTTP explained in this article


But on my next action after getting access token iam getting error message when i try to get UPS propertie for a spescific user:




{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access t
his resource."}


How can i get SPS-Department field from UPS and update a list item...



Community Support
Community Support

Hi @gonadn,


The error message told that you don't have access to the resource that you request. I find that you don't provide a Bearer Authorization within your HTTP action. 


According the article that you mentioned, you should provide a Bearer Authorization within Headers of your HTTP action:9.JPG


In addition, please check if you have provides proper client id, client secret and resource to generate the access token.


Best regards,




Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (13,015)