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 power automate can help us to use the http request connector, can we run the data pipeline using the api via power automate?
Can someone please brief me on the same and what will be the required authorization and authentication.

 

Thanks in advance.

  • 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.

4 Replies

    • JatinSaini's avatar
      JatinSaini
      Regular Visitor

      Hi NandanHegde ,
      THanks for the response and I have followed the steps but getting below error:

       

  • JatinSaini's avatar
    JatinSaini
    Regular Visitor

    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.

  • v-pnaroju-msft's avatar
    v-pnaroju-msft
    Community Support

    Hi JatinSaini,

     

    We are happy to learn that your issue has been resolved. 

    For any further assistance or questions, please continue to engage with the Fabric Community.

     

    Best regards,
    Pavan