Skip to content

Commit

Permalink
Update Set-AzRoleAssignmentRestMethod.ps1 (#547)
Browse files Browse the repository at this point in the history
Added $scope so log at line 24 would have scope variable in case of update
  • Loading branch information
artisticcheese authored Apr 10, 2024
1 parent 8dba61a commit 684b99c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function Set-AzRoleAssignmentRestMethod {
if ($null -ne $RoleAssignment.id) {
# update existing role assignment
$path = "$($RoleAssignment.id)?api-version=$ApiVersion"
$scope = $RoleAssignment.scope
}
else {
# create new role assignment
Expand Down

0 comments on commit 684b99c

Please sign in to comment.