Bring Microsoft Graph API Into Retool with Automation

Hey team,

We want to access our company's Azure cloud data so we can join it to other datasets.
For example, we want employee name and employee id.

We seem to have gotten close. But these tokens expire after an hour or something and we don't want to require people to click on something every hour for the app to work. Once a month would be acceptable.

@redhat00 , welcome,

What you want is definitely possible.

To refresh the token automatically, based on the expiry value you'll need to set this up in your resource:

This allows Retool to check whether the session is still valid, if not, it will refresh it.