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

401 - REST API when using Tenant.ReadWrite.All

Hi,

I have set up an azure AD app with all available permissions for Power BI, including Tenant.ReadWrite.All, but when I try to call an API operation requiring Tenant.ReadWrite.All or Tenant.Read.All permission, i get an 401 error. When I try everything else i get response 200. 

It is set up to be a Sever-Side Web App.

I make the calls from Power Automate using a custom connector.

Hope you can help resolve this problem, thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: 401 - REST API when using Tenant.ReadWrite.All

Hi @oliversvane ,

 

Please check whether you have provided the Admin consent . This is needed for some specific kind of permission and i beleive this tenant level also included. 







Did my reply helpful to you ? Please give Kudos

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Highlighted
Super User II
Super User II

Re: 401 - REST API when using Tenant.ReadWrite.All

Hi @oliversvane ,

 

Please check whether you have provided the Admin consent . This is needed for some specific kind of permission and i beleive this tenant level also included. 







Did my reply helpful to you ? Please give Kudos

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Kudoed Authors