
Generate an app-only access token for the Graph API using the client credential flow and a token request with tenant ID, client ID, client secret, and scope.
Validate your access token by decoding a json web token (jwt) with jwt.io, revealing audience, app display name, app id, and note that no permissions are included yet.
Learn to send a test Teams channel message using a delegated token with channelmessage.send, configure permissions, and post to a channel via the Graph API endpoint.
Run a final check of the PowerShell script managing dynamic and manual licenses, verify removals, and prepare to migrate to an Azure function for serverless execution.
Move your locally built solution to an Azure Function App in the Azure portal, using a consumption Windows function with PowerShell 7.4, and enable storage and monitoring.
In today's fast-paced corporate environments, manual user provisioning and offboarding are no longer sustainable. For modern IT operations and cloud engineering teams, automating routine Microsoft 365 administration has evolved from a luxury into an absolute operational necessity.
This comprehensive, hands-on technical course is explicitly designed to bridge the gap between basic scripting and enterprise-grade cloud architecture. Utilizing a powerful combination of the Microsoft Graph API, advanced PowerShell scripting, and serverless Azure Functions, you will design, build, and deploy a production-ready automation system designed to eliminate costly license waste within your Microsoft 365 environment.
Throughout the training, you will build a robust, time-triggered Azure Function that runs automatically on a daily schedule. This serverless solution will thoroughly scan your Microsoft 365 tenant to audit user accounts, pinpointing disabled users who are still actively draining your IT budget by holding onto assigned enterprise licenses. The automation logic you develop will intelligently parse through multiple licensing structures—seamlessly removing directly assigned licenses, navigating complex group-based licensing policies, and issuing real-time administrative alerts via Microsoft Teams whenever a disabled user inherits a license from an automated dynamic group.
Beyond basic task execution, the final solution is built for enterprise visibility, sending a clean activity report directly to a dedicated Teams channel where IT leadership can review daily actions. This course is specifically tailored for Microsoft 365 administrators, EntraID administrators, IT DevOps engineers, and automation specialists who are ready to abandon manual portal clicks in favor of secure, scalable, and fully automated identity management.