How to fix the issue Message=Rest call failed with client error, status code 404 NotFound, please check your activity settings?

Perera, Pasan 0 Reputation points
2023-12-19T09:51:15.8233333+00:00

Hi All,

I'm trying to extract the Power BI audit log data using the Azure Data Factory.

I'm following the exact steps in https://justb.dk/blog/2021/02/extracting-the-power-bi-activity-log-with-data-factory/ this article and getting the below error.

Failure happened on

'Source' side. ErrorCode=RestCallFailedWithClientError,

'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,

Message=Rest call failed with client error,

status code 404 NotFound, please check your activity settings.

Request URL: https://api.powerbi.com/v1.0/myorg/admin/.

Response: ,Source=Microsoft.DataTransfer.ClientLibrary,'

I have attached the screenshots of the REST-linked service configurations and the source configurations of the Copy data component in Azure Data Factory.

DS_REST_PowerBI

Copy data source

Any idea or a solution to what might be causing this error?

Regards,

Pasan.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2023-12-21T05:19:46.7+00:00

    Hi Perera, Pasan,

    Thank you for posting query in Microsoft Q&A Platform.

    In your dataset, use the parameter which you created in the Relative URL part.

    Also, please try your API call from third party tool such as postman once to confirm everything words correctly.

    Hope this helps. Please let me know if any further queries.


    Please consider hitting Accept Answer button. Accepted answers help community as well. Thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.