You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update AzureSessionInitializer to initialize the token cache with the default token cache contents rather than empty contents when the token cache file does not exist
Add a test with a non-existent TokenCache that verifies correct TokenCache creation in AzureSessionInitializer
Cost: 2
The text was updated successfully, but these errors were encountered:
Description
When there is no TokenCache.dat file, we do not create a new one at profile initialization, because we create a cache using data of zero length. Instead we need to initialize the TokenCacheData with a default TokenCache here: https://github.com/Azure/azure-powershell/blob/preview/src/Common/Commands.Common.Authentication/AzureSessionInitializer.cs#L62
AzureSessionInitializer
to initialize the token cache with the default token cache contents rather than empty contents when the token cache file does not existCost: 2
The text was updated successfully, but these errors were encountered: