Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface IAzureContextContainer : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IExtensibleModel
type IAzureContextContainer = interface
interface IExtensibleModel
Public Interface IAzureContextContainer
Implements IExtensibleModel
Set the context for the current profile, preserving token cache information.
After MSAL, token cache is no longer stored in contexts. So this method roughly equals to TrySetDefaultContext().