📖 Introduction
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 workshop you will explore twelve 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.
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!
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 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:
- 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 organizational account.
- 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.
- Copy the generated code and paste it into your preferred development environment or script editor. Run and test the script, then ask Copilot to refine it if you encounter errors or need adjustments.
- 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.”
- 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.
- Optionally, ask Copilot to create an Adaptive Card definition for Teams or Outlook by describing the card’s content and layout. Copy the resulting JSON into the appropriate application to test your card.
Sample Prompts:
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
Developers and IT admins often work with lengthy runbooks, architecture specs, or wiki pages. Copilot can summarize these documents and extract action items. Microsoft’s adoption guidance notes that Copilot can search for information, summarize documents, and draft meeting notes.
Steps:
- Navigate to M365copilot.com and open Copilot.
- Upload your document(s)—for example, a network architecture spec, a SharePoint wiki page, or a PDF runbook. Copilot accepts Word, PDF, text, and other common formats.
- Ask Copilot to summarize the document in a specific format. For example: “Summarize this 50‑page architecture document into 10 bullet points and highlight dependencies.”
- Request a table of key components or steps. For instance: “Create a table listing services, dependencies, and failure points from this runbook.”
- Ask follow‑up questions to extract specific information, such as “What are the prerequisites for deployment?” or “List the step that configures the load balancer.”
- Optionally, have Copilot draft an action plan or checklist based on the summarized content—for example, “Create a checklist to deploy this application in a staging environment.”
Sample Prompts:
You’ll learn how to transform long technical documents into concise
summaries and actionable tables, making it easier to grasp complex
information.
Task 3: Research New Technologies with Copilot’s Research Agent
Copilot can search the web and return concise, sourced answers. Microsoft notes that Copilot provides direct answers and can conduct research by searching the web. Use this to explore new technologies like Microsoft Cloud PC (MCP) servers, serverless architectures, or emerging frameworks.
Steps:
- Open Copilot via the Copilot app or M365copilot.com.
- In the prompt, clearly define what you want to research. For example: “Research Microsoft Cloud PC (MCP) servers and compare them to traditional virtual machines.”
- Ask Copilot to provide definitions, pros and cons, pricing considerations, and usage scenarios. Copilot will search public information and cite sources.
- Request comparisons or alternatives. For instance: “Compare Azure Functions to AWS Lambda and Google Cloud Functions.”
- Follow up with “What are the best practices for securing MCP servers?” or “List training resources for learning serverless architecture.”
- Summarize the findings in a table or bullet list for easy consumption.
Sample Prompts:
You’ll learn how to use Copilot as a research assistant to gather
up‑to‑date information from the web, enabling quick technology
evaluations.
Task 4: Accelerate Standups & Sprint Reviews with Loop + Copilot
Copilot inside Microsoft Loop helps teams co‑create content, stay informed, and pick up where others left off. Use it to prepare standup summaries, sprint retrospectives, or planning docs based on your meetings and work items.
Steps:
- In Microsoft Teams, create a Loop component or open an existing Loop page.
- Click the Copilot icon to invoke Copilot in Loop. Ask it to aggregate updates from your team’s recent commits, pull requests, or meeting notes.
- Prompt Copilot to draft a standup summary. For example: “Create today’s standup summary based on yesterday’s meeting notes, code commits, and issue tracker comments.”
- Ask for blockers or risks. For instance: “Identify blockers mentioned in our sprint and list the owners.”
- Request a sprint demo outline or retrospective. For example: “Generate a sprint review agenda using the past two weeks of updates.”
- Share the Loop component in Teams so the team can edit and collaborate in real time.
Sample Prompts:
You’ll learn how to leverage Loop with Copilot to consolidate team
updates and produce dynamic standup summaries and sprint reviews.
Task 5: Convert Meetings into Actionable Engineering Work
Copilot in Microsoft Teams can summarize meetings, capture who said what, and suggest action items. Turn design reviews, incident calls, or planning sessions into structured work items.
Steps:
- Join or schedule a meeting in Teams with the Copilot feature enabled.
- During the meeting, click Copilot to generate a real‑time summary of discussion points, decisions, and disagreements.
- After the meeting, ask Copilot to provide an action plan. For example: “Summarize the incident call and extract root cause, mitigation steps, and follow‑up tasks.”
- Request a table of tasks with owners and due dates. Copilot can compile this into a list you can paste into Azure DevOps or Jira.
- Ask Copilot to draft follow‑up emails or Teams posts summarizing decisions and next steps.
- Review the summary and refine as needed; confirm tasks with stakeholders before actioning them.
Sample Prompts:
You’ll learn how to use Copilot in Teams to capture meeting
discussions and transform them into actionable tasks, keeping your
projects on track.
Task 6: Generate Technical Documentation Automatically
AI tools like Copilot can generate explanations of code blocks and project documentation using prompts. Use Copilot to create API docs, onboarding guides, architecture descriptions, and other technical materials without leaving the Microsoft 365 ecosystem.
Steps:
- Copy the relevant block of code or describe the component you want to document. Navigate to copilot.microsoft.com or open the Copilot pane within Word or Teams.
- Paste the code into Copilot and ask for an explanation. For example: “Explain this function and its parameters for API documentation.” Copilot will describe the purpose, parameters, and return values.
- Ask Copilot to generate a README or architecture overview. For instance: “Generate a project overview including installation instructions, usage examples, and architecture summary.”
- Request inline comments or docstrings following your team’s style guidelines. You might ask: “Add detailed docstrings to this Python class with parameter descriptions and examples.”
- If documenting multiple components, ask Copilot to create a high‑level architecture description or sequence diagram summarizing interactions between services.
- Copy the generated documentation into your documentation platform (Word, OneNote, SharePoint, etc.), review it for accuracy, and edit as needed before publishing.
Sample Prompts:
You’ll learn how to leverage Copilot to automatically generate or
enhance technical documentation, saving time and ensuring consistency.
Task 7: Create Automation Scripts for IT Operations
IT administrators often need to automate tasks like account creation, device configuration, or policy enforcement. Copilot can generate ready‑to‑run PowerShell or Bash scripts from plain‑language descriptions and refine or troubleshoot them.
Steps:
- Open Copilot via the Copilot web app or within a Microsoft 365 app such as Teams.
- Describe the administrative task you want to automate. For example: “Create a PowerShell script to enable multi‑factor authentication for all users.”
- Copilot will generate a script with comments. Review the script and ask clarifying questions if needed—for example, “Add logging and error handling to this script.”
- Test the script in a safe environment. If it fails, copy the error message into Copilot and ask for troubleshooting assistance.
- Request modifications for different platforms—e.g., “Convert this PowerShell script to a Bash script for Linux servers.”
- Save the final script and document its usage so others can run it.
Sample Prompts:
You’ll learn how to quickly generate and refine automation scripts
using Copilot, reducing repetitive manual work.
Task 8: Troubleshoot Systems & Environments with Logs and Errors
When debugging, developers often paste log files or error messages into Copilot to get precise answers. A Microsoft guidance article advises referencing specific functions, error messages, or logs when chatting with Copilot.
Steps:
- Open Copilot and gather the log files or error messages you need to analyze. You can copy‑and‑paste logs or upload a text file.
- Provide context in your prompt. For example: “Analyze the attached server log and identify any database connection errors.”
- If there’s a stack trace, ask Copilot to explain the error and propose a fix: “Explain this null reference exception and suggest how to resolve it.”
- Request a summary of the most common errors in the log file and potential root causes.
- Follow up with clarifications: “What configuration changes could prevent this error?” or “Generate a script to monitor for this error and alert the team.”
- Implement and test the recommended fixes, then rerun the process if new errors occur.
Sample Prompts:
You’ll learn how to use Copilot to analyze logs, explain error
messages, and recommend fixes, speeding up incident resolution.
Task 9: Create Diagrams & Architecture from Text
Copilot can generate diagrams using code—for example, by producing Mermaid syntax. Copilot can create diagrams, such as Gantt charts, to visualize data and provides the code needed to render the diagram. This is useful for architecture diagrams, sequence diagrams, or data flows.
Steps:
- Open Copilot via the web app or within a Microsoft 365 app.
- Describe the architecture you want to visualize. For example: “Draw a microservices architecture with API Gateway, authentication service, product service, Redis cache, and SQL database.”
- Ask Copilot to generate a Mermaid diagram. Copilot will output code
in the
mermaidsyntax along with an explanation. - Copy the code into a Markdown or diagram tool that supports Mermaid (such as a Loop page or a markdown editor) to render the diagram.
- Ask Copilot to modify the diagram—for example, “Add a message queue between the API Gateway and the product service,” or “Convert this to a sequence diagram for user authentication.”
- Save and share the visual with your team.
Sample Prompts:
You’ll learn how to turn textual descriptions into visual diagrams
using Copilot, enabling clearer communication of system architectures.
Task 10: Prepare and Deliver Technical Presentations
Copilot in PowerPoint can read through a long presentation and provide a bulleted summary of key points. Use Copilot to build and polish decks summarizing projects, incidents, or architecture changes.
Steps:
- Open your existing PowerPoint deck or start a new one in PowerPoint for the web. Click the Copilot button in the ribbon.
- Ask Copilot to summarize your presentation in bullets. For example: “Summarize this 40‑slide deck into 5 bullets highlighting key findings.”
- Provide content and ask Copilot to create slides. For instance: “Create a slide describing our migration to Kubernetes, including benefits and challenges.”
- Request visuals or diagrams. You can ask: “Add a slide with a bar chart summarizing monthly incident counts.” Copilot will generate charts based on your data.
- Ask Copilot to rewrite slide text for clarity, or adjust tone for executive audiences.
- Practice presenting by asking Copilot to generate speaker notes or potential questions from stakeholders.
Sample Prompts:
You’ll learn how to leverage Copilot in PowerPoint to create,
summarize, and refine presentations for technical leadership and
stakeholders.
Task 11: Write or Improve Policies, SOPs, and Governance Docs
Copilot can help you update and improve policies or standard operating procedures (SOPs). The Microsoft Scenario Library shows an HR use case where Copilot compares new and old policy documents, makes a table of differences, drafts FAQs, creates a change management plan, and develops training materials. The same approach applies to IT policies, access controls, or change‑management procedures.
Steps:
- Gather the current and proposed versions of your policy or SOP document and open Copilot in Word (or use the Copilot web app).
- Ask Copilot to compare the two documents and produce a table of key differences. For example: “Compare these two security policies and list the changes with rationale.”
- Request a draft FAQ explaining the policy update and its impact on stakeholders.
- Have Copilot create a change‑management plan outlining tasks, timelines, and communications needed to implement the updated policy.
- Ask Copilot to generate training materials or slide decks to help colleagues understand the policy changes.
- Use Copilot in Teams during review meetings to summarize feedback and action items to refine the policy.
Sample Prompts:
You’ll learn how Copilot can assist with policy management—identifying
changes, drafting communications, and planning implementation—ensuring
governance documents stay current.
Task 12: Analyze Large DevOps or Monitoring Data
Copilot can analyze large datasets from CSV or Excel files, producing charts and summaries. Microsoft notes that Copilot can perform complex data analysis and generate charts or reports. Use this to explore metrics from build pipelines, deployment logs, or system monitoring.
Steps:
- Export your DevOps metrics—such as deployment durations, test pass rates, or monitoring logs—to a CSV or Excel file.
- Navigate to M365copilot.com and open Copilot. Upload the data file.
- Ask Copilot to list the types of visualizations it can create based on your data. For example: “What charts can you build from this deployment metrics file?”
- Request specific analyses, like “Create a line chart showing build duration over time” or “Generate a heat map of error counts by service and month.”
- Ask Copilot to calculate aggregates or perform calculations: “Calculate the average deployment success rate per month,” or “Identify the top five services with the highest error counts.”
- Download or copy the generated visuals and metrics into reports or dashboards for sharing with your team.
Sample Prompts:
You’ll learn how to use Copilot to analyze structured data, create
visualizations, and compute metrics, enabling data‑driven decisions
for your projects.
🔑 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.