📖 Introduction

Developer & IT Copilot Training

Copilot for Developers & IT Teams

Microsoft 365 Copilot is more than a writing aid—it’s a multifaceted assistant that can help your engineering and IT teams code faster, summarize complex information, generate documentation, research new technologies, automate repetitive tasks, and stay organised. In this updated workshop you will explore sixteen hands‑on scenarios designed specifically for developers and IT professionals. Each exercise includes sample prompts, tips, and a clear learning outcome so you can immediately apply Copilot in your daily workflows.

NOTE: Feel free to adapt the sample prompts to fit your own
environment, repositories, or documents. If Copilot’s first answer
isn’t what you expected, refine your prompt and try again—iteration is
part of the process! Always review and verify Copilot’s output; AI may
suggest incorrect or incomplete information, and you remain the pilot
of your work.

Task 1: Write & Review Code with Copilot

Use Copilot (via the Copilot web app or the Copilot pane inside Microsoft 365 apps) to generate and refine code snippets and scripts. Copilot can create PowerShell or Bash scripts from natural‑language descriptions, convert code between languages, and suggest improvements. Microsoft’s own documentation notes that AI tools like Copilot can generate code snippets, debug errors and even write documentation and test cases. Community posts also highlight that by describing a task in plain English, Copilot can generate ready‑to‑run PowerShell scripts and help refine or troubleshoot them.

Steps:

  1. Open Copilot by navigating to copilot.microsoft.com or by selecting the Copilot icon in Microsoft Teams or the Microsoft 365 app. Sign in with your organisational account.
  2. To generate a script, enter a clear description of what you need. For example: “Generate a PowerShell script that lists all installed Windows services and stops any services that have a status of ‘stopped’.” Copilot will produce the script inline.
  3. Use the Work tab (paperclip icon) to upload any reference files that might help, or paste existing code directly into the prompt. Ask Copilot to generate, explain or improve the code. For example, “Add logging and error handling to this PowerShell script.”
  4. Copy the generated code and paste it into your preferred development environment or script editor. Test the script in a safe environment, then ask Copilot to refine it if you encounter errors or need adjustments.
  5. To review existing code, paste your code into Copilot and ask for suggestions on performance, security, or readability. For example: “Improve this Python function to handle exceptions and log errors.”
  6. To convert code between languages, paste the original code and request a translation, such as “Convert this Bash script to a PowerShell script.” Copilot will return the code in the new language.

Sample Prompts:

Generate a PowerShell script to bulk‑enable multi‑factor authentication for all users in our tenant. Review this C# method for performance and suggest improvements. Convert this SQL query into a Python function using pandas.
Learning Outcome:
You’ll learn how to use Copilot to generate scripts and code snippets,
review and improve existing code, and convert code between
languages—all without leaving the Microsoft 365 ecosystem.

Task 2: Summarize & Understand Large Documentation Sets

Task 3: Research New Technologies with Copilot’s Research Agent

Task 4: Accelerate Standups & Sprint Reviews with Loop + Copilot

Task 5: Convert Meetings into Actionable Engineering Work

Task 6: Generate Technical Documentation Automatically

Task 7: Create Automation Scripts for IT Operations

Task 8: Troubleshoot Systems & Environments with Logs and Errors

Task 9: Create Diagrams & Architecture from Text

Task 10: Prepare and Deliver Technical Presentations

Task 11: Write or Improve Policies, SOPs, and Governance Docs

Task 12: Analyse Large DevOps or Monitoring Data

Task 13: Recap Teams Meetings & Generate Notes

Task 14: Draft and Refine Emails in Outlook

Task 15: Summarise Work & Create Daily or Weekly Digests

Task 16: Find & Retrieve Information Across M365

🔑 Final Thoughts

Iterate Prompts

Refine prompts to get better results — Copilot improves with every turn.

📎

Ground in Reality

Attach the right files. Quality grounding produces quality output.

🔁

Reuse What Works

Save prompts and patterns you'll use again — your future self will thank you.

Always Verify

Review AI output before acting on it — you remain the pilot.