Description
Hi!
I've a customer which is trying to use the policyAssignments module to assign a policy with a RBAC.
Each time they try to assign a policy, the bicep module doesn't found the principal and ends up in error the first time.
After they restart the pipeline a few minutes later everything is fine.
Steps to reproduce
- Assign a policy which needs a RBAC
- The deployment ends in error with the message:
PrincipalNotFound: Principal xxxxx does not exist in the directory yyyyy
- Restart the deployment a few minutes later, everything is fine
Thanks!
Description
Hi!
I've a customer which is trying to use the policyAssignments module to assign a policy with a RBAC.
Each time they try to assign a policy, the bicep module doesn't found the principal and ends up in error the first time.
After they restart the pipeline a few minutes later everything is fine.
Steps to reproduce
PrincipalNotFound: Principal xxxxx does not exist in the directory yyyyyThanks!