Forum Discussion
Error: Exchange: An unknown error has occurred. Refer to correlation ID:
- May 08, 2019
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.
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.
VasilMichev - 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
- bradconnerNov 09, 2022Copper Contributor
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.ErrorDescriptionThat will give you a list, hope this helps