Share via

Get fresh access token using refresh token

Anonymous
2018-09-07T09:08:47+00:00

Hi,

I am a iOS developer,developing a sharepoint application for iOS device.The application stores the app data into Microsoft share-point.

I am using Microsoft Rest api to get new access token using refresh token.

I am passing the below parameters in the request.

grant_type=refresh_token&client_id=f8850eba-37f4-4356-8528XXXXXXXXXXX&scope=https://graph.microsoft.com/User.Read&refresh_token=OAQABAAAAAADXzZ3ifr-.....

with header application/x-www-form-urlencoded and am getting error(

"error_description" = "AADSTS90014: The request body must contain the following parameter: 'grant_type'.)in the response.

Please let me know how to resolve the issue to get fresh access token using refresh token.

Thanks,

Vijayan

Microsoft Teams | Microsoft Teams for business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-09-07T10:57:22+00:00

Hi Vijayan,

Since the issue is related with refreshing data using Rest API in SharePoint, to make sure that you can get professional help, we would suggest you post a new threan in MSDN Forum.

Here is an link for your reference: MSDN Forum.

Thanks for your understanding.

Best Regards,

Gloria

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful