cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mick282
Helper III
Helper III

Using the HTTP connector and Oauth to delete a table in Power BI

Hi all,

 

I'm having a bit of trouble getting the HTTP Oauth2 method to work in order to delete a dataset in a workspace using the Power BI REST API. Documentation on the rest API below:

 

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/delete-dataset-in-group

 

I then registered a app using the BI tool here:
https://dev.powerbi.com/apps 

 

I set the redirect url to https://localhost/redirect/

 

Which then gave me the client ID and Client Secret.

 

I then attempted to create a flow with a HTTP DELETE request to an endpoint below:

image.png

 

It then throws the below error:

Http request failed as there is an error getting AD OAuth token: 'Failed to extract error details from response content ''.'.

image.png

 

 

 

I tried this in POSTMAN and used the Oauth2 authorization method below and that seems to have worked.

image.png

 

How do I do the same for Power BI that I can do in Postman?

 

Any help would be greatly appreciated.

 

1 REPLY 1
VR99
Microsoft
Microsoft

Any luck? I'm facing the same issue...

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,463)