0 votes

Hi guys,

We currently have one O365 Tenant configured in Adaxes.
We automatically assign an O365 plan (E3) with some services enabled to some users.

It would be possible to assign the same plan but with differents O365 services enabled based on scope/group membership/.. ?
To be more specific, I don't want to enable Exchange Online and Lync Online for a range of users.

Thanks in advance


by (740 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer


Yes, you can do that using a PowerShell script. You can use the following sample in our Script Repository: Activate Office 365 services based on group membership.

To enable/disable the services automatically once a user is added to or removed from a group, you need to create a Business Rule is follows:

  1. Create a new Business Rule.
  2. On step 2 of the Create Business Rule wizard, select Group and After Adding or removing a member from the Group.
  3. On step 3, add the Run a program or PowerShell script action and paste the script from the repository.
  4. Modify parameters of the script to match your requirements.
  5. Enter a short description and click OK.
  6. On the final step, include the groups that define active Office 365 services in the Activity Scope of the rule.

Related questions

0 votes
1 answer

I need a report that will show what O365 Licenses each user has based on Office. If can emailed or with in reports

asked Jan 17, 2020 by hgletifer (1.3k points)
0 votes
1 answer

Hi all, I have a quick question regarding the web interface. Can I constrain a selection, for example Department, based on what the user will choose in the Company field? ... property patterns but wonder if I can take this one step further thank you, ice-dog

asked Mar 4, 2019 by ice-dog (170 points)
0 votes
1 answer

We are trying to extend our Adaxes management to O365 / Azure only user objects. Currently we use employee type to add traditional active directory accounts to business units and ... so, can this be used to create dynamic mail enabled security groups in O365?

asked May 3, 2022 by adaxes_user2 (40 points)
0 votes
0 answers

Hi- We been noticing with some of our users that when we update the profile path within the terminal services profile section using Adaxes, it isn't reflected in Active Directory. When ... successfully. when I hit OK and try to view it isn't saved. Any ideas?

asked May 7, 2014 by MeliOnTheJob (1.7k points)
0 votes
1 answer

I tried following the instructions in this tutorial: http://adaxes.com/tutorials_AutomatingD ... wUsers.htm When I get to the section "In the dialog that opens, select the Remote ... , even if I select the "Show all properties (Alt+A)" Thanks in advance.

asked Mar 15, 2013 by Kikaida (1.1k points)
3,383 questions
3,082 answers
545,472 users