Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition with telemetry tracking when deploying policies #290

Closed
SenthuranSivananthan opened this issue May 11, 2022 · 0 comments · Fixed by #289
Closed

Race condition with telemetry tracking when deploying policies #290

SenthuranSivananthan opened this issue May 11, 2022 · 0 comments · Fixed by #289
Assignees
Labels
automation Azure Pipelines & GitHub Workflows bug Something isn't working
Milestone

Comments

@SenthuranSivananthan
Copy link
Contributor

We've identified a race condition when built-in & custom policies assignments are executed in parallel. This occurs when telemetry tracking is turned on.

Error:

New-AzManagementGroupDeployment: /home/runner/work/CanadaPubSecALZ/CanadaPubSecALZ/scripts/deployments/Functions/Policy.ps1:152
Line |
 152 |      New-AzManagementGroupDeployment `
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 12:00:23 - The deployment 'cis-msft-130' failed with error(s).
     | Showing 1 out of 1 error(s). Status Message: Unable to edit or
     | replace deployment 'pid-a83f6385-f514-415f-991b-2d9bd7aed658':
     | previous deployment from '5/11/2022 12:00:19 PM' is still
     | active (expiration time is '5/18/2022 12:00:19 PM'). Please
     | see https://aka.ms/arm-deploy for usage details.
     | (Code:DeploymentActive) ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Azure Pipelines & GitHub Workflows bug Something isn't working
Projects
None yet
2 participants