The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi @Raul Rubalcada
Thank you for posting your question in the Microsoft Q&A forum.
The field you’re referencing (access_token) is not located where Power Automate expects it, and therefore resolves to null when used in Set variable.
Your Parse JSON schema should look like this:
{
"type": "object",
"properties": {
"token_type": {
"type": "string"
},
"expires_in": {
"type": "integer"
},
"ext_expires_in": {
"type": "integer"
},
"access_token": {
"type": "string"
}
}
}
And the flow is like this:
Now the call returns the correct access_token.
I hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.