-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add service principals by app id microsoft.graph rbac #5417
Add service principals by app id microsoft.graph rbac #5417
Conversation
Example : GET /72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipalsByAppId/9469b9f5-6722-4481-a2b2-14ed560b706f/objectId?api-version=1.6 HTTP/1.1 {"odata.metadata":"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#Edm.String","value":"3eb9d9f3-371c-4d24-a60a-d7681c48c071"}
…into add-servicePrincipalsByAppId-Microsoft.GraphRbac
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-jsThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-rubyThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-nodeNothing to generate for azure-sdk-for-node |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
Can one of the admins verify this patch? |
REST Spec PR 'Azure/azure-rest-api-specs#5417' REST Spec PR Author 'ankushbindlish2' REST Spec PR Last commit
Automation for azure-sdk-for-netA PR has been created for you: |
specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
Show resolved
Hide resolved
REST Spec PR 'Azure/azure-rest-api-specs#5417' REST Spec PR Author 'ankushbindlish2' REST Spec PR Last commit
@AutorestCI regenerate azure-sdk-for-go |
@darshanhs90 are you ok with the changes? |
specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
Show resolved
Hide resolved
specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
Outdated
Show resolved
Hide resolved
specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
Outdated
Show resolved
Hide resolved
specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
Outdated
Show resolved
Hide resolved
REST Spec PR 'Azure/azure-rest-api-specs#5417' REST Spec PR Author 'ankushbindlish2' REST Spec PR Last commit
@lmazuel Are you ok with the changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually tested the Python code from this, and it works
REST Spec PR 'Azure/azure-rest-api-specs#5417' REST Spec PR Author 'ankushbindlish2' REST Spec PR Last commit
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.
Previous PR: #5387
Why we are doing this ?
This service already exposed this method and it should be safe to add into swagger.
We are trying to get Application Object for a guest user with default privileges.
Example : GET /72f988bf-86f1-41af-91ab-2d7cd011db47/servicePrincipalsByAppId/9469b9f5-6722-4481-a2b2-14ed560b706f/objectId?api-version=1.6 HTTP/1.1
{"odata.metadata":"https://graph.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/$metadata#Edm.String","value":"3eb9d9f3-371c-4d24-a60a-d7681c48c071"}
https://docs.microsoft.com/en-us/previous-versions/azure/ad/graph/api/functions-and-actions#serviceprincipalsbyappid-get-service-principal-object-id-by-application-id--