diff --git a/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md index 5889821fbb78..42afccf5df8d 100644 --- a/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md @@ -27,7 +27,7 @@ Creates a role eligibility schedule request. ## EXAMPLES -### Example 1: Create a new role eligibile schedule request as Admin +### Example 1: Create a new role eligible schedule request as Admin ```powershell $guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" $startTime = Get-Date -Format o @@ -43,7 +43,7 @@ Name Type Creates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal` -### Example 2: Remove a role eligibile schedule request as Admin +### Example 2: Remove a role eligible schedule request as Admin ```powershell $guid = "13f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" $startTime = Get-Date -Format o diff --git a/src/Resources/Authorization.Autorest/examples/New-AzRoleEligibilityScheduleRequest.md b/src/Resources/Authorization.Autorest/examples/New-AzRoleEligibilityScheduleRequest.md index fb78c916d928..fc5f238f6296 100644 --- a/src/Resources/Authorization.Autorest/examples/New-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/examples/New-AzRoleEligibilityScheduleRequest.md @@ -1,4 +1,4 @@ -### Example 1: Create a new role eligibile schedule request as Admin +### Example 1: Create a new role eligible schedule request as Admin ```powershell $guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" $startTime = Get-Date -Format o @@ -14,7 +14,7 @@ Name Type Creates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal` -### Example 2: Remove a role eligibile schedule request as Admin +### Example 2: Remove a role eligible schedule request as Admin ```powershell $guid = "13f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" $startTime = Get-Date -Format o diff --git a/src/Resources/MSGraph.Autorest/custom/Update-AzADUser.ps1 b/src/Resources/MSGraph.Autorest/custom/Update-AzADUser.ps1 index 0055d069f778..2e9d9bde44b5 100644 --- a/src/Resources/MSGraph.Autorest/custom/Update-AzADUser.ps1 +++ b/src/Resources/MSGraph.Autorest/custom/Update-AzADUser.ps1 @@ -72,7 +72,7 @@ function Update-AzADUser { [SecureString] # The password for the user. This property is required when a user is created. # It can be updated, but the user will be required to change the password on the next login. - # The password must satisfy minimum requirements as speci./fied by the user's passwordPolicies property. + # The password must satisfy minimum requirements as specified by the user's passwordPolicies property. # By default, a strong password is required. When changing the password using this method, AccountEnabled is set to true. ${Password}, diff --git a/src/Resources/MSGraph.Autorest/docs/New-AzADServicePrincipal.md b/src/Resources/MSGraph.Autorest/docs/New-AzADServicePrincipal.md index e1b4cd616425..2b1f44a21b46 100644 --- a/src/Resources/MSGraph.Autorest/docs/New-AzADServicePrincipal.md +++ b/src/Resources/MSGraph.Autorest/docs/New-AzADServicePrincipal.md @@ -172,7 +172,7 @@ Create service principal with existing application New-AzADServicePrincipal -DisplayName $name ``` -Create application with display name and associated new service pincipal with it +Create application with display name and associated new service principal with it ## PARAMETERS diff --git a/src/Resources/MSGraph.Autorest/docs/Remove-AzADGroupOwner.md b/src/Resources/MSGraph.Autorest/docs/Remove-AzADGroupOwner.md index 9cb7c325331d..cddad646fa60 100644 --- a/src/Resources/MSGraph.Autorest/docs/Remove-AzADGroupOwner.md +++ b/src/Resources/MSGraph.Autorest/docs/Remove-AzADGroupOwner.md @@ -31,7 +31,7 @@ Remove-AzADGroupOwner -GroupId $groupId -OwnerId $ownerId Unassign an owner for a group. Notice: 1.this cmdlet does not delete the owner directory object. -2.a group does not have a onwer by default, but has to have at least one owner once had one. +2.a group does not have a owner by default, but has to have at least one owner once had one. ## PARAMETERS diff --git a/src/Resources/MSGraph.Autorest/docs/Update-AzADUser.md b/src/Resources/MSGraph.Autorest/docs/Update-AzADUser.md index 381c4c13abe3..d942e33f9836 100644 --- a/src/Resources/MSGraph.Autorest/docs/Update-AzADUser.md +++ b/src/Resources/MSGraph.Autorest/docs/Update-AzADUser.md @@ -591,7 +591,7 @@ This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. -The password must satisfy minimum requirements as speci./fied by the user's passwordPolicies property. +The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required. When changing the password using this method, AccountEnabled is set to true. diff --git a/src/Resources/MSGraph.Autorest/examples/New-AzADServicePrincipal.md b/src/Resources/MSGraph.Autorest/examples/New-AzADServicePrincipal.md index 51086ecc5ee1..0962019f758e 100644 --- a/src/Resources/MSGraph.Autorest/examples/New-AzADServicePrincipal.md +++ b/src/Resources/MSGraph.Autorest/examples/New-AzADServicePrincipal.md @@ -17,4 +17,4 @@ Create service principal with existing application New-AzADServicePrincipal -DisplayName $name ``` -Create application with display name and associated new service pincipal with it +Create application with display name and associated new service principal with it diff --git a/src/Resources/MSGraph.Autorest/examples/Remove-AzADGroupOwner.md b/src/Resources/MSGraph.Autorest/examples/Remove-AzADGroupOwner.md index 9dd0d8f34f06..bfdd4eda980b 100644 --- a/src/Resources/MSGraph.Autorest/examples/Remove-AzADGroupOwner.md +++ b/src/Resources/MSGraph.Autorest/examples/Remove-AzADGroupOwner.md @@ -5,4 +5,4 @@ $ownerId = (Get-AzADGroupOwner -GroupId $groupId)[0].Id Remove-AzADGroupOwner -GroupId $groupId -OwnerId $ownerId ``` -Unassign an owner for a group. Notice: 1.this cmdlet does not delete the owner directory object. 2.a group does not have a onwer by default, but has to have at least one owner once had one. \ No newline at end of file +Unassign an owner for a group. Notice: 1.this cmdlet does not delete the owner directory object. 2.a group does not have a owner by default, but has to have at least one owner once had one. \ No newline at end of file diff --git a/src/Resources/Policy.Autorest/custom/New-AzPolicyAssignment.ps1 b/src/Resources/Policy.Autorest/custom/New-AzPolicyAssignment.ps1 index 78cb257858ae..8c29a599c162 100644 --- a/src/Resources/Policy.Autorest/custom/New-AzPolicyAssignment.ps1 +++ b/src/Resources/Policy.Autorest/custom/New-AzPolicyAssignment.ps1 @@ -231,7 +231,7 @@ DynamicParam Write-Host -ForegroundColor Cyan "begin:New-AzPolicyAssignment(" $PSBoundParameters ") - (ParameterSet: $($PSCmdlet.ParameterSetName))" } - # generate dynamic parameters for assignement based on the policy definition being assigned + # generate dynamic parameters for assignment based on the policy definition being assigned if ($PolicyDefinition) { $parameters = [PSObject]$PolicyDefinition.Parameter diff --git a/src/Resources/Policy.Autorest/custom/New-AzPolicyExemption.ps1 b/src/Resources/Policy.Autorest/custom/New-AzPolicyExemption.ps1 index 7a5933867932..1af59e8092f3 100644 --- a/src/Resources/Policy.Autorest/custom/New-AzPolicyExemption.ps1 +++ b/src/Resources/Policy.Autorest/custom/New-AzPolicyExemption.ps1 @@ -181,7 +181,7 @@ process { Write-Host -ForegroundColor Cyan "process:New-AzPolicyExemption(" $PSBoundParameters ") - (ParameterSet: $($PSCmdlet.ParameterSetName))" } - # remomve $null and empty values to avoid validation failures on pipeline input + # remove $null and empty values to avoid validation failures on pipeline input $calledParameters = @{} foreach ($parameterName in $PSBoundParameters.Keys) { $value = $PSBoundParameters.($parameterName) diff --git a/src/Resources/Policy.Autorest/test/AssignmentOverride.Tests.ps1 b/src/Resources/Policy.Autorest/test/AssignmentOverride.Tests.ps1 index 58bee2c5497a..36f7d7fd3300 100644 --- a/src/Resources/Policy.Autorest/test/AssignmentOverride.Tests.ps1 +++ b/src/Resources/Policy.Autorest/test/AssignmentOverride.Tests.ps1 @@ -90,7 +90,7 @@ Describe 'AssignmentOverride' -Tag 'LiveOnly' { $remove = ($assignment | Remove-AzPolicyAssignment -PassThru) -and $remove } - # remove the policy defintion + # remove the policy definition $remove = (Remove-AzPolicyDefinition -Name $policyDefName -Force -PassThru) -and $remove # validate diff --git a/src/Resources/Policy.Autorest/test/AssignmentResourceSelector.Tests.ps1 b/src/Resources/Policy.Autorest/test/AssignmentResourceSelector.Tests.ps1 index efb8ea9452c1..519a8e82157b 100644 --- a/src/Resources/Policy.Autorest/test/AssignmentResourceSelector.Tests.ps1 +++ b/src/Resources/Policy.Autorest/test/AssignmentResourceSelector.Tests.ps1 @@ -86,7 +86,7 @@ Describe 'AssignmentResourceSelector' -Tag 'LiveOnly' { $remove = ($assignment | Remove-AzPolicyAssignment -PassThru) -and $remove } - # remove the policy defintion + # remove the policy definition $remove = (Remove-AzPolicyDefinition -Name $policyDefName -Force -PassThru) -and $remove # validate diff --git a/src/Resources/Policy.Autorest/test/Common.ps1 b/src/Resources/Policy.Autorest/test/Common.ps1 index 032d6aa1a90b..dc820e5f2ddd 100644 --- a/src/Resources/Policy.Autorest/test/Common.ps1 +++ b/src/Resources/Policy.Autorest/test/Common.ps1 @@ -3,7 +3,7 @@ param ($TargetTestName) Write-Host -ForegroundColor DarkGreen "Loading Current.ps1 with TestName=[$($TestName)] and TargetTestName=[$($TargetTestName)]" -# The below initialization is only peformed following these rules: +# The below initialization is only performed following these rules: # if $TargetTestName is provided, we will set up the test environment for that named test if # the current test ($TestName) matches the named target test or # there is no current test, which means all tests are being performed diff --git a/src/Resources/Policy.Autorest/test/ExemptionResourceSelector.Tests.ps1 b/src/Resources/Policy.Autorest/test/ExemptionResourceSelector.Tests.ps1 index e236bc3b7e54..9efa8ca932d9 100644 --- a/src/Resources/Policy.Autorest/test/ExemptionResourceSelector.Tests.ps1 +++ b/src/Resources/Policy.Autorest/test/ExemptionResourceSelector.Tests.ps1 @@ -89,7 +89,7 @@ Describe 'ExemptionResourceSelector' -Tag 'LiveOnly' { $remove = ($assignment | Remove-AzPolicyAssignment -PassThru) -and $remove } - # remove the policy defintion + # remove the policy definition $remove = (Remove-AzPolicyDefinition -Name $policyDefName -Force -PassThru) -and $remove # validate diff --git a/src/Resources/Policy.Autorest/test/PolicyObjectPiping.Tests.ps1 b/src/Resources/Policy.Autorest/test/PolicyObjectPiping.Tests.ps1 index b914aa12ee0f..46ea5f0cb34d 100644 --- a/src/Resources/Policy.Autorest/test/PolicyObjectPiping.Tests.ps1 +++ b/src/Resources/Policy.Autorest/test/PolicyObjectPiping.Tests.ps1 @@ -108,7 +108,7 @@ Describe 'PolicyObjectPiping' { $updatedDescription | Should -Be $expected.Description } - It 'Update policy assignment from pipline and command line' { + It 'Update policy assignment from pipeline and command line' { # update the policy assignment $actual = Get-AzPolicyAssignment -Name $policyAssName -Scope $rgScope | Update-AzPolicyAssignment -Description $updatedDescription $expected = Get-AzPolicyAssignment -Name $policyAssName -Scope $rgScope diff --git a/src/Resources/ResourceManager/Components/Constants.cs b/src/Resources/ResourceManager/Components/Constants.cs index 83facc534c83..9ebe9e375574 100644 --- a/src/Resources/ResourceManager/Components/Constants.cs +++ b/src/Resources/ResourceManager/Components/Constants.cs @@ -75,7 +75,7 @@ public static class Constants public static readonly string DefaultApiVersion = "2015-01-01"; /// - /// The default appliction API version. + /// The default application API version. /// public static readonly string ApplicationApiVersion = "2017-09-01"; diff --git a/src/Resources/ResourceManager/Components/HttpClientHelperFactory.cs b/src/Resources/ResourceManager/Components/HttpClientHelperFactory.cs index b4d96d8a1952..59621590f42e 100644 --- a/src/Resources/ResourceManager/Components/HttpClientHelperFactory.cs +++ b/src/Resources/ResourceManager/Components/HttpClientHelperFactory.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components public class HttpClientHelperFactory { /// - /// Gets an instance of the facotry. + /// Gets an instance of the factory. /// public static HttpClientHelperFactory Instance { get; internal set; } diff --git a/src/Resources/ResourceManager/Components/TemplateSpecPackagingEngine.cs b/src/Resources/ResourceManager/Components/TemplateSpecPackagingEngine.cs index 0fb04252ecb2..5e913d1ef270 100644 --- a/src/Resources/ResourceManager/Components/TemplateSpecPackagingEngine.cs +++ b/src/Resources/ResourceManager/Components/TemplateSpecPackagingEngine.cs @@ -97,7 +97,7 @@ public static PackagedTemplate Pack(string rootTemplateFilePath) public static PackagedTemplate PackBicep(string filePath, Action writeVerbose, Action writeWarning) { - // Complex packaging is unneccessary for Bicep because it doesn't support usage of 'relativePath'. + // Complex packaging is unnecessary for Bicep because it doesn't support usage of 'relativePath'. var templateJson = BicepUtility.Create().BuildBicepFile(filePath, msg => writeVerbose(msg), msg => writeWarning(msg)); return new PackagedTemplate @@ -160,7 +160,7 @@ private static void PackArtifacts( } // Let's make sure we're not referencing a file outside of our root directory - // heirarchy. We won't allow such references for security purposes: + // hierarchy. We won't allow such references for security purposes: if (!absoluteLocalPath.StartsWith( context.RootTemplateDirectory + Path.DirectorySeparatorChar, @@ -247,7 +247,7 @@ public static void Unpack( { throw new InvalidOperationException( $"Unable to unpack artifact '{artifact.Path}' because it would create a file " + - $"outside of the target directory heirarchy of '{targetDirectory}'"); + $"outside of the target directory hierarchy of '{targetDirectory}'"); } } @@ -388,7 +388,7 @@ private static string AbsoluteToRelativePath( rootDirectoryPath = rootDirectoryPath .TrimEnd(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); - // Ensure we have a trailing seperator + // Ensure we have a trailing separator rootDirectoryPath += Path.DirectorySeparatorChar; // Note: We use Path.GetFullPath to ensure the paths are normalized... diff --git a/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentCmdletBase.cs b/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentCmdletBase.cs index 320b2423137f..e11b1d20a85c 100644 --- a/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentCmdletBase.cs +++ b/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentCmdletBase.cs @@ -190,13 +190,13 @@ protected override void OnBeginProcessing() /// /// Attempts to load dynamic parameters from populated template/template parameter properties. /// Runs on every tab complete and before processing on execution. - /// It will silently fail (exception is caught and not visible to user) until required properties are popluated. + /// It will silently fail (exception is caught and not visible to user) until required properties are populated. /// public new virtual object GetDynamicParameters() { var isBicepParamFile = BicepUtility.IsBicepparamFile(TemplateParameterFile); - // Ensure required properties are populated for dynamic parameter extration: + // Ensure required properties are populated for dynamic parameter extraction: DynamicParameterValidityCheck(isBicepParamFile); if (isBicepParamFile) diff --git a/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentStacksCreateCmdletBase.cs b/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentStacksCreateCmdletBase.cs index 7d9c512d0dce..461649afdd76 100644 --- a/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentStacksCreateCmdletBase.cs +++ b/src/Resources/ResourceManager/Implementation/CmdletBase/DeploymentStacksCreateCmdletBase.cs @@ -184,13 +184,13 @@ protected override void OnBeginProcessing() /// /// Attempts to load dynamic parameters from populated template/template parameter properties. /// Runs on every tab complete and before processing on execution. - /// It will silently fail (exception is caught and not visible to user) until required properties are popluated. + /// It will silently fail (exception is caught and not visible to user) until required properties are populated. /// public new virtual object GetDynamicParameters() { var isBicepParamFile = BicepUtility.IsBicepparamFile(TemplateParameterFile); - // Ensure required properties are populated for dynamic parameter extration: + // Ensure required properties are populated for dynamic parameter extraction: DynamicParameterValidityCheck(isBicepParamFile); if (isBicepParamFile) diff --git a/src/Resources/ResourceManager/Implementation/Lock/GetAzureResourceLockCmdlet.cs b/src/Resources/ResourceManager/Implementation/Lock/GetAzureResourceLockCmdlet.cs index bbaa7c57668e..7a4fa9704d62 100644 --- a/src/Resources/ResourceManager/Implementation/Lock/GetAzureResourceLockCmdlet.cs +++ b/src/Resources/ResourceManager/Implementation/Lock/GetAzureResourceLockCmdlet.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation public class GetAzureResourceLockCmdlet : ResourceLockManagementCmdletBase { /// - /// Contains the errors that encountered while satifying the request. + /// Contains the errors that encountered while satisfying the request. /// private readonly ConcurrentBag errors = new ConcurrentBag(); diff --git a/src/Resources/ResourceManager/Implementation/Lock/ResourceLockManagementCmdletBase.cs b/src/Resources/ResourceManager/Implementation/Lock/ResourceLockManagementCmdletBase.cs index 6090060a2e9f..18830d6fd4a0 100644 --- a/src/Resources/ResourceManager/Implementation/Lock/ResourceLockManagementCmdletBase.cs +++ b/src/Resources/ResourceManager/Implementation/Lock/ResourceLockManagementCmdletBase.cs @@ -49,7 +49,7 @@ public abstract class ResourceLockManagementCmdletBase : ResourceManagerCmdletBa internal const string SubscriptionResourceLevelLock = "BySubscriptionLevel"; /// - /// The resource group lock parametere set. + /// The resource group lock parameter set. /// internal const string ResourceGroupLevelLock = "ByResourceGroup"; @@ -61,7 +61,7 @@ public abstract class ResourceLockManagementCmdletBase : ResourceManagerCmdletBa /// /// Gets or sets the scope. /// - [Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ScopeLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resource group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'")] + [Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ScopeLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}', to specify a resource group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'")] [ValidateNotNullOrEmpty] public string Scope { get; set; } diff --git a/src/Resources/ResourceManager/Implementation/Resource/GetAzureResourceCmdlet.cs b/src/Resources/ResourceManager/Implementation/Resource/GetAzureResourceCmdlet.cs index 9db5a3766aa9..6e47a85b919e 100644 --- a/src/Resources/ResourceManager/Implementation/Resource/GetAzureResourceCmdlet.cs +++ b/src/Resources/ResourceManager/Implementation/Resource/GetAzureResourceCmdlet.cs @@ -43,7 +43,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBaseWithApiVer public const string ByTagNameValueParameterSet = "ByTagNameValueParameterSet"; /// - /// Contains the errors that encountered while satifying the request. + /// Contains the errors that encountered while satisfying the request. /// private readonly ConcurrentBag errors = new ConcurrentBag(); diff --git a/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs b/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs index 87292167a132..1510c37ea73f 100644 --- a/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs +++ b/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs @@ -177,7 +177,7 @@ public override void ExecuteCmdlet() } catch { - // Check if the user may have inadvertantly passed a file path using "-TemplateJson" + // Check if the user may have inadvertently passed a file path using "-TemplateJson" // instead of using "-TemplateFile". If they did, display a warning message. Note we // do not currently automatically switch to using a file in this case because if the // JSON string is coming from an external script/source not authored directly by the diff --git a/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs b/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs index ea798276e353..7d9d7a82b6b5 100644 --- a/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs +++ b/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs @@ -216,7 +216,7 @@ public override void ExecuteCmdlet() } catch { - // Check if the user may have inadvertantly passed a file path using "-TemplateJson" + // Check if the user may have inadvertently passed a file path using "-TemplateJson" // instead of using "-TemplateFile". If they did, display a warning message. Note we // do not currently automatically switch to using a file in this case because if the // JSON string is coming from an external script/source not authored directly by the @@ -309,7 +309,7 @@ public override void ExecuteCmdlet() tags: Tag ); - // As the root template spec is a seperate resource type, it won't contain version + // As the root template spec is a separate resource type, it won't contain version // details. To provide more information to the user, let's get the template spec // with all of its version details: diff --git a/src/Resources/ResourceManager/Properties/Resources.Designer.cs b/src/Resources/ResourceManager/Properties/Resources.Designer.cs index 430f526c6c2c..dd5550e8c3ca 100644 --- a/src/Resources/ResourceManager/Properties/Resources.Designer.cs +++ b/src/Resources/ResourceManager/Properties/Resources.Designer.cs @@ -584,7 +584,7 @@ internal static string InvalidRoleDefinitionName { } /// - /// Looks up a localized string similar to The paramater -RollbackToLastDeployment and -RollBackDeploymentName can't be defined at the same time.. + /// Looks up a localized string similar to The parameter -RollbackToLastDeployment and -RollBackDeploymentName can't be defined at the same time.. /// internal static string InvalidRollbackParameters { get { diff --git a/src/Resources/ResourceManager/Properties/Resources.resx b/src/Resources/ResourceManager/Properties/Resources.resx index 152913e77830..6a40251a3a40 100644 --- a/src/Resources/ResourceManager/Properties/Resources.resx +++ b/src/Resources/ResourceManager/Properties/Resources.resx @@ -370,7 +370,7 @@ The DeploymentDebug setting has been enabled. This can potentially log secrets like passwords used in resource property or listKeys operations when you retrieve the deployment operations through Get-AzResourceGroupDeploymentOperation - The paramater -RollbackToLastDeployment and -RollBackDeploymentName can't be defined at the same time. + The parameter -RollbackToLastDeployment and -RollBackDeploymentName can't be defined at the same time. The 'Complete' mode is not supported for a deployment at the current scope. Please use 'Incremental' mode instead. diff --git a/src/Resources/ResourceManager/SdkClient/DeploymentStacksSdkClient.cs b/src/Resources/ResourceManager/SdkClient/DeploymentStacksSdkClient.cs index 6135e11e029b..c1ce4db99b85 100644 --- a/src/Resources/ResourceManager/SdkClient/DeploymentStacksSdkClient.cs +++ b/src/Resources/ResourceManager/SdkClient/DeploymentStacksSdkClient.cs @@ -545,7 +545,7 @@ bool bypassStackOutOfSyncError if (deleteResponse.Response.StatusCode == System.Net.HttpStatusCode.NoContent) { throw new PSArgumentException( - $"DeploymentStack '{name}' not found in the curent subscription scope." + $"DeploymentStack '{name}' not found in the current subscription scope." ); } @@ -843,7 +843,7 @@ bool bypassStackOutOfSyncError BypassStackOutOfSyncError = bypassStackOutOfSyncError }; - // Evaulate Template: + // Evaluate Template: if (templateSpec != null) { deploymentStackModel.TemplateLink = new DeploymentStacksTemplateLink diff --git a/src/Resources/ResourceManager/SdkClient/NewResourceManagerSdkClient.cs b/src/Resources/ResourceManager/SdkClient/NewResourceManagerSdkClient.cs index b5c04c7cc18b..2e7edb64e9dd 100644 --- a/src/Resources/ResourceManager/SdkClient/NewResourceManagerSdkClient.cs +++ b/src/Resources/ResourceManager/SdkClient/NewResourceManagerSdkClient.cs @@ -1022,7 +1022,7 @@ public virtual List FilterDeployments(FilterDeploymentOptions opti } /// - /// List deployments with fiter options. + /// List deployments with filter options. /// /// The filtering options private List ListDeployments(FilterDeploymentOptions options) diff --git a/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs b/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs index 4707146f84f2..15cc878e7259 100644 --- a/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs +++ b/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs @@ -154,7 +154,7 @@ public static string ConstructTagsTable(Hashtable tags) return resourcesTable.ToString(); } - // TODO: This function and the above tags contruction function could be combined into one function. + // TODO: This function and the above tags construction function could be combined into one function. // Leaving for now to avoid introducing problems in existing code. public static string ConstructTagsTableFromIDictionary(IDictionary tags) { diff --git a/src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStack.cs b/src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStack.cs index 565fddc1972a..6b6f29826508 100644 --- a/src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStack.cs +++ b/src/Resources/ResourceManager/SdkModels/DeploymentStacks/PSDeploymentStack.cs @@ -220,7 +220,7 @@ internal static PSDeploymentStack FromAzureSDKDeploymentStack(DeploymentStack st /// /// This conversion method is required to fit the outputs in the deployment stack response object into a custom powershell object that has additional structure and - /// custom output formatting. It also enables type population for outputs that are not returned with an explict type. + /// custom output formatting. It also enables type population for outputs that are not returned with an explicit type. /// /// The outputs of the deployment stack response object. internal static Dictionary ConvertOutputDictionary(object outputs) @@ -248,7 +248,7 @@ internal static Dictionary ConvertOutputDictionary(o /// /// This conversion method is required to fit the parameters in the deployment stack response object into a custom powershell object that has additional structure and - /// custom output formatting. It also enables type population for parameters that are not returned with an explict type. + /// custom output formatting. It also enables type population for parameters that are not returned with an explicit type. /// /// The deployment parameters of the deployment stack response object. internal static Dictionary ConvertParameterDictionary(IDictionary parameters) @@ -281,7 +281,7 @@ internal static Dictionary ConvertParameterD internal static DeploymentVariable ExtractDeploymentVariableFromJObject(JObject jObject) { - // Attempt to desialize the DeploymentVariable: + // Attempt to deserialize the DeploymentVariable: var dVar = jObject.ToString().FromJson(); // If the type is null, attempt to infer the type: diff --git a/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs b/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs index 8b9055fb18bc..c2c6521b4dde 100644 --- a/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs +++ b/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs @@ -119,7 +119,7 @@ internal static PSTemplateSpec FromAzureSDKTemplateSpec(TemplateSpec templateSpe } /// - /// Exclusively used for wrapping PSTempateSpecs for use with special formatting + /// Exclusively used for wrapping PSTemplateSpecs for use with special formatting /// defined within our format.ps1xml file. /// public class PSTemplateSpecListItem : PSTemplateSpec diff --git a/src/Resources/ResourceManager/Utilities/ParameterUtility.cs b/src/Resources/ResourceManager/Utilities/ParameterUtility.cs index bdfd3d65e924..4b4d078ff452 100644 --- a/src/Resources/ResourceManager/Utilities/ParameterUtility.cs +++ b/src/Resources/ResourceManager/Utilities/ParameterUtility.cs @@ -32,7 +32,7 @@ public static void AddTemplateFileParametersToHashtable(IReadOnlyDictionary - /// Add parameters within TemplateObject to paramterObject hashtable, + /// Add parameters within TemplateObject to parameterObject hashtable, /// while accounting for special handling for KeyVault references. /// public static void AddTemplateObjectParametersToHashtable(Hashtable templateParameterObject, Hashtable parameterObject) diff --git a/src/Resources/ResourceManager/Utilities/TemplateUtility.cs b/src/Resources/ResourceManager/Utilities/TemplateUtility.cs index e0d4432b1c07..f63be4de8751 100644 --- a/src/Resources/ResourceManager/Utilities/TemplateUtility.cs +++ b/src/Resources/ResourceManager/Utilities/TemplateUtility.cs @@ -143,7 +143,7 @@ private static string GetTemplateContentFromTemplateSpec(string templateSpecId, } catch (TemplateSpecsErrorException e) { - // If the templateSpec resourceID is pointing to a non existant resource + // If the templateSpec resourceID is pointing to a non existent resource if (!e.Response.StatusCode.Equals(HttpStatusCode.NotFound)) { // Throw for any other error that is not due to a 404 for the template resource. diff --git a/src/Resources/Resources.Management.Sdk/Utility/SafeJsonConvertWrapper.cs b/src/Resources/Resources.Management.Sdk/Utility/SafeJsonConvertWrapper.cs index 183d1462ecb9..3cfeb114ebb2 100644 --- a/src/Resources/Resources.Management.Sdk/Utility/SafeJsonConvertWrapper.cs +++ b/src/Resources/Resources.Management.Sdk/Utility/SafeJsonConvertWrapper.cs @@ -3,7 +3,7 @@ // license information. // // This is a wrapper class for Microsoft.Rest.Serialization.SafeJsonConvert. We create this class to support string values to -// Deployment.Properties.Template and Deployment.Properties.Parameters. The string values must be valid JSON payloads for tempalte +// Deployment.Properties.Template and Deployment.Properties.Parameters. The string values must be valid JSON payloads for template // and parameters respectively. // diff --git a/src/Resources/Resources.Management.Sdk/generate.ps1 b/src/Resources/Resources.Management.Sdk/generate.ps1 index b17252cb4ab4..40290d2125bb 100644 --- a/src/Resources/Resources.Management.Sdk/generate.ps1 +++ b/src/Resources/Resources.Management.Sdk/generate.ps1 @@ -1,6 +1,6 @@ # Running Start-AutoRestCodeGeneration will overwrite the files present in SdkGenerationDirectory based on AutoRestCodeGenerationFlags # As ARM has multiple tag packages, it is safer to first Generate the files in a different directory -# and copy these new set of files to the main Generated folder. This way exisiting files will not be deleted. +# and copy these new set of files to the main Generated folder. This way existing files will not be deleted. # Generate package with resources tag # Start-AutoRestCodeGeneration -ResourceProvider "resources/resource-manager" -SdkRepoRootPath "$PSScriptRoot\..\..\..\.." -AutoRestVersion "v2" -AutoRestCodeGenerationFlags "--tag=package-resources-2024-11" -SdkGenerationDirectory "$PSScriptRoot\Generated\Resources" diff --git a/src/Resources/Resources.Test/Mocks/MockDataStore.cs b/src/Resources/Resources.Test/Mocks/MockDataStore.cs index 18b94f711d30..3a182dae27be 100644 --- a/src/Resources/Resources.Test/Mocks/MockDataStore.cs +++ b/src/Resources/Resources.Test/Mocks/MockDataStore.cs @@ -306,7 +306,7 @@ public void RemoveCertificate(string thumbprint) /// Converts unix asterisk based file pattern to regex /// /// Asterisk based pattern - /// Regeular expression of null is empty + /// Regular expression of null is empty private static string WildcardToRegex(string wildcard) { if (wildcard == null || wildcard == "") return wildcard; diff --git a/src/Resources/Resources.Test/ScenarioTests/DeploymentTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/DeploymentTests.ps1 index c769b4fc160f..97a6211eb409 100644 --- a/src/Resources/Resources.Test/ScenarioTests/DeploymentTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/DeploymentTests.ps1 @@ -419,7 +419,7 @@ function Test-CrossResourceGroupDeploymentFromTemplateFile <# .SYNOPSIS -Tests nested errors displayed when temployment put fails. +Tests nested errors displayed when deployment put fails. #> function Test-NestedErrorsDisplayed { diff --git a/src/Resources/Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 index 0f96dbb0ee56..6309fcda7ca9 100644 --- a/src/Resources/Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 @@ -643,7 +643,7 @@ Verifies that creating an ra with an SP displays correct error message #> function Test-RaCreatedBySP { - # Prerequisite: Conect to azure with SP + # Prerequisite: Connect to azure with SP # Create role assignment # powershell-testmember's PrincipalId $testUser = "3d9979c5-7de9-4cc5-bc9c-d63d365c5b5c" @@ -695,7 +695,7 @@ function Test-RaWithV2Conditions{ -Description $Description -Condition $Condition -ConditionVersion $ConditionVersion #Then - Assert-NotNull $data "The role assignment was not created succesfully" + Assert-NotNull $data "The role assignment was not created successfully" Assert-AreEqual $RoleDefinitionId $data.RoleDefinitionId "Assertion failed because expected RoleDefinitionId '$RoleDefinitionId' does not match actual '$data.RoleDefinitionId'" Assert-AreEqual $PrincipalId $data.ObjectId "Assertion failed because expected PrincipalId '$PrincipalId' does not match actual '$data.ObjectId'" Assert-AreEqual $Scope $data.Scope "Assertion failed because expected Scope '$Scope' does not match actual '$data.Scope'" @@ -726,7 +726,7 @@ function Test-RaWithV2ConditionsOnly{ $assignment = New-AzRoleAssignmentWithId -ObjectId $PrincipalId -Scope $Scope -RoleDefinitionId $RoleDefinitionId -Description $Description -Condition $Condition -roleAssignmentId 734de5f5-c680-41c0-8beb-67b98c3539d2 #Then - Assert-NotNull $assignment "The role assignment was not created succesfully" + Assert-NotNull $assignment "The role assignment was not created successfully" Assert-AreEqual $RoleDefinitionId $assignment.RoleDefinitionId "Assertion failed because expected RoleDefinitionId '$RoleDefinitionId' does not match actual '$data.RoleDefinitionId'" Assert-AreEqual $PrincipalId $assignment.ObjectId "Assertion failed because expected PrincipalId '$PrincipalId' does not match actual '$data.ObjectId'" Assert-AreEqual $Scope $assignment.Scope "Assertion failed because expected Scope '$Scope' does not match actual '$data.Scope'" diff --git a/src/Resources/Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 index bd492c26aa69..f87fb4190003 100644 --- a/src/Resources/Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 @@ -119,7 +119,7 @@ function Test-RdNegativeScenarios $inputFilePath = Join-Path -Path $TestOutputRoot -ChildPath Resources\RoleDefinition.json Assert-Throws { Set-AzRoleDefinition -InputFile $inputFilePath } $badIdException - # Role Defintion not provided. + # Role Definition not provided. $roleDefNotProvided = "Parameter set cannot be resolved using the specified named parameters." Assert-Throws { Set-AzRoleDefinition } $roleDefNotProvided diff --git a/src/Resources/Resources.Test/ScenarioTests/TagTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/TagTests.ps1 index 126f55a46026..f86905257045 100644 --- a/src/Resources/Resources.Test/ScenarioTests/TagTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/TagTests.ps1 @@ -14,7 +14,7 @@ <# .SYNOPSIS -Utility method to test CreeteOrUpdate for Tags within tracked resources and subscription. +Utility method to test CreateOrUpdate for Tags within tracked resources and subscription. #> function Test-TagCreateOrUpdateWithResourceIdParams($resourceId) { @@ -127,7 +127,7 @@ function Test-UpdateWithResourceIdParams($resourceId) } { - # repalce operation + # replace operation $replaced = @{"key1"="value1"; "key3"="value3";} $res = Update-AzTag -ResourceId $resourceId -Tag $replaced -Operation Replace @@ -452,7 +452,7 @@ function NewTestResource <# .SYNOPSIS -utility method to creare resource +utility method to create resource #> function NewTestResourcePurviewAccount { diff --git a/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 index 8acc0f2eca18..3ec5a5338143 100644 --- a/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 @@ -247,7 +247,7 @@ function Test-RemoveTemplateSpec <# .SYNOPSIS -Tests that using a non-existant TemplateSpec throws the correct type of error +Tests that using a non-existent TemplateSpec throws the correct type of error #> function Test-TemplateSpecErrorType { diff --git a/src/Resources/Resources/ActiveDirectory/Models/ActiveDirectoryClient.cs b/src/Resources/Resources/ActiveDirectory/Models/ActiveDirectoryClient.cs index 78f459c7a3fb..bc287ca8ea5d 100644 --- a/src/Resources/Resources/ActiveDirectory/Models/ActiveDirectoryClient.cs +++ b/src/Resources/Resources/ActiveDirectory/Models/ActiveDirectoryClient.cs @@ -248,7 +248,7 @@ public List GetObjectsByObjectIds(List objectIds) } catch (Common.MSGraph.Version1_0.DirectoryObjects.Models.OdataErrorException) { - // Swallow OdataErroException + // Swallow OdataErrorException } } return result; diff --git a/src/Resources/Resources/Gallery/GalleryItem.cs b/src/Resources/Resources/Gallery/GalleryItem.cs index fee47e5a6e1c..30a421e09cc6 100644 --- a/src/Resources/Resources/Gallery/GalleryItem.cs +++ b/src/Resources/Resources/Gallery/GalleryItem.cs @@ -223,7 +223,7 @@ public string Summary /// /// Optional. Gets or sets Azure Portal Uder Interface Definition - /// artificat Uri. + /// artifact Uri. /// public string UiDefinitionUri { diff --git a/src/Resources/Resources/Models.Authorization/AuthorizationClient.cs b/src/Resources/Resources/Models.Authorization/AuthorizationClient.cs index fab7d30b9cc6..4ec6e391e7d5 100644 --- a/src/Resources/Resources/Models.Authorization/AuthorizationClient.cs +++ b/src/Resources/Resources/Models.Authorization/AuthorizationClient.cs @@ -397,7 +397,7 @@ public IEnumerable RemoveRoleAssignment(FilterRoleAssignmentsO } else { - // Assignments to different roleDefintion Ids. This can happen only if roleDefinition name was provided and multiple roles exists with same name. + // Assignments to different roleDefinition Ids. This can happen only if roleDefinition name was provided and multiple roles exists with same name. throw new InvalidOperationException(string.Format(ProjectResources.MultipleRoleDefinitionsFoundWithSameName, options.RoleDefinitionName)); } @@ -468,7 +468,7 @@ public PSRoleDefinition RemoveRoleDefinition(FilterRoleDefinitionOptions options } /// - /// Updates a role definiton. + /// Updates a role definition. /// /// The role definition to update. /// The updated role definition. diff --git a/src/Resources/Resources/Properties/Resources.Designer.cs b/src/Resources/Resources/Properties/Resources.Designer.cs index 3215a0d0a671..1494ef64bddb 100644 --- a/src/Resources/Resources/Properties/Resources.Designer.cs +++ b/src/Resources/Resources/Properties/Resources.Designer.cs @@ -502,7 +502,7 @@ internal static string NoDeploymentWereFound { } /// - /// Looks up a localized string similar to Call to Graph was unsuccessful, this is likely due to insuficient permissions in Azure AD. Please ensure you have the correct set of permissions.. + /// Looks up a localized string similar to Call to Graph was unsuccessful, this is likely due to insufficient permissions in Azure AD. Please ensure you have the correct set of permissions.. /// internal static string NotAuthorizedInGraph { get { diff --git a/src/Resources/Resources/Properties/Resources.resx b/src/Resources/Resources/Properties/Resources.resx index f40175797608..a9d3432587d4 100644 --- a/src/Resources/Resources/Properties/Resources.resx +++ b/src/Resources/Resources/Properties/Resources.resx @@ -454,7 +454,7 @@ No AD object was found with the parameters provided please ensure that the display name or GUID is written properly - Call to Graph was unsuccessful, this is likely due to insuficient permissions in Azure AD. Please ensure you have the correct set of permissions. + Call to Graph was unsuccessful, this is likely due to insufficient permissions in Azure AD. Please ensure you have the correct set of permissions. The role assignment creation operation failed with the error: '{0}' diff --git a/src/Resources/Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs b/src/Resources/Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs index 4a45811f75ae..9a91be4d201f 100644 --- a/src/Resources/Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs +++ b/src/Resources/Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs @@ -213,25 +213,25 @@ public class NewAzureRoleAssignmentCommand : ResourcesBaseCmdlet public string ConditionVersion { get; set; } = null; [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.Empty, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceGroupWithObjectId, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceGroupWithSignInName, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceGroupWithSPN, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceWithObjectId, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceWithSignInName, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceWithSPN, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.RoleIdWithScopeAndObjectId, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ScopeWithSignInName, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ScopeWithSPN, - HelpMessage = "To be used with ObjectId. Specifies the type of the asignee object")] + HelpMessage = "To be used with ObjectId. Specifies the type of the assigned object")] [PSArgumentCompleter("User", "Group", "Service Principal")] [Alias("PrincipalType")] public string ObjectType { get; set; } = null; @@ -285,7 +285,7 @@ public override void ExecuteCmdlet() catch (JsonException) { WriteVerbose("Deserializing the input role assignment failed."); - throw new Exception("Deserializing the input role assignment failed. Please confirm the file is properly formated"); + throw new Exception("Deserializing the input role assignment failed. Please confirm the file is properly formatted"); } } if (string.IsNullOrEmpty(Condition) ^ string.IsNullOrEmpty(ConditionVersion)) diff --git a/src/Resources/Resources/RoleAssignments/SetAzureRoleAssignmentCommand.cs b/src/Resources/Resources/RoleAssignments/SetAzureRoleAssignmentCommand.cs index 229b13f1f6ae..2fb5da273a7a 100644 --- a/src/Resources/Resources/RoleAssignments/SetAzureRoleAssignmentCommand.cs +++ b/src/Resources/Resources/RoleAssignments/SetAzureRoleAssignmentCommand.cs @@ -69,7 +69,7 @@ public override void ExecuteCmdlet() catch (JsonException) { WriteVerbose("Deserializing the input role definition failed."); - throw new Exception("Deserializing the input role assignment failed. Please confirm the file is properly formated"); + throw new Exception("Deserializing the input role assignment failed. Please confirm the file is properly formatted"); } }