The Evolution: Static vs. Agentic
In Lab 1, we focused on the "Secure Foundation" (M365 Hardening). Now, we build the "Intelligent Engine."
Most automation is Static:
If A happens, do B.
But enterprise operations are messy. A user ticket saying "I can't get into my email" could mean a forgotten password, a locked account, a conditional access block, or a deleted mailbox. A static bot fails here.
Agentic Automation is different:
If A happens, let the Bot analyze the context and decide if it needs to do B, C, or D.
The Architecture: The "Brain" and the "Hands"
To build an agent, you need two components:
- The Brain (Reasoning): An LLM (like Claude 3.5 or Gemini 1.5) that can understand complex instructions and make decisions.
- The Hands (Tools): A set of APIs or scripts (via Power Automate or Python) that the brain can call to interact with the real world.
Phase 1: The Decision Logic (The Prompt)
The core of this lab is the System Prompt. We give the agent a "persona" and a set of "available tools."
You are an IT Operations Agent. Your goal is to triage incoming support tickets.
Tools available:
- [Check_Account_Status]: Checks if a user is locked in Entra ID.
- [Trigger_Password_Reset]: Sends a reset link to the user's secondary email.
- [Escalate_To_Human]: Creates a high-priority ticket for a technician.
Logic:
1. Analyze the user's message.
2. If they mention being "locked out," use [Check_Account_Status] first.
3. If the account is healthy but they forgot the password, use [Trigger_Password_Reset].Phase 2: Connecting the "Hands" (Power Automate)
We use Power Automate as the orchestration layer.
- Trigger: New email or ticket arrives.
- Action: Send the ticket text to the AI Agent (the Brain).
- The Decision: The AI returns a JSON object specifying which tool to use.
- The Execution: A switch case in Power Automate executes the specific sub-flow (the Hands).
Why This Matters for Operations
In my role as an Operations & Automation Specialist, I look for ways to scale human expertise. An agentic bot doesn't just "save time"—it reduces the cognitive load on the IT team.
Instead of a technician spending 10 minutes triaging a "I can't log in" ticket, the bot has already checked the logs, verified the account status, and either fixed it or provided the technician with a full diagnostic report.
Next Steps: The Implementation Video
In the upcoming YouTube video for Lab 2, I’ll walk through the actual Power Automate flow and show the AI "deciding" in real-time between different support paths.
Stay tuned for the live demo.



