Is it possible to get refresh token also in the admin consent flow?
I've received access_token
but not refresh_token
even though I've included the offline_access
permission in the delegated permissions.
to be more clear: I need to get to the users drive files (i.e get/update files) of the entire tenant (organization). therefore i'm requesting Application Permissions and Using the admin consent endpoint.
therefore I use the client_credentials grant in order to get the entire tenant access_token but unfortunately with no refresh_token in order to extend time of privileges of the tenant for more then 1 hour.
- if i misuse the protocols above clarification will be highly appreciated