Forum Discussion
Pradeep_Patil
May 04, 2022Copper Contributor
Grant user consent for the delegated Graph API permissions without the UI flow
There are two types of the Graph API permissions we can grant for an AD application. 1. Application permissions 2. User Delegated permissions For the application permissions: AAD portal provid...
LainRobertson
May 04, 2022Silver Contributor
Consent should never be fully-automatable in any case.
Compliance, as a key component of good governance, should be auditable and approvers should be accountable. Full automation of such a key concept would take us backwards 10+ years in the technology systems space, and from a commercial perspective, we'd be grilled by risk-aware business stakeholders, insurers, etc.
I'm wondering what the problem you're trying to solve is? Particularly in the context that someone with the appropriate formal authority from the customer tenant could be configured within Azure to be able to approve this - or any other - application for all of their users.
Grant tenant-wide admin consent to an application - Azure AD | Microsoft Docs
Cheers,
Lain
jeevadev7
Jan 17, 2024Copper Contributor
Hi LainRobertson and @Vasil_Michev
I have too facing same issue while grant admin access. Let me explain clearly.
I am curious about the significance of admin consent and would like to understand how it can be granted programmatically for application permissions. Are there any examples illustrating the process, especially for permissions like "Audit Log Read All" through Microsoft Graph API?
I am not able to give grant admin access for my permissions as "Audit Log Read All" . Not able to give through api without login.
I tried Post man and Code also. end with fails.
POST MAN Issues : Bad Request or
"code": "Authentication_MissingOrMalformed",
"message": {
"lang": "en",
"value": "Access Token missing or malformed."
please provide me any new features Microsoft support for give admin consent. Graph API Links or documentations