Disable the Flow for Office 365 License Service for Multiple Users
Question details
An administrator wants to disable the Flow for Office 365 service for multiple users without necessarily removing their entire Office 365 license.

- Product
- Microsoft 365 admin center and Office 365 Enterprise E3
- Device & OS
- not provided
- Scenario
- Manage the Flow for Office 365 service plan within Enterprise E3 licenses assigned to multiple users.
- Observed behavior
- The desired state is for the Flow service plan to be disabled while other required services in the license remain available.
Sign in with an account authorized to manage licenses, and identify the exact Enterprise E3 SKU and Flow service plan in your tenant. Check whether the licenses are assigned directly or through a group, because group-based assignments must be changed at the group level.
Disable the Flow service for multiple users with Microsoft Graph PowerShell
Use this approach to update directly assigned licenses for users listed in a CSV file while preserving their other disabled service plans.
The script updates the service plan within the existing SKU; it does not remove the entire Enterprise E3 license. It skips users who have a group-based assignment for the same SKU, so those assignments can be reviewed separately.
Open PowerShell and run: Install-Module Microsoft.Graph -Scope CurrentUser. Then run: Connect-MgGraph -Scopes 'Organization.Read.All','User.Read.All','LicenseAssignment.ReadWrite.All' and sign in with an authorized administrator account.
Run Get-MgSubscribedSku -All | Select-Object SkuPartNumber,SkuId to identify the Enterprise E3 SKU. Then run (Get-MgSubscribedSku -All | Where-Object SkuId -eq 'YOUR-SKU-ID').ServicePlans | Select-Object ServicePlanName,ServicePlanId to find and verify the Flow for Office 365 service plan.
Create a CSV file named users.csv with a UserPrincipalName column and one user sign-in name per row. Save it in the PowerShell working folder, or use its full path in the script.
Replace YOUR-SKU-ID and YOUR-FLOW-SERVICE-PLAN-ID with the verified IDs, then run: $skuId = [guid]'YOUR-SKU-ID' $planId = [guid]'YOUR-FLOW-SERVICE-PLAN-ID' $sku = Get-MgSubscribedSku -All | Where-Object SkuId -eq $skuId if (-not $sku -or -not ($sku.ServicePlans | Where-Object ServicePlanId -eq $planId)) { throw 'Check the SKU and service plan IDs.' } Import-Csv .\users.csv | ForEach-Object { $user = Get-MgUser -UserId $_.UserPrincipalName -Property Id,UserPrincipalName,AssignedLicenses,LicenseAssignmentStates $license = $user.AssignedLicenses | Where-Object SkuId -eq $skuId $groupAssignment = $user.LicenseAssignmentStates | Where-Object { $_.SkuId -eq $skuId -and $_.AssignedByGroup } if (-not $license -or $groupAssignment) { Write-Warning "Review assignment for $($user.UserPrincipalName)"; return } $disabled = @(@($license.DisabledPlans) + @($planId) | Select-Object -Unique) Set-MgUserLicense -UserId $user.Id -AddLicenses @(@{SkuId=$skuId; DisabledPlans=$disabled}) -RemoveLicenses @() }
In the Microsoft 365 admin center, open Users > Active users, select a changed user, and check Licenses and apps. Confirm that Flow for Office 365 is off and the user's other required apps remain enabled.

Disable the Flow service in the Microsoft 365 admin center
Use the admin center to inspect and change service settings for individual users without running PowerShell.
Work with Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents. Its format compatibility helps users move existing files over seamlessly. Microsoft 365 license and Flow service settings must still be managed through Microsoft.

Frequently Asked Questions
Does disabling Flow remove the entire Enterprise E3 license?
No. Disabling the Flow service plan within the SKU leaves the license assigned. Removing the SKU itself is a separate action that can affect other included services.
How do I find the correct Flow service plan ID?
In Microsoft Graph PowerShell, run Get-MgSubscribedSku -All, select the relevant SKU, and inspect its ServicePlans property for the service plan name and ID. Verify the plan before applying changes.
What if the license is assigned through a group?
Change the service selection on the group's license assignment rather than trying to override the inherited assignment on each user. Review the group membership and license settings before saving.
Why might Flow still be available after I disable the plan?
The user may have another SKU or assignment that provides a Flow service plan. Check all assigned licenses in the user's Licenses and apps section and review any group-based assignments.




