Every time I try to get refresh_token through API, it always prompts the administrator or member that it is prohibited to send interactive authorization for this user and resource.
Request method: POST
Request software: Postman
Request parameters: client_id client_secret redirect_uri grant_type code scope
Request type: x-www-form-urlencoded
Prompt after request:
{
"error": "invalid_grant",
"error_description": "AADSTS65001: The user or administrator has not consented to use the application with ID '1818754a-aa06-4e40-a45a-c77b5529c214' named'yidalipoa'. Send an interactive authorization request for this user and resource.\r\ nTrace ID: 77cb15eb-83ab-4bd5-a3db-f72b512bf601\r\nCorrelation ID: 9079ed73-ea65-4e49-8eab-22b58f478a5b\r\nTimestamp: 2021-05-02 03:29:55Z",
"error_codes": [
65001
],
"timestamp": "2021-05-02 03:29:55Z",
"trace_id": "77cb15eb-83ab-4bd5-a3db-f72b512bf601",
"correlation_id": "9079ed73-ea65-4e49-8eab-22b58f478a5b",
"suberror": "consent_required"
}