You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Bicep VSC extension is enabled, saving a nested_roleAssignments.bicep file results in adding a space between the parameters of the subscriptionResourceId() function used to calculate the roleID in the builtInRoleNames object variable.
Updating the list of roles with the Update-RoleAssignmentList utility, does not consider that space and changes the format back to subscriptionResourceId('Microsoft.Authorization/roleDefinitions','<roleID>')
Update the utility, in particular the Get-RoleAssignmentList utility, to comply with the right formatting and avoid unintended changes on files.
The text was updated successfully, but these errors were encountered:
Description
When the Bicep VSC extension is enabled, saving a
nested_roleAssignments.bicep
file results in adding a space between the parameters of thesubscriptionResourceId()
function used to calculate the roleID in thebuiltInRoleNames
object variable.Updating the list of roles with the
Update-RoleAssignmentList
utility, does not consider that space and changes the format back tosubscriptionResourceId('Microsoft.Authorization/roleDefinitions','<roleID>')
Update the utility, in particular the
Get-RoleAssignmentList
utility, to comply with the right formatting and avoid unintended changes on files.The text was updated successfully, but these errors were encountered: