Skip to content
FlowHubFluxonLab
Microsoft Teams
CRM & Sales Pipelinefree

Optimize Inactive M365 Premium Licenses with Microsoft Graph and Teams

by Mychel GarzonUpdated Aug 2026
RequiresMicrosoft TeamsMicrosoft Teams
Share Post Share
ScMonthly Schedule Trigger at 6amMonthly Schedul…SeSet Configuration ParametersSet Configurati…CoValidate ConfigurationValidate Config…HRFetch Subscribed SKUsFetch Subscribe…CoGenerate Premium SKU MapGenerate Premiu…HRRetrieve Exemption Group MembersRetrieve Exempt…ILCompile Exemption ListCompile Exempti…CoFetch All Licensed UsersFetch All Licen…CoFilter Inactive Premium MembersFilter Inactive…IfCheck Downgradable UsersCheck Downgrada…Notify No Downgrades RequiredNotify No Downg…NOComplete No Action NeededComplete No Act…CoDivide Downgrade PlanDivide Downgrad…SIBatch Process DowngradesBatch Process D…WaWait 0.5 SecondsIfCheck Dry Run ModeCheck Dry Run M…CoPass on Dry Run ModePass on Dry Run…HRPerform License DowngradePerform License…IfVerify Downgrade SuccessVerify Downgrad…CoLog Downgrade SuccessLog Downgrade S…Alert License ErrorAlert License E…NOPrepare Next DowngradePrepare Next Do…ILGather Downgrade ResultsGather Downgrad…CoCreate Summary ReportCreate Summary …Deliver Summary to IT ManagerDeliver Summary…NOFinalize WorkflowFinalize Workfl…12345678910111213141516171819202122232425262728
1/5
STEPS · 28
Runs on a schedule

On a schedule, queries Microsoft Graph for inactive M365 premium licenses and notifies owners in Microsoft Teams in batches.

Tags

cronadvancedMicrosoft TeamsCRM
Connects
microsoftteamsMicrosoft Teams
CategoryCRM & Sales Pipeline
Triggercron
Complexityadvanced
Nodes26
AddedJun 14, 2026