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
mandania
Frequent Visitor

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

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

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! Early Bird pricing ends December 9th.