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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,857)