After successfully authenticating, I want to refresh my authorization token, so I issue the following request
curl -X POST \ https://login.microsoftonline.com/<my-tenant>/oauth2/v2.0/token \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -F grant_type=refresh_token \ -F refresh_token=<my-refresh-token> \ -F client_id=<my-client-id> \ -F client_secret=<my-client-secret> However, instead of returning with a new token, I get the following response:
{ "error": "server_error", "error_description": "AADSTS50000: There was an error issuing a token.\r\nTrace ID: bb72ee21-7df2-4949-8375-e6d97b621300\r\nCorrelation ID: 719ea759-622b-4d63-be17-56fd6c255195\r\nTimestamp: 2018-06-15 09:07:13Z", "error_codes": [ 50000 ], "timestamp": "2018-06-15 09:07:13Z", "trace_id": "bb72ee21-7df2-4949-8375-e6d97b621300", "correlation_id": "719ea759-622b-4d63-be17-56fd6c255195" } The tenant, client id and client secret are all the same as those used when obtaining the refresh token. Yet, something is apparently missing or incorrect - but what?