Tech / IT Support · beginner

Automated Microsoft 365 User Management with PowerShell and AI Assistance

This project involves building PowerShell scripts to automate common Microsoft 365 user management tasks, such as onboarding new employees and offboarding departing ones. Students will leverage AI tools to assist in script development and debugging, demonstrating proficiency in cloud administration, automation, and AI-assisted problem-solving.

Project overview

This project showcases practical skills in cloud platform administration (Microsoft 365), scripting for automation (PowerShell), and leveraging AI for efficiency—all highly sought-after skills in modern IT support roles.

Real-world use case

Companies can use similar automation to streamline IT operations, reduce manual errors in user provisioning, and ensure consistent security policies for employee access to cloud resources.

Tools and technologies

Skills you can demonstrate

PowerShell scripting, Microsoft 365 administration, Cloud user management, Automation, Active Directory (Azure AD), Troubleshooting, AI prompting, Script debugging

Build roadmap

  1. Understand Microsoft 365 User Management
    Familiarize yourself with basic user creation, licensing, and group management within the Microsoft 365 admin center. Understand the common steps involved in onboarding and offboarding.
  2. Learn PowerShell Fundamentals
    Complete a beginner-friendly PowerShell tutorial focusing on variables, cmdlets, loops, and conditional statements. Pay attention to connecting to Microsoft 365 services via PowerShell.
  3. Draft Onboarding/Offboarding Scripts with AI
    Use an AI assistant (e.g., Google Gemini, ChatGPT) to generate initial PowerShell scripts for user onboarding (create user, assign license, add to group) and offboarding (disable user, remove license, remove from groups).
  4. Test and Refine Scripts in a Sandbox Environment
    Set up a free Microsoft 365 developer tenant or a trial account. Test the generated scripts thoroughly, debugging any errors and refining them to handle various scenarios (e.g., user already exists, license unavailable).
  5. Add Advanced Features and Documentation
    Enhance the scripts with features like prompting for input, logging actions, and robust error handling. Create a clear README file explaining the script's purpose, usage, and any prerequisites. Store the script in a GitHub repository.
  6. Create a Project Showcase
    Document the project with screenshots or a short video demonstrating the automated process. Explain the problem it solves, the technologies used, and the skills gained. Highlight how AI assisted in the development process.

Ways to extend the project

Integrate the PowerShell script with a low-code automation platform like Microsoft Power Automate to trigger onboarding/offboarding workflows based on HR system inputs.

How to showcase your work

Open this project in BuildersBenchBrowse Tech / IT Support projects