Hello Reinaldo Malo,
Welcome to Microsoft Q&A!
It sounds like you might not have the necessary administrative roles to grant admin consent. Here are a few steps to help you enable this option:
- Check Your Role:
- Ensure you are signed in with a user account that has one of the following roles: Global Administrator, Privileged Role Administrator, Cloud Application Administrator, or Application Administrator.
- Enable Admin Consent Workflow:
- If you don't have the required role, you can enable the admin consent workflow to allow users to request admin approval directly from the consent screen
- Navigate to Microsoft Entra ID > Enterprise applications > Consent and permissions > Admin consent requests.
- Configure the admin consent workflow to allow users to request approval
- Grant Tenant-Wide Admin Consent:
- Sign in to the Microsoft Entra admin center as an administrator.
- Go to Identity > Applications > Enterprise applications > All applications.
- Select the application and go to Permissions under Security.
- Review the permissions and select Grant admin consent
If you're still unable to grant admin consent, you can try to use the Admin Consent URL:
- Construct an admin consent URL and share it with an administrator who has the necessary permissions. The URL format is:
https://login.microsoftonline.com/{tenant_id}/adminconsent?client_id={client_id}&redirect_uri={redirect_uri}&state={state}
- Replace
{tenant_id}
,{client_id}
,{redirect_uri}
, and{state}
with your specific values
If the issue persists, it might be best to contact Microsoft Azure Support thru the Azure Portal for further assistance as they can help you out with support thru a session. I hope the information provided is useful!
Regards,
Gao
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".