This module prevents Azure OAuth2 refresh tokens from expiring by using a cron job to update them monthly.
This Refresh Token Validity Extension ( Azure OAuth2 ) module is used to prevent the Azure OAuth2 Refresh Token from expiring after 90 days. We use a cron job to update our refresh token every month.
Mandatory Modules
Module Installation
- Install Module.
- Enable the module at Administration > Extend.
- If you need to run it manually, go to Administration > Configuration > System > Cron path and run the OAuth Refresh Token Validity Extension cron job. We have set the cron to run every month.
Drupal 9–11
Ask your assistant about Refresh Token Validity Extension ( Azure OAuth2 )
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- phpmailer_oauth2 Drupal core
- ultimate_cron Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 9–11 | Jul 18, 2026 | ||
| 1.0.x-dev | Dev | 9–11 | May 10, 2025 | ||
| 1.0.0-alpha3 | Pre-release | 9–11 | May 10, 2025 | ||
| 1.0.0-alpha2 | Pre-release | 9–11 | May 10, 2025 | ||
| 1.0.0-alpha1 | Pre-release | 9–11 | May 10, 2025 |