brash-musician-70232
05/03/2023, 4:22 AMsubscription_id = 00000000-0000-0000-0000-000000000000
role_definition_id = "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c"
role_assignment_name = azure.authorization.get_role_definition(
scope=f"/subscriptions/{subscription_id}",
role_definition_id=role_definition_id,
).name
However I get error message like :
In the error message it is seen that few things are getting repeated, not sure why.
RBAC name Error: invoke of azure-native:authorization:getRoleDefinition failed: invocation of azure-native:authorization:getRoleDefinition returned an error: request failed /%2Fsubscriptions%2F00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/%2Fsubscriptions%2F00000000-0000-0000-0000-000000000000%2Fproviders%2FMicrosoft.Authorization%2FroleDefinitions%2Fb24988ac-6180-42a0-ab88-20f7382dd24c: autorest/azure: Service returned an error. Status=404 <nil>
icy-doctor-13719
05/03/2023, 1:59 PMbrash-musician-70232
05/04/2023, 7:30 AM