Forum Discussion
How to trigger a Fabric notebook from Synapse Analytics?
Hello,
I have been trying to run a notebook or a pipeline hosted on Fabric from a Synapse pipeline calling Fabric API. I followed the only documentation provided (which is not too descriptive) but geting error as response.
Manage and execute Fabric notebooks with public APIs - Microsoft Fabric | Microsoft Learn
My notebook doesnt have any parameter.
I am getting this error:
- Anonymous2 years ago
Hi yllsuarez76
Thanks for using Fabric Community.
Currently Managed Identity and Service Principal are not supported for authentication.
Manage and execute Fabric notebooks with public APIs - Microsoft Fabric | Microsoft Learn
Hope this helps. Please let me know if you have any further questions.
6 Replies
- Expiscornovus
Most Valuable Professional
Hi yllsuarez76,
The job scheduler documentation has some addition examples. It even has one example without any payload at all (without executionData and configuration). Have you tried that one?
- yllsuarez76
Microsoft Employee
Thanks for the answer.
I tried but still got the error.
- AnonymousNot applicable
Hi yllsuarez76
Thanks for using Fabric Community.
Currently Managed Identity and Service Principal are not supported for authentication.
Manage and execute Fabric notebooks with public APIs - Microsoft Fabric | Microsoft Learn
Hope this helps. Please let me know if you have any further questions.
- Expiscornovus
Most Valuable Professional
Hi yllsuarez76,
Which type of activity are you using in your pipeline, is it a Web activity?
https://learn.microsoft.com/en-us/azure/data-factory/control-flow-web-activity
If so, can you share a screenshot of the setup/configuration you are using? That would be useful for troubleshooting.
Btw, what type of auth are you using? Are you using a token: https://learn.microsoft.com/en-us/rest/api/fabric/articles/get-started/fabric-api-quickstart#get-token