Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedJoin us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now
Is it possible to call a MS fabric Data Pipeline from C# web API using managed identity. My data pipeline executes a notebook and it is working properly. But I want to call this data pipeline from c# code.
Solved! Go to Solution.
Do you mean with "call a MS Fabric data pipeline" that the API should start a run of the data pipeline? If that is the case, I think you need this Fabric API for that: https://learn.microsoft.com/en-us/rest/api/fabric/core/job-scheduler/run-on-demand-item-job
Unfortunately, this specific API does not support managed identity.
When it may support Managed Identity in the future, you should still run the C# function in an environment that supports managed identity. You could for example run your code with Azure Functions or on an Azure VM. https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Chttp
Thanks for the response. I am able to trigger the pipeline from C#, but hardcoded the access token that I got from developer tools on MS fabric Data Pipeline web page. But now I need to generate that access token using c# code. I think managed identity is not yet supported and also I dont want to use client secret. Any other way for it ?
Do you mean with "call a MS Fabric data pipeline" that the API should start a run of the data pipeline? If that is the case, I think you need this Fabric API for that: https://learn.microsoft.com/en-us/rest/api/fabric/core/job-scheduler/run-on-demand-item-job
Unfortunately, this specific API does not support managed identity.
When it may support Managed Identity in the future, you should still run the C# function in an environment that supports managed identity. You could for example run your code with Azure Functions or on an Azure VM. https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Chttp
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Fabric update to learn about new features.
User | Count |
---|---|
6 | |
4 | |
2 | |
1 | |
1 |
User | Count |
---|---|
13 | |
10 | |
5 | |
5 | |
4 |