diff --git a/src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs b/src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs index b5eec24175a6..f2e9f9a8191a 100644 --- a/src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs +++ b/src/Accounts/Accounts/Account/ConnectAzureRmAccount.cs @@ -258,12 +258,12 @@ protected override void StopProcessing() public override void ExecuteCmdlet() { - Guid subscrptionIdGuid; + Guid subscriptionIdGuid; string subscriptionName = null; string subscriptionId = null; if (MyInvocation.BoundParameters.ContainsKey(nameof(Subscription))) { - if (Guid.TryParse(Subscription, out subscrptionIdGuid)) + if (Guid.TryParse(Subscription, out subscriptionIdGuid)) { subscriptionId = Subscription; } @@ -397,12 +397,12 @@ public override void ExecuteCmdlet() InitializeProfileProvider(); } - if(!AzureSession.Instance.TryGetComponent(nameof(CommonUtilities), out CommonUtilities commonUtitilies)) + if(!AzureSession.Instance.TryGetComponent(nameof(CommonUtilities), out CommonUtilities commonUtilities)) { - commonUtitilies = new CommonUtilities(); - AzureSession.Instance.RegisterComponent(nameof(CommonUtilities), () => commonUtitilies); + commonUtilities = new CommonUtilities(); + AzureSession.Instance.RegisterComponent(nameof(CommonUtilities), () => commonUtilities); } - if(!commonUtitilies.IsDesktopSession() && IsUsingInteractiveAuthentication()) + if(!commonUtilities.IsDesktopSession() && IsUsingInteractiveAuthentication()) { WriteWarning(Resources.InteractiveAuthNotSupported); return; diff --git a/src/Accounts/Authentication/Properties/Resources.Designer.cs b/src/Accounts/Authentication/Properties/Resources.Designer.cs index 1e5e9fe84243..75e057be75ee 100644 --- a/src/Accounts/Authentication/Properties/Resources.Designer.cs +++ b/src/Accounts/Authentication/Properties/Resources.Designer.cs @@ -259,7 +259,7 @@ public static string ExpiredRefreshToken { } /// - /// Looks up a localized string similar to INITIALZATION: Failed to migrate ADAL token to MSAL token with error : {0}. + /// Looks up a localized string similar to INITIALIZATION: Failed to migrate ADAL token to MSAL token with error : {0}. /// public static string FailedToMigrateAdal2Msal { get { diff --git a/src/Accounts/Authentication/Properties/Resources.resx b/src/Accounts/Authentication/Properties/Resources.resx index 7e4cb12261ba..969b71127a2d 100644 --- a/src/Accounts/Authentication/Properties/Resources.resx +++ b/src/Accounts/Authentication/Properties/Resources.resx @@ -359,6 +359,6 @@ Password is missing and no cache found for the current user. - INITIALZATION: Failed to migrate ADAL token to MSAL token with error : {0} + INITIALIZATION: Failed to migrate ADAL token to MSAL token with error : {0} \ No newline at end of file