Relative Content

Tag Archive for google-apps-scriptgoogle-app-engineoauth-2.0oauthmicrosoft-graph-api

Google Apps Script Oauth2 Continuous Access

I am using Oauth2 to connect to the Microsoft Graph API with Google Apps Script. First, I click on the url that comes with the authorize() function and gain access. But after a certain period of time, access expires and I need to gain access with the authorize() function again. How can I ensure that access is always active? I think refresh tokens are used, but I couldn’t get the result I wanted.