Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors