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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
mandania
Advocate I
Advocate I

Trigger Fabric Data Pipeline with Python Code

Is it possible to send Parameter(s) from a Python code to Fabric Data Pipeline?  The Fabric Rest API document do not cover this issue and currently i have a python code that i a trying to trigger the data pipeline but continue to get "The operation is not supported for the principal type" , I have enabled the service principle for whole organization so not sure whether the API supports it or not.

 

 

2 ACCEPTED SOLUTIONS
v-kongfanf-msft
Community Support
Community Support

Hi @mandania ,

 

As the error message suggests, “The operation is not supported for the principal type.” There is no documentation on this at the moment.

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

NandanHegde
Super User
Super User

Service principal authentication is currently not supported for fabric data pipeline REST APIs;hence you are getting the error message.




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

2 REPLIES 2
NandanHegde
Super User
Super User

Service principal authentication is currently not supported for fabric data pipeline REST APIs;hence you are getting the error message.




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
v-kongfanf-msft
Community Support
Community Support

Hi @mandania ,

 

As the error message suggests, “The operation is not supported for the principal type.” There is no documentation on this at the moment.

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.