Avatar of Michael Leonard
Michael Leonard
 asked on

We basically need to run a powershell script against a group that turns that exchange license on under the E5 once the person is migrated to Office 365.

We have all users enabled with the E5 but have the exchange license off.  We basically need to run a script against a group that turns that exchange license on under the E5 once the person is migrated to Office 365.  can someone provide a way to do this in Powershell with Office 365?
PowershellMicrosoft OfficeExchangeMicrosoft 365

Avatar of undefined
Last Comment
Michael Leonard

8/22/2022 - Mon
Adam Brown

Easy way to handle this would be to create a License assignment policy in Azure AD. Set it up with a new group and add users to the group as they are migrated. Assign the E5 license fully to members of that group with the policy. Voila. 

Michael Leonard

ASKER
actually let me provide some additional info on this,

We already have a script that runs for new employees which licenses say 15 of the 20 options under the E5.  Exchange is not one of those options.

Once migrated to exchange, we wouldn’t want to license the E5 fully, we would just want to add exchange under the e5 so do I set up a license group with just exchange under the e5 and it adds it or do I need to set it for the existing 15 options, plus now exchange making it 16 of the 20.
Vasil Michev (MVP)

Here's the script I usually recommend for such scenarios: https://gallery.technet.microsoft.com/scriptcenter/Change-Office-365-licenses-e3a26eb0
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Michael Leonard

ASKER
hi Vasil, can this be used to "enable" just the "exchange" option in the E5 license feature set?
ASKER CERTIFIED SOLUTION
Vasil Michev (MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Michael Leonard

ASKER
that's great just what i was looking for.  Thanks Vasil!