using access token generated by refresh token to creat todo task failed
I am using refresh token to get access token and success,
@app.route('/refresh', methods=['GET'])
but when I use the access token to get todo list or create todo task, it failed
{"error":{"code":"UnknownError","message":"","innerError":{"date":"2024-01-21T16:17:13","request-id":"aa970622-a1db-4661-890d-c35c6a2140b6","client-request-id":"aa970622-a1db-4661-890d-c35c6a2140b6"}}}'
when get access token, I can see the scope like this profile openid email https://graph.microsoft.com/Presence.Read.All https://graph.microsoft.com/Tasks.Read https://graph.microsoft.com/Tasks.Read.Shared https://graph.microsoft.com/Tasks.ReadWrite https://graph.microsoft.com/Tasks.ReadWrite.Shared https://graph.microsoft.com/User.Read https://graph.microsoft.com/User.Read.All https://graph.microsoft.com/User.ReadBasic.All https://graph.microsoft.com/User.ReadWrite https://graph.microsoft.com/User.ReadWrite.All seems enough permissions, but failed, the failed response shows the reason:unauthorized who can explain this for me? thankyou