diff --git a/src/Authentication/Authentication/ProtectedFileTokenCache.cs b/src/Authentication/Authentication/ProtectedFileTokenCache.cs index b4df3de0df..faebfe13fd 100644 --- a/src/Authentication/Authentication/ProtectedFileTokenCache.cs +++ b/src/Authentication/Authentication/ProtectedFileTokenCache.cs @@ -30,10 +30,12 @@ public class ProtectedFileTokenCache : TokenCache, IAzureTokenCache private static readonly string CacheFileName = Path.Combine( #if !NETSTANDARD Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), + Resources.OldAzureDirectoryName, #else Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), + Resources.AzureDirectoryName, #endif - Resources.AzureDirectoryName, "TokenCache.dat"); + "TokenCache.dat"); private static readonly object fileLock = new object();