Skip to content

Commit 786d474

Browse files
Updated spellings for successfully and unsuccessful in messages that are shown to the customers when deleting a role assignment and item not found in Graph search respectively. (#25158)
1 parent 30aa289 commit 786d474

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Resources/Resources.Test/ScenarioTests/RoleAssignmentTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function Test-RaDeleteByPSRoleAssignment
9898
$subscription = $(Get-AzContext).Subscription
9999
$scope = '/subscriptions/'+ $subscription[0].Id +'/resourceGroups/PowershellTest'
100100

101-
$expectedMessage = "Succesfully removed role assignment for AD object 'e9da4467-12ff-4334-8179-c99abf0ffd5a' on scope '/subscriptions/" + $subscription[0].Id + "/resourceGroups/PowershellTest' with role definition 'Reader'"
101+
$expectedMessage = "Successfully removed role assignment for AD object 'e9da4467-12ff-4334-8179-c99abf0ffd5a' on scope '/subscriptions/" + $subscription[0].Id + "/resourceGroups/PowershellTest' with role definition 'Reader'"
102102

103103
# Test
104104
$newAssignment = New-AzRoleAssignmentWithId -ObjectId $principalId -RoleDefinitionName $definitionName -Scope $scope -RoleAssignmentId 50fd727d-d1af-44ef-9a32-2431b835605e

src/Resources/Resources/Properties/Resources.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Resources/Resources/Properties/Resources.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,14 +454,14 @@
454454
<value>No AD object was found with the parameters provided please ensure that the display name or GUID is written properly</value>
455455
</data>
456456
<data name="NotAuthorizedInGraph" xml:space="preserve">
457-
<value>Call to Graph was unsuccesfull, this is likely due to insuficient permissions in Azure AD. Please ensure you have the correct set of permissions.</value>
457+
<value>Call to Graph was unsuccessful, this is likely due to insuficient permissions in Azure AD. Please ensure you have the correct set of permissions.</value>
458458
</data>
459459
<data name="ServicePrincipalRoleAssignmentCreationFailed" xml:space="preserve">
460460
<value>The role assignment creation operation failed with the error: '{0}'
461461
This means the role assignment was not able to be created. Please assign a role manually with help of the Service Principal Id</value>
462462
</data>
463463
<data name="SuccessfullRARemove" xml:space="preserve">
464-
<value>Succesfully removed role assignment for AD object '{0}' on scope '{1}' with role definition '{2}'</value>
464+
<value>Successfully removed role assignment for AD object '{0}' on scope '{1}' with role definition '{2}'</value>
465465
</data>
466466
<data name="ScopeAndSubscriptionNeitherProvided" xml:space="preserve">
467467
<value>No subscription was found in the default profile and no scope was specified. Either specify a scope or use a tenant with a subscription to run the command.</value>

0 commit comments

Comments
 (0)