how to provide app permission consent to use Microsoft Graph APIs and Azure cost management APIs all read access? Also Which role is required to provide consent with lease privileges?.

Anil Guliyaan 55 Reputation points
2024-04-22T12:10:17.9866667+00:00

how to provide app permission consent to use Microsoft Graph APIs and Azure cost management APIs all read access? Which role is required to provide consent with lease privileges?.

I know we can provide the admin consent using Global Administrator, but is there any alternate to provide consent with lease privilege roles.

for Powershell automation script admin consent is required use the provided permissions below in snap.
User's image

Thanks

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Fabio Andrade 1,665 Reputation points Microsoft Employee Moderator
    2024-04-22T23:39:12.12+00:00

    Hi @Anil Guliyaan

    Thanks for reaching out to Microsoft Q&A

    All the permissions that need to be consented by an Admin will need to be consented either by the GA or by using an Admin consent workflow.

    The admin consent workflow gives admins a secure way to grant access to applications that require admin approval. When a user tries to access an application but is unable to provide consent, they can send a request for admin approval. The request is sent via email to admins who have been designated as reviewers. A reviewer takes action on the request, and the user is notified of the action.

    The documentation below has more information about how to create such consent flow:

    https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-admin-consent-workflow

    Let me know if you have further questions or if I misunderstood your request.

    Thanks,

    Fabio

    0 comments No comments

  2. Fabio Andrade 1,665 Reputation points Microsoft Employee Moderator
    2024-04-29T22:51:39.8433333+00:00

    Hi @Anil Guliyaan

    I just wanted to check in and see if you had any other questions or if you were able to resolve your issue.

    If you have any other questions, please let me know.

    Thanks,

    Fabio

    0 comments No comments

  3. Fabio Andrade 1,665 Reputation points Microsoft Employee Moderator
    2024-05-06T23:09:28.7933333+00:00

    Hi @Anil Guliyaan

    I just wanted to check in and see if you had any other questions or if you were able to resolve your issue.

    If you have any other questions, please let me know.

    Thanks,

    Fabio

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.