-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Microsoft Graph API Support #12946
Comments
Call Microsoft Graph API with
|
@jiasli I tried to use Microsoft Graph API with the required permission to add password for App registration Reproduce steps:
Updated: The same steps works well with service principals object Id. |
@acefei, Azure CLI is merely a REST client. For permission issue, you may reach out to AAD support: https://azure.microsoft.com/en-us/support/create-ticket/ |
@acefei what shell you running that from? |
For me it works. Just running from PowerShell with Az CLI installed. There's however another problem, #9742, so you need to call |
@jiasli There's one more problem..
Same error also when adding Secret via Portal. It seems this only happens for Apps created with Any clue what's behind that? Is this the right repo for this issue? |
@Tbohunek, I believe the 3 passwords limitation is a design of Graph API application: addPassword. I can reproduce the same. Let me internally involve Graph team on this issue. |
@jiasli I don't think so. The Graph API |
I wonder what's your problem @joukevandermaas 👎 |
@Tbohunek you are spamming an issue that many people are monitoring with something only tangentially related. Can you not imagine why I might find that annoying? Why not take the unrelated issues somewhere else so those of use who care about the original topic can get notified when there are actual updates on this issue? I tried to indicate this in a way that does not update everyone who follows this issue but I guess that didn't work. |
|
Unfortunately, I did that, but I can't find AAD related in the problem type with BTW, I don't think it was a typical permission issue. As we know, there are two type applications with the same Application (client) ID once the SPN created, Enterprise applications (service principals) and App registrations (application). In my problem, with the same client ID and same permissions that following the requirement in API page, the permission issue only occurs on |
I think my original thread was clear.
|
@acefei your screenshot does not show whether the consent was actually granted, just that permission is configured. Add a wider screenshot. |
is there any update now i still get "Insufficient privileges to complete the operation" trying to use for example "az ad app create" at Azure DevOps Pipeline |
We have migrated to Microsoft Graph API in #22432. |
I found the 'updated' version for this: https://learn.microsoft.com/en-us/graph/api/rbacapplication-post-roleassignmentschedulerequests?view=graph-rest-1.0&tabs=powershell |
@jiasli i see that even after the migration the commands |
Did you ever find the cause for this? |
According to https://docs.microsoft.com/en-us/graph/migrate-azure-ad-graph-overview:
We need to switch Azure CLI to use Microsoft Graph API instead.
The text was updated successfully, but these errors were encountered: