I has subscribed to an E5 license.
I tried to use the ‘Get Label’ API on a Rocky8 Linux server. However, the following error occurs during authentication:
{
“error”: “invalid_grant”,
“error_description”: “AADSTS65001: The user or administrator has not consented to use the application with ID ‘bb2XXXX’ named ‘sdk test’. Send an interactive authorization request for this user and resource. Trace ID: 67e5d1f0-32aa-477c-ad30-acbf83cc3d00 Correlation ID: f25c8443-7f41-463e-a86c-804cc5e5afae Timestamp: 2024-07-31 22:45:07Z”,
“error_codes”: [
65001
],
“timestamp”: “2024-07-31 22:45:07Z”,
“trace_id”: “67e5d1f0-32aa-477c-ad30-acbf83cc3d00”,
“correlation_id”: “f25c8443-7f41-463e-a86c-804cc5e5afae”,
“suberror”: “consent_required”
}
Please check for any permission issues that might be causing this.
The format for requesting the API token is as follows
enter image description here
I exposed the API on my application (c++), and added it scope in my Azure application
enter image description here
정구현 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.