Video Screencast Help
Search Video Help Close Back
to help

Re-apply automatically set permissions in EV

Created: 25 Jul 2012 | Updated: 15 Aug 2012 | 10 comments
jlutzhoft's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Hello

How do I reconnect a user's archive if the AD account has been deleted and recreated with the same account name?

I have removed the user's old SID by

[Directory] 

DirectoryComputerName=kvsvault
SiteName=archivesite 
 
[ArchivePermissions]
ArchiveName=Username 
Zap=True
 
But cannot figure out how to re-apply the user's new AD account
 
Thanks
 
Jens

 

Comments 10 CommentsJump to latest comment

TonySterling's picture

Just run Synchronization from the properties of the Archive Task

Tony Sterling
www.bluesource.net or www.bluesource.co.uk
Offices in the US and the UK

0
Login to vote
  • Actions
jlutzhoft's picture

I did try to synchronize - sorry for not writing that :)

0
Login to vote
  • Actions
LCT's picture

when you enable (or re-enable) the same you user you get the option to reconnect the user AD account to the user's archive. The option is at the right hand side (Select Archive), once you have selected the user. You need to do this first bofre you click next, if you don't Ev will create a new archive which means that you will get a duplicate archive. 

0
Login to vote
  • Actions
TonySterling's picture

That is a good catch.  I assumed he had already done that.  Guess I need some more coffee.  :)

Tony Sterling
www.bluesource.net or www.bluesource.co.uk
Offices in the US and the UK

0
Login to vote
  • Actions
LCT's picture

LOL....quite early for you still Tony!!!!??? No worries.

0
Login to vote
  • Actions
jlutzhoft's picture

The user's archive is still enabled so I can't re-enable it. I have tried to disable it - it says "The following mailboxes have been successfully disabled" - but it doesn't work...

(Just got coffee smiley)

0
Login to vote
  • Actions
LCT's picture

So, the users AD account was deleted before the account was disabled in EV? If this is the case then you won't be able to disable it using the Admin Console as EV can't sync with the SID that had been deleted it. you need to use SQL query to change the MbxArchivingState to 2 (disabled) (currently it is set to 1 (enabled)).

On your SQL server that host the EV databases, open SQL Server management Studio (Backup your SQL databases first) and run the these:

USE EnterpriseVaultDirectory

Select * From ExchangeMailboxEntry

Where MBXDisplayname = 'Test User'

(Test User is the dispaly name of your affected user)

Check the MbxArchivingState column and confirm that it is set to 1, you need to update it to 2. Run this

USE EnterpriseVaultDirectory

Update ExchangeMailboxEntry

Set MbxArchivingState = 2

Where MBXDisplayname = 'Test User'

Run the select query again to make sure that the mbxarchiving state has changed to 2.

Now, on your EV server, open you Admin console and then try enable the user, it should be set to disabled.

 

 

 

0
Login to vote
  • Actions
jlutzhoft's picture

Yes the AD account was deleted first. I have tried to change MbxArchivingState to 2 and have run the provisioning task, but it still doesn't show in the Enable Mailbox wizard :(

What about the ExchMbxGUID? I gues it's new as I have created a new mailbox for the new AD account.

0
Login to vote
  • Actions
LCT's picture

Alternatively you can delete the affected user's entry in the ExchangeMailboxEntry and then run the provisioning task to re-provision the user. This user should nowb be listed as a new user and then enable the user using the Admin console.

Always backup your SQL databases before making changes. :-) 

SOLUTION
0
Login to vote
  • Actions
jlutzhoft's picture

Will I still be able to link the new AD account to the old archive?

0
Login to vote
  • Actions