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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors