0 votes

Hello,

I was wondering if you can assist me with the following:

We are in the process of migrating user mailboxes from our on-premises Exchange to Exchange Online and we would like to create a script that runs nightly and checks for mailboxes that don't have litigation hold enabled and enables it. We have a mixture of licenses, E3 and F1, and from what I know, litigation hold can only be enabled for E3 licenses. Is there a way to filter that? I can then use the instructions found here https://www.adaxes.com/questions/1724/enabling-litigation-hold-while-provisioning-a-user for new users but again, can that be filtered per type of license?

by (250 points)

1 Answer

0 votes
by (174k points)

Hello,

You can use the Modify Exchange properties action described in the post you referenced in a Scheduled Task. To check whether a specific Office 365 license is assigned to an account, use the If PowerShell script returns true condition with the following script from our repository: https://www.adaxes.com/script-repository/check-whether-office-365-license-is-assigned-to-user-s322.htm. Finally, the Scheduled Task will look like the following: image.png

0

Thank you very much for the quick response!

I will try it get back if I need any further assistance.

Related questions

0 votes
1 answer

Hey Support, Were in the process of just spinning up Adaxes 2014.1 in our environment, and I'm working on build the employee off boarding custom command and can get ... mailbox on litigation hold through Outlook 365's web portal it's so slow. Thanks!

asked Jul 30, 2014 by Ben.Burrell (2.7k points)
0 votes
1 answer

Hello, I am struggling to get Adaxes to work with Office 365. I cannot get the Azure AD module installed. I have installed both the latest full version and beta ... not supported by this processor type, which is expected. OS: Windows 8 Standard 32bit SP2

asked Jan 9, 2015 by DFassett (4k points)
0 votes
1 answer

Hi, We are trailing Adaxes and wanted to find out how to enable Litigation Hold on a user mailbox at the time of a new user creation. We are in a hybrid setup and are running a powershell script to enable remote mailbox onto O365 in the Business Rule.

asked Aug 17, 2018 by Shuja (510 points)
0 votes
1 answer

We're working on migrating to Office 365, and have a few questions. We use Ad Sync to sync our users and groups to Office 365. Part of our Deprovisioning needs to ... here? Will the user be moved and mailbox cleaned up before Litigation Hold ever takes affect?

asked Jun 6, 2017 by rurbaniak (5.4k points)
0 votes
1 answer

Hello! When I create a new user in the Adaxes Web GUI, one of the actions in my "new user" business rule, is to Activate an Office 365 account for the ... the given license on the user, or have I misunderstood/overcomplicated something? :) Regards, Erlend

asked Nov 6, 2014 by Erlend (1.1k points)
2,135 questions
1,900 answers
5,319 comments
3,535 users