Forum Discussion

arjan901's avatar
arjan901
Regular Visitor
3 years ago

403 error on API through ADF

Hi Everyone,

 

I created an ADF pipeline to extract the user activity from the Power BI API. I've installed this at a dozen customers but now i have one customer where it won't work and i don't know why.

 

I set it up as follows

  1. Creating an Azure Security Group (SG-Power-BI-API)
  2. Added the Azure DataFactory as a member to that security group
  3. Adding the security group to the Power BI Admin portal 'Allow service principals to user Power BI API's'
  4. Created a linked server in the ADF

     

But i keep getting the following error message, what is going wrong? since i did this already a coupole of times without isses

 

ErrorCode=RestCallFailedWithClientError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Rest call failed with client error, status code 403 Forbidden, please check your activity settings. Request URL: https://api.powerbi.com/v1.0/myorg/admin/activityevents?startDateTime='2022-11-19T00:00:00.000Z'&endDateTime='2022-11-19T23:59:59.999Z'. Response: {"Message":"API is not accessible for application"},Source=Microsoft.DataTransfer.ClientLibrary,'

1 Reply