Greetings I am currently preparing target tenant using the guide https://learn.microsoft.com/en-us/microsoft-365/enterprise/cross-tenant-mailbox-migration?view=o365-worldwide
I have reached the part where it says "Create a new migration endpoint for cross-tenant mailbox moves"
I am connected to target tenant via PowerShell remote connection and once running this script (of course all replacements done in string) :
Enable customization if tenant is dehydrated
$dehydrated=Get-OrganizationConfig | fl isdehydrated
if ($dehy -eq $true) {Enable-OrganizationCustomization}
$AppId = "[guid copied from the migrations app]"
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $AppId, (ConvertTo-SecureString -String "[this is your secret password you saved in the previous steps]" -AsPlainText -Force)
New-MigrationEndpoint -RemoteServer outlook.office.com -RemoteTenant "sourcetenant.onmicrosoft.com" -Credentials $Credential -ExchangeRemoteMove:$true -Name "[the name of your migration endpoint]" -ApplicationId $AppId
I am getting this error :
"Error finding certificate '' from azure key vault for tenant 'e5fcd875-c784-4c8a-9919-6c4e2fb0c40e'.
+ CategoryInfo : NotSpecified: (:) [New-MigrationEndpoint], KeyVaultFailureErrorException
+ FullyQualifiedErrorId : [Server=CY4PR12MB1927,RequestId=34a77109-32b0-4500-b929-9bdcfc24e8d3,TimeStamp=3/9/2022
6:26:22 PM] [FailureCategory=Cmdlet-KeyVaultFailureErrorException] AE8FE1BA,Microsoft.Exchange.Management.Migratio
n.MigrationService.Endpoint.NewMigrationEndpoint
+ PSComputerName : outlook.office365.com"
From what I have read in the beginning of guide this new method does not requires certificate in vault but I am getting error related to that.
Can someone please help me with this?
Regards
Mikayel