我正尝试通过邮递员在Microsoft Graph中执行这样的请求
https://graph.windows.net/<Tenant>/users?api-version=1.6
对于授权,我正在使用Bearer。我正在手动检索令牌并在此处对其进行解码https://jwt.io/这样,我知道它的格式正确并且尚未过期。
但是,我在响应中收到以下错误:
{
"odata.error": {
"code": "Authentication_ExpiredToken",
"message": {
"lang": "en",
"value": "Your access token has expired. Please renew it before submitting the request."
}
}
}
我在做什么错?
https://login.microsoftonline.com/{{TenantID}}/oauth2/v2.0/token