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, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
Continued Contributor
Continued Contributor

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

 

Expiscornovus
Continued Contributor
Continued Contributor

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

 

 

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

Announcements
Oct Fabric Update Carousel

Fabric Monthly Update - October 2024

Check out the October 2024 Fabric update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.