Skip to content

[Feature Request]: Update builtInRoleNames format #2430

Closed

Description

@eriqua

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions