Share via

where i can set scope wl.offline_access

lhh 1 Reputation point
2020-11-07T03:42:12.627+00:00

i can not find scope
wl.offline_access

i need respone refresh_token for my app

Document:
Step 2. Redeem the code for access tokens
https://learn.microsoft.com/en-us/onedrive/developer/rest-api/getting-started/graph-oauth?view=odsp-graph-online

Set permission app:
https://i.imgur.com/UtCC04l.png
https://i.imgur.com/77qC5S1.png

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 37,246 Reputation points Microsoft Employee Moderator
    2020-12-01T23:12:01.543+00:00

    @lhh
    Thank you for your post and I apologize for the delayed response on this thread. To hopefully answer your question, you can find the "offline_access" API permission under the Microsoft Graph delegated permissions.

    Navigate to your App -> Add a Permission -> Microsoft Graph -> Delegated Permissions -> Search "offline_access"
    44159-image.png

    I've also re-tagged your issue for the correct forum "microsoft-graph-files", in case you have additional questions regarding this API.

    For more information on GraphAPI tags.

    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.

Your answer

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