If this is a registered application, you can have an admin consent to the app.
Go to Azure Active Directory within the Azure portal.
- Go to Application registrations.
- Select the Application based on the App-Id.
- Go to Required permissions (or API permissions).
- Click Grant permissions.
If this is not a application registered within the organization tenant and this is a third-party app, have the admin try the consent URL:
https://login.microsoftonline.com/{tenant-id}/oauth2/authorize?client_id={app-id}&redirect_uri={redirect-uri}&response_type=code&prompt=admin_consent
I hope this helps!
If any reply/answer helped resolve your question, please remember to "mark as answer" so that others in the community facing similar issues can easily find the solution.