AADSTS700082 🔷 Azure

AADSTS700082: The refresh token has expired due to inactivity

A cached refresh token wasn’t used for 90 days (the inactivity limit) and is no longer valid.

Seen on: Azure

Meaning

Long-unused CLI sessions, scripts or apps holding refresh tokens must sign in again interactively. Automated jobs should use service principals or managed identity instead of user tokens.

Common causes

  • Refresh token unused for 90+ days
  • Automation relying on a user’s cached tokens

⚡ Quick fix

  1. Sign in again (az login / Connect-AzAccount)
  2. Switch automation to a service principal or managed identity

Detailed fix by platform

Azure CLI

  1. bash
    az logout
    az login

How to diagnose

  1. Age — Last use of the cached account
  2. Automation — Using user credentials?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.