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

Failed deployments in the Activity log #719

Closed
teemukom opened this issue Aug 2, 2024 · 3 comments
Closed

Failed deployments in the Activity log #719

teemukom opened this issue Aug 2, 2024 · 3 comments
Assignees
Labels
awaiting response bug Something isn't working

Comments

@teemukom
Copy link

teemukom commented Aug 2, 2024

Describe the bug
When running EPAC I can see failed Deployments in the activity log. The policy definitions / assignments are still correctly placed and Deploy-PolicyPlan returns no errors. The deployment error is pretty non-informative:
"properties": { "statusCode": "BadRequest", "serviceRequestId": null, "statusMessage": "{\"error\":{\"code\":\"InvalidRequestContent\",\"message\":\"The deployment request content is invalid. Please see https://aka.ms/arm-deploy for usage details.\"}}", "eventCategory": "Administrative", "entity": "/providers/Microsoft.Management/managementGroups/EPAC/providers/Microsoft.Resources/deployments/pid-fe9ff1e8-5521-4b9d-ab1d-84e15447565e", "message": "Microsoft.Resources/deployments/write",

To Reproduce
Deploy any change (assignment, definition, exemption)
Watch the management group level action log
Monitor for failed deployments

Expected behavior
No failed Deployments

Screenshots
image

EPAC Version
v10.5.1

@teemukom teemukom added the bug Something isn't working label Aug 2, 2024
@anwather
Copy link
Collaborator

anwather commented Aug 2, 2024 via email

@anwather anwather self-assigned this Aug 2, 2024
@teemukom
Copy link
Author

teemukom commented Aug 2, 2024

Thanks for the response @anwather. Seems like this was it. Might be good to have note in the documentation.

@teemukom teemukom closed this as completed Aug 2, 2024
@anwather
Copy link
Collaborator

anwather commented Aug 2, 2024

Thanks for the response @anwather. Seems like this was it. Might be good to have note in the documentation.

Good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants