0 votes

Is it possible to remove the exchange mailbox, but leave the active directory account intact using an adaxes workflow?

Rob

by (250 points)

1 Answer

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

Hello Rob,

Actually, the Delete Mailbox operation available in both the Administration Console and the Web Interface only delete information on a user's mailbox from the user account. The mailbox becomes disconnected and is later deleted by Exchange when the deleted mailbox retention period expires, which is 30 days by default. For more information, see Deleting Exchange Mailboxes.

If you want to automatically delete mailboxes from Business Rules, Custom Commands or Scheduled Tasks, you'll need to use a script. To add a script to a command, rule or task, you'll need to use the Run a program or PowerShell script action.

Here's a sample script that deletes the mailbox of the user on which a Business Rule, Custom Command or Scheduled Task is executed:

$Context.TargetObject.DeleteMailbox()

Related questions

0 votes
1 answer

I want to create a custom Deprovission command which exports the mailbox of the user to a pst file, when it's completed the account should be deleted. Can this be done with adaxes? Thnx Remco

asked Jan 10, 2014 by RTiel (780 points)
0 votes
1 answer

Is it possible to script having users added (or removed) from a Security Group based on another AD Attribute? I have found ways to do this in Powershell (something like): ... just utilize the PS script and just run it through Adaxes on a timed fashion? Thanks!

asked Oct 7, 2014 by PunkinDonuts (360 points)
0 votes
0 answers

Hello. I'd like add the ability for people to remove full access to a mailbox, while not allowing them to grant access. I've come up with a hacky way to ... via the exchange delegation properties of the web interface. Any help would be appreciated. Thanks!

asked Jul 25, 2016 by EgotisticalGiraffe (350 points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
0 votes
1 answer

We created a Scheduled Task and chose our user organisational unit as the activity scope. Then we realized that only about 10 % of the users are object-type: user and 90 % object- ... s no option in adaxes. But there is one for the object type User. Why that ?

asked Dec 5, 2019 by PGstoehl (100 points)
2,740 questions
2,474 answers
6,475 comments
1,374,880 users