Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

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 Team
Community Support Team

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

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


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,556)