SOLVED

Error: Exchange: An unknown error has occurred. Refer to correlation ID:

%3CLINGO-SUB%20id%3D%22lingo-sub-545366%22%20slang%3D%22en-US%22%3EError%3A%20Exchange%3A%20An%20unknown%20error%20has%20occurred.%20Refer%20to%20correlation%20ID%3A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-545366%22%20slang%3D%22en-US%22%3E%3CP%3EError%3A%20Exchange%3A%20An%20unknown%20error%20has%20occurred.%20Refer%20to%20correlation%20ID%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExchange%20license%20if%20off%2C%20only%20pro%20plus%20license%20is%20assigned%2C%20user%20is%20synced%20from%20Local%20AD.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20known%20issue%20or%20fix%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-545366%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-549179%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%20Exchange%3A%20An%20unknown%20error%20has%20occurred.%20Refer%20to%20correlation%20ID%3A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-549179%22%20slang%3D%22en-US%22%3E%3CP%3EGet%20the%20actual%20error%20message%20from%20PowerShell%2C%20either%20via%20the%20Exchange%20cmdlets%20or%20via%20MSOL%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3EGet-MsolUser%20-HasErrorsOnly%20%7C%20fl%20DisplayName%2CUserPrincipalName%2C%40%7BName%3D%22Error%22%3BExpression%3D%7B(%24_.errors%5B0%5D.ErrorDetail.objecterrors.errorrecord.ErrorDescription)%7D%7D%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-550529%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%20Exchange%3A%20An%20unknown%20error%20has%20occurred.%20Refer%20to%20correlation%20ID%3A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-550529%22%20slang%3D%22en-US%22%3Ehi%20vasil%2C%20got%20this%3A%3CBR%20%2F%3E%3CBR%20%2F%3EError%20%3A%20Exchange%20can't%20disable%20the%20mailbox%20%22APCPR04A123.prod.outlook.com%2FMicrosoft%20Exchange%20Hosted%20Organizations%2Fcontoso.onmicrosoft.com%2Fbryanvera%22%20because%20it%20is%20on%20litigation%20hold.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-551181%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%20Exchange%3A%20An%20unknown%20error%20has%20occurred.%20Refer%20to%20correlation%20ID%3A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-551181%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20you%20have%20your%20answer%20then.%20Removing%20the%20license%20of%20any%20user%20that's%20on%20hold%20is%20not%20supported%2C%20moreover%20it's%20a%20violation%20of%20the%20terms%20of%20use.%20Either%20remove%20the%20hold%20before%20removing%20the%20license%2C%20or%20delete%20the%20user%20while%20he's%20on%20hold%2C%20making%20it%20effectively%20an%20inactive%20mailbox.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1264240%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%20Exchange%3A%20An%20unknown%20error%20has%20occurred.%20Refer%20to%20correlation%20ID%3A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1264240%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%22%3CSPAN%3ERemoving%20the%20license%20of%20any%20user%20that's%20on%20hold%20is%20not%20supported%2C%20moreover%20it's%20a%20violation%20of%20the%20terms%20of%20use.%22%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20you%20kindly%20provide%20a%20source%20for%20this%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Super Contributor

Error: Exchange: An unknown error has occurred. Refer to correlation ID:

 

Exchange license if off, only pro plus license is assigned, user is synced from Local AD.

 

any known issue or fix?

 

thanks

 

 

4 Replies

Get the actual error message from PowerShell, either via the Exchange cmdlets or via MSOL:

 

Get-MsolUser -HasErrorsOnly | fl DisplayName,UserPrincipalName,@{Name="Error";Expression={($_.errors[0].ErrorDetail.objecterrors.errorrecord.ErrorDescription)}}
hi vasil, got this:

Error : Exchange can't disable the mailbox "APCPR04A123.prod.outlook.com/Microsoft Exchange Hosted Organizations/contoso.onmicrosoft.com/bryanvera" because it is on litigation hold.
best response confirmed by Marvin Oco (Super Contributor)
Solution

Well you have your answer then. Removing the license of any user that's on hold is not supported, moreover it's a violation of the terms of use. Either remove the hold before removing the license, or delete the user while he's on hold, making it effectively an inactive mailbox.

@Vasil Michev "Removing the license of any user that's on hold is not supported, moreover it's a violation of the terms of use." 

Could you kindly provide a source for this?

 

Thanks