cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

ADF to Power BI

Hi Guys!

 

I'm new using the ADF I tried connecting it to Power BI using REST since I need to get some logs.

I tried the documentation below:

https://docs.microsoft.com/en-us/power-bi/admin/read-only-apis-service-principal-authentication

 

I'm having error when running it:
Failure happened on 'Source' side. ErrorCode=RestSourceCallFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The HttpStatusCode 404 indicates failure. Request URL: https://api.powerbi.com/v1.0/myorg/admin/ Response payload:,Source=Microsoft.DataTransfer.ClientLibrary,'

 

Just want to know if I'm doing it correctly:

  1. Create App 
  2. Create New Security group
  3. Add the App on teh Security group
  4. On the Allow Service Principal on the Power BI add the Security Group
  5. Add the App as a contributor on the IAM of the ADF
  6. Rest Linked Services

       kuLas_0-1641375394692.png

7. Copy Activity on the Pipeline

kuLas_1-1641375468355.png

 

Advance thanks!

 

 

           

 

1 REPLY 1
ibarrau
Super User
Super User

Hi. I think you are missing allowing service principal in PBI admin portal, not just to the admin API but for the whole service. You can also try adding permissions to the App registered for PBI Service or grant Admin concent to all permission (only an admin can do that). You can follow this post (that is preparing ADF to refresh and not using the admin) to check if you are missing something.
https://blog.ladataweb.com.ar/post/642023841877671936/azuredatafactory-actualizar-powerbi-con

You can also try the requests writing code to know if the Service Principal is working and it's an ADF issue or if it's not and the problem is the configuration.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

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

Top Solution Authors