Office 365 Service Plan Configuration

Hey all,

Our users have different Service Plan configurations within our Office 365 tenancy. But, they all have the Exchange Online (Plan 2) plan switched on. What I’m trying to figure out is how to switch off Exchange Online in their Service Plan without affecting the other enabled services.

I’ve seen a few PS tools that can do this, but I can’t quite work out in the code how this magic is being done!

Any pointers at all?


You’ll need to use new-msollicenseoptions to configure a license option, and then use set-msoluserlicense to apply it. You could build out the licenseoptions as a variable, or set-msoluserlicense accepts pipeline input from new-msollicenseoptions.