Using SDK, how do I find owner of a ServicePrincipal. In AD graph explorer I can find this by using this endpoint: https://graph.windows.net/myorganization/servicePrincipals/serviceprincipal_id/owners.
How do I find same using GraphRbacManagementClient SDK?
Hi @AmudhaPalani sorry for the late answer.
@yugangw-msft do you know?
I checked service_principal_operations.py and it's missing methods to list owners or update owners of a serviceprincipal. I am planning to contribute to adding these methods. I will push this code after I complete testing this locally.
@AmudhaPalani, you probably should start with updating the API spec, this way all language SDKs can benefit from your contribution.
Probably you have verified already, but please make sure the response payload does contain this field.
This is in this PR https://github.com/Azure/azure-sdk-for-python/pull/1599
and will be released next Monday
Most helpful comment
@AmudhaPalani, you probably should start with updating the API spec, this way all language SDKs can benefit from your contribution.
Probably you have verified already, but please make sure the response payload does contain this field.