cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KrzysiekOle
Frequent Visitor

Flow - Custom Connector - Api permission to Project Online (pwa)

Hi

I'm trying create Custom connector and get data from my pwa. I know that I can do it with prepared connectors, but I want to prepare my own package.
Actions like: _api/web/lists is ok

but _api/ProjectData/Projects doesn't work = (403) GeneralSecurityAccessDenied.

Which Api permission I need to add to my Api registrations on Azure ?

 

When I use Actions -> Send an HTTP request to SharePoint, everything is ok

Capture.PNG

 

Best Regards

4 REPLIES 4
RookieI
Resolver I
Resolver I

 

It seems that the credentials you provided are not acceptable.

Yes I know. As you can see I'm testing this on my tenant to whom I have full access. When I use "Send to HTTP request to SP" - everything is fine with simple Rest, I have access. But when I use Custom Connector - I use OAuth 2.0 and Azure Active Directory  credentials - My question is which Api permissions do I need to add ? (I repeat - in Custom Connector a simple rest such as _api/web/lists, {ProjectName}/_api/web/lists/getByTitle('{ListName}')/Items work well

 

Capture2.PNG

Did you find a solution to this? Going through the same thing myself right now

No, I changed the assumptions of the project and wrote a lot of functionality in spfx. I'm sorry I couldn't help.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,183)