File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/ResourceManager/Resources/Commands.Resources/Models.Authorization Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ public IEnumerable<PSRoleAssignment> RemoveRoleAssignment(FilterRoleAssignmentsO
279
279
// Match role assignments at exact scope. Ideally, atmost 1 roleAssignment should match the criteria
280
280
// but an edge case can have multiple role assignments to the same role or multiple role assignments to different roles, with same name.
281
281
// The FilterRoleAssignments takes care of paging internally
282
- IEnumerable < PSRoleAssignment > roleAssignments = FilterRoleAssignments ( options , currentSubscription : string . Empty )
282
+ IEnumerable < PSRoleAssignment > roleAssignments = FilterRoleAssignments ( options , currentSubscription : subscriptionId )
283
283
. Where ( ra => ra . Scope == options . Scope . TrimEnd ( '/' ) ) ;
284
284
285
285
if ( roleAssignments == null || ! roleAssignments . Any ( ) )
You can’t perform that action at this time.
0 commit comments