Forum Discussion

JatinSaini's avatar
JatinSaini
Regular Visitor
1 year ago
Solved

[URGENT] Run DataPipeline via API using Power Automate and get status

Hi Developers, Am new to the Fabric Platform and recently I have create a Data Pipeline. But I want to find a method to run that data pipeline not directyl from the fabric but via API method. Since...
  • JatinSaini's avatar
    1 year ago

    Hi NandanHegde  and other Developers,
    I was able to fix the issue and run the flow successfully.
    The only missing part was to add below Headers to the API:
    Content-Type: application/json
    Authorization: Bearer <access token>

    The Access Token can be copied from below step:

    Sign in into the Fabric Portal for the Tenant you want to test on, and press F12 to enter the browser's developer mode. In the console there, run:

    powerBIAccessToken

    Copy the token and paste it for the ClientId variable.