Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
yllsuarez76
Microsoft Employee
Microsoft Employee

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

 

yllsuarez76_0-1713903056010.png

 

My notebook doesnt have any parameter.

I am getting this error:

yllsuarez76_1-1713903106221.png

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi @yllsuarez76 
Thanks for using Fabric Community.
Currently Managed Identity and Service Principal are not supported for authentication.

vnikhilanmsft_0-1714065764344.png


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.



View solution in original post

6 REPLIES 6
Expiscornovus
Impactful Individual
Impactful Individual

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

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
Expiscornovus
Impactful Individual
Impactful Individual

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?

https://learn.microsoft.com/en-us/rest/api/fabric/core/job-scheduler/run-on-demand-item-job?tabs=HTT...

 

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Thanks for the answer.

 

I tried but still got the error.

Hi @yllsuarez76 
Thanks for using Fabric Community.
Currently Managed Identity and Service Principal are not supported for authentication.

vnikhilanmsft_0-1714065764344.png


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.



Is there any estimate on when service principal authentication will be available?

Hi @yllsuarez76 
We haven’t heard from you on the last response and was just checking back to see if your query has been resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

Helpful resources

This widget could not be displayed.