I was trying to create a security group as mentioned in the below link - example 2
https://docs.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0&tabs=http
I am able to create a security group with the {user} as an owner to the newly created group. However, when I am trying to create a new group with the service principal as an owner it is failing. Is there a way with which I can create a security group with the service principal as an owner to it in a single API?
I have tried with the following approach as well:
"owners@odata.bind": [
"https://graph.microsoft.com/v1.0/servicePrincipals/00964c82-a7c2-4675-bbed-54bcf16328b3"
]

