cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gonadn
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:

flow.PNG

ERROR

 

{"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...

 

 

1 REPLY 1
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,

Kris

 

 

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

Announcements
firstImage

Power Platform Online Conference

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

firstImage

New & Improved Power Automate Community Cookbook

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

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

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)