Link to home
Start Free TrialLog in
Avatar of Christian Hans
Christian HansFlag for United States of America

asked on

Disable Hybrid enabled hosted archive mailbox

We incorrectly enabled an Archive mailbox for a cloud user, we are in a hybrid setup.  It was enabled via O365 portal and not on-prem as a hosted Archive Service first.

Now when we try to disable it online, we have to Disable In-Place Archive and get this error:

Exchange cant disable the mailbox <mailboxname> because it is on in-place hold. ComplianceTagHolderApplied: false, DelayHoldApplied: false, OrganizationalPolicies Applied: mbxjkldjlky539sm4kje3ds42jh509so8dlk3:2, UserPolicies Applied: . For more information, please see the powershell cmdlets, Get-OrganizationConfig <> | fl inplace*, and Get-Mailbox <> | FL

Get-Mailbox <mailboxname> | FL *archive*
ArchiveDatabase             : NAMPR03HSD34-db099
ArchiveGuid                 : 65d78ae3-dc7b-61e9-475b-97ad31a8f74d
ArchiveName                 : {}
JournalArchiveAddress       :
ArchiveQuota                : 110 GB (118,111,600,640 bytes)
ArchiveWarningQuota         : 100 GB (107,374,182,400 bytes)
ArchiveDomain               :
ArchiveStatus               : Active
ArchiveState                : Local
AutoExpandingArchiveEnabled : True
DisabledArchiveDatabase     :
DisabledArchiveGuid         : 00000000-0000-0000-0000-000000000000
ArchiveRelease              :

Ive tried to disable the hosted archive on prem, then synced to the cloud, even tried clearing the msExchArchiveStatus attribute and syncing... We just cant seem to revert this so that we can enable it the right way, via Exchange On-Prem.
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Generally speaking, the attribute you need to adjust on-premises is the msExchRemoteRecipientType one. However, you also need to remove the hold from this mailbox in O365, which seems to be and org-wide one (so run Get-OrganizationConfig | fl InPlaceHolds)
Avatar of Christian Hans

ASKER

Hey. Yes. I saw your blog on the recipienttype and cleared that field in AD on prem. Forced a sync. No change. I can't seem to find where the mailbox is set to inplace hold though. Not in the security and compliance center.
christian did you trying running the below command in powershell connected to o365

Set-Mailbox –Identity "emailaddressofmailbox" -LitigationHoldEnabled $false

ref link:  https://community.spiceworks.com/topic/2162698-exchange-online-remove-phantom-in-place-hold
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yup, that seems about right.