A cloud-based identity and access management service for securing user authentication and resource access
- Significance of Admin Consent and How to do it:
Admin consent is a feature that protects the tenant resources from access without admins approval. Not all permissions require admin consent but those that do are critical like Directory.ReadWrite.All which literally gives a user or an app the poewer to change any Entra resources. Pease see here on how to implement admin consent in a signing flow programmatically. - Request Resource Not Found
The "Request Resource Not Found" error in Postman can be caused by a number of issues, including incorrect URL formatting, incorrect authentication credentials, and insufficient permissions. To troubleshoot this issue, you can check the following:- Ensure that the URL is correct and matches the resource you are trying to access.
- Check the authentication credentials you are using to ensure they are correct and have the appropriate permissions.
- Check the permissions of the user or application you are authenticating as to ensure that they have access to the resource you are trying to access.
- Custom App Roles with Specific Permissions
See
Add app roles to your application and receive them in the token
Grant an appRoleAssignment to a service principal - Admin Consent for Application API Permissions without User Login
Yes, you can do this on Entra Portal application blade by
Going to the application,
then under API Permissions, select add permissions.
Search for Microsoft Graph API then select application permissions.
Add the permission you need and grant admin consent. If you are not an admin then you can ask an admin to do the same.
See screenshot