The Access token created using refresh not properly useful ,When i use it in request an error of authentication failed

Ranjith R 0 Reputation points
2023-09-26T07:03:49.7966667+00:00
token_endpoint = f'https://login.microsoftonline.com/{self.client_tenant_id}/oauth2/token'data = {    'response_type': 'code',    'grant_type': 'refresh_token',    'refresh_token': self.access_refresh_token,    'client_id': self.client_id,    'client_secret': self.client_secrets,    'resource': 'https://graph.microsoft.com',} buth access token from this request is not valid

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,862 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.