# enabel license options office365

**URL:** https://forums.powershell.org/t/enabel-license-options-office365/8592
**Category:** PowerShell Help
**Created:** [May 10, 2017, 6:48am UTC](https://forums.powershell.org/t/enabel-license-options-office365/8592 "2017-05-10T06:48:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jeremy-smit-2](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jeremy-smit-2](https://forums.powershell.org/u/jeremy-smit-2)
#### Post date: [May 10, 2017, 6:48am UTC](https://forums.powershell.org/t/enabel-license-options-office365/8592/1 "2017-05-10T06:48:26Z")

</div>

Dear people,

I have 2 questions.

first one.

Is it possible to enable a license plan options in office 365 for all users through powershell.  
I need to enable Microsoft planner for all users in a tenant.

Second question.  
Is it possible through powershell to add Office 365 licenses to mutliple users, like the following situation.

i create a new tenant like [new-domain-nl@onmicrosoft.com](mailto:new-domain-nl@onmicrosoft.com), and i have 250 users.  
and then 125 users must have Enterprise e3 licenses  
and the other 125 must have enterprise e1.

Is that possible to create a script or something

---

<div class="post-metadata">

### Author: ![rob-simmers](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/rob-simmers/32/1010_2.png) [@rob-simmers](https://forums.powershell.org/u/rob-simmers)
#### Post date: [May 10, 2017, 7:31am UTC](https://forums.powershell.org/t/enabel-license-options-office365/8592/2 "2017-05-10T07:31:04Z")

</div>

You can find answers to your first question with a simple web search: [https://technet.microsoft.com/en-us/library/dn771770.aspx](https://technet.microsoft.com/en-us/library/dn771770.aspx). The short answer is yes.

The second question is really a ‘it depends’. If you have context that can be used to determine who would get a license, then you could certainly assign licenses dynamically based on title, department or if their first name is Henry. As long as you have criteria that can be logically defined, then you can script it.

---

<div class="post-metadata">

### Author: ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)
#### Post date: [May 16, 2024, 8:38pm UTC](https://forums.powershell.org/t/enabel-license-options-office365/8592/3 "2024-05-16T20:38:49Z")

</div>


