I'm trying to migrate some mailboxes from one O365 tenant to another (no hybrid/on-prem involved). Using this guide I've got endpoints set up and the app authorized on both sides, all my mailboxes seem to pass the prescribed test cmdlet, except this one mailbox with an Archive enabled on it. However, when I tried to assign an ArchiveGUID to this MailUser, I get an error: ArchiveGUID is used by another recipient object
$guid = [guid]::Parse("<GUID HERE>")
Set-MailUser -Identity "user@tenant.onmicrosoft.com" -ArchiveGuid $guid
This yields an error:
Write-ErrorMessage : ||The value "<GUID HERE>" of property "ArchiveGuid" is used by another recipient object. Please specify a
unique value.
Write-ErrorMessage $ErrorObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (<USERNAME:ADObjectId>) [set-MailUser], PropertyValueExistsException
- FullyQualifiedErrorId : [Server=<servername>,RequestId=e5d10e18-c075-53d3-338f-0b3965ac8c86,TimeStamp=Wed, 07 May 2025 16:26:34 GMT],Write-ErrorMess
age
This is a new basically blank tenant, so this doesn't make sense to begin with, however, there are also, apparently, no "recipients" in the tenant that have an ArchiveGUID assigned at all (screenshot) (I've run this with "name" selected as well but don't have to redact the screenshot this way): All Recipient Objects have ArchiveGUID of zeros
get-recipient -ResultSize Unlimited | select ArchiveGUID
Result:
ArchiveGuid
-----------
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000000
get-recipient yields all zeroed out ArchiveGUIDs for all recipients
I've also checked for "previously provisioned recipient types" per the doc, but there is no previous recipient listed:
Get-User user@tenant.onmicrosoft.com | select Name, *recipient* | Format-Table -AutoSize
Result:
Name PreviousRecipientTypeDetails RecipientType RecipientTypeDetails
---- ---------------------------- ------------- --------------------
User Name None MailUser MailUser
no mailbox or other recipient objects lingering
At this point it seems like a bug, but maybe I'm missing something. Any help appreciated.
EDIT 1: Also tried parsing the string into a [guid] type and passing it in as a variable but get the same "ArchiveGUID" is used by another recipient object error.