I try to get Refresh token with Postman using the following data:
and get a response:
What is wrong I do?
CodePudding user response:
You need to provide the scope as https://storage.azure.com/user_impersonation
instead of https://storage.azure.com/.default
.
I tested the same in my environment and faced the same issue as well as you can see below:
As a Solution , I changed the scope as I have mentioned and I was successfully able to get the token and test the same for your requirement as well.
Note:
Please make sure to add callback_url
that postman uses (i.e. https://oauth.pstmn.io/v1/callback)
in the reply url of the Azure AD app as shown below: