I'm using python scripts to create and manage data factory pipelines, when I want to create a linked service, I'm just using this code:
but now I want to create the linked service using managed identity and not by name and key, and I can't find any example of how to do it with python.
I managed to do it manually like so:

but I want to do it using python.
thanks!
