May 07 2019 11:55 PM - edited May 08 2019 12:08 AM
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
May 08 2019 09:46 AM
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)}}
May 08 2019 05:45 PM - edited Jan 26 2023 04:47 PM
hi vasil, got this:
Error : Exchange can't disable the mailbox "APCPR04A123.prod.outlook.com/Microsoft Exchange Hosted Organizations/contoso.onmicrosoft.com/JUANDELACRUZ" because it is on litigation hold.
May 08 2019 11:13 PM
SolutionWell 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.
Mar 30 2020 05:19 AM
@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
Sep 22 2022 06:33 AM
@Vasil Michev Thank you, I ran the command and was able to see clearly where the issue was. Life saver!!
Nov 07 2022 05:51 AM
@Vasil Michev - as per your comments I tried to run the command Get-MsolUser -HasErrorsOnly | fl DisplayName,UserPrincipalName,@{Name="Error";Expression={($_.errors[0].ErrorDetail.objecterrors.errorrecord.ErrorDescription)}} and got the results for the affected user however in the error it says only ErrorDescription
Nov 09 2022 07:38 AM - edited Nov 09 2022 08:09 AM
I'm not nearly at the level of most the people out here, but if you only need the errors for a couple of users you can run single user errors like this.
(Get-MsolUser -UserPrincipalName "<User_ID>").Errors
(Get-MsolUser -UserPrincipalName "<User_ID>").Errors.ErrorDetail.ObjectErrors.ErrorRecord.ErrorDescription
That will give you a list, hope this helps
Jan 18 2023 01:14 PM