A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
A stale Visual Studio license usually means the license token was not refreshed, most commonly because Visual Studio was signed out or the machine was offline for an extended period.
To fix it in Visual Studio 2019:
- Open Visual Studio.
- Go to File > Account Settings.
- Re-enter credentials for the account that has the Visual Studio subscription.
- If the account has access to multiple Microsoft Entra ID tenants, use File > Account Settings > ellipsis button (...) > Apply filter to filter out nonessential tenants.
- If re-authentication shows directories with access issues, filter those out in the Re-enter your credentials dialog.
If the license has already expired instead of only being stale:
- Go to File > Account Settings.
- Review the license information on the right side.
- Either:
- add another account that has a valid subscription by selecting +Add, or
- select Unlock with a Product Key and enter a valid product key.
Important:
- If Visual Studio is used for long periods with limited or no internet access, use a product key to avoid future interruptions.
- Visual Studio can also unlock automatically if the signed-in account has an associated online subscription, including when connected to an Azure DevOps organization from Team Explorer.
If re-signing in does not resolve it, check whether Conditional Access or MFA is affecting sign-in, because those policies can prevent the license token from refreshing.
References: