Skip to content

[Feature Request]: Update builtInRoleNames format #2430

@eriqua

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions