cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
haniel
Level 8

Accessing PWA data via API

Hi,

 

I'm trying to build a flow that will get me all the task data from PWA for a specific project by ID.  Below is a sample of the HTTP cofniguration I'm providing. 

PWA_HTTP.png

 

 

When I copy the URL into a browser window, it works fine (note that I'm able to access PWA from the browser).  However, running Flow fails every time. 

Output_HTTP.png

 

 

How am I supposed to authenticate?  I tried Basic with my username/password, but that didn't work.

 

Any ideas?  Thanks and happy holidays everone!

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Accessing PWA data via API

Hi @haniel,

 

Could you please share a screenshot of your flow’s configuration?

The error message told that you don’t have access to the source. I don’t think you could get your data with Basic authentication type, please consider take a try to change Basic authentication type into Active Directory OAuth authentication type:14.JPG

 

In addition, please check and see if the following article would help in your scenario:

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/Generate-an-Azure-OAuth2-0-Token-f...

 

More details about HTTP action, please check the following article:

HTTP Action

 

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

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 Kudoed Authors (Last 30 Days)
Users online (3,810)