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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.