This message was deleted.
s
This message was deleted.
c
Never tried it but appears Pulumi has a built in function. https://www.pulumi.com/registry/packages/azure-native/api-docs/authorization/getroledefinition/ The thing I don't like about the API is defining a scope. With CLI or PowerShell I can do a generic list and get all the roles. I can then write my own filter. https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions-list#rest-api