Forum Discussion
GisliGudmundsson
Nov 30, 2026Copper Contributor
How to Make My Job Obsolete, Part 2: Hiring the Agent
Part 2 of my four-part series on building an AI infrastructure agent on Azure treats Azure SRE Agent like a new hire: its own managed identity with Reader, Monitoring Reader and Log Analytics Reader on a single resource group (nothing at subscription scope), Review mode so a human approves every proposal, and an hourly scheduled task that compares the hour-of-week baseline with the Container Apps scale range and proposes a change inside the operating contract. Everything is deployed with Bicep. I also cover two docs surprises: new scheduled tasks and response plans default to Autonomous, and why I pin Azure MCP Server 3.0.0.
Read the full article on Substack: https://gisli78.substack.com/p/how-to-make-my-job-obsolete-part-b20
Code on GitHub: https://github.com/gislig/how-to-make-my-job-obsolete
#mvpbuzz #azure #azug #microsoft
1 Reply
- StefanBlom44Brass Contributor
Azure SRE Agent – Part 2: Hiring the Agent
This article explains how to onboard an Azure SRE Agent safely, treating it like a new employee with limited permissions and clear responsibilities.
Key takeaways
- Managed Identity: Give the agent its own identity.
- Least Privilege: Assign Reader, Monitoring Reader, and Log Analytics Reader only at resource-group scope.
- Human Approval: Use Review mode so humans approve proposed changes.
- Scheduled Monitoring: Run hourly tasks to compare Container Apps performance against historical baselines.
- Operating Contract: Restrict proposed scaling changes to predefined limits.
- Bicep Deployment: Automate infrastructure configuration.
Important details to note
- New scheduled tasks and response plans default to Autonomous, so manually switch them to Review.
- Keep the agent in Review mode for 2–4 weeks before considering autonomous execution.
- Pin Azure MCP Server to version `3.0.0` instead of `latest`, which may install a beta release.
- Keep write permissions disabled initially.
Useful links:
- Read the full Substack article : https://gisli78.substack.com/p/how-to-make-my-job-obsolete-part-b20
- GitHub repository – Bicep templates and code : https://github.com/gislig/how-to-make-my-job-obsolete
Bottom line: Give the AI agent its own identity, minimum permissions, human approval, and strict operating limits before allowing it to manage Azure infrastructure.