question

CarlosMcCray-8243 avatar image
0 Votes"
CarlosMcCray-8243 asked CarlosMcCray-8243 commented

Azure Migrate Duplicate Source

I created a project for Azure Migrate. I walked through the setup and got to the part of adding and validating sources. I had 6 servers that were all on the same network and joined to the same domain. Two of the 6 servers validated properly but the other 4 would not and they stated Access Denied. I hit Start Discovery with the 2 validated and the 4 in Validation Failed status. Now when I remove them and try to add them back I get this error message

"This source is a duplicate of another source added previously either with the same or a different friendly name of credentials."

There is only the one in the portal and I cannot find the other.
I have deleted the contents of the Resource Group in Azure, including all hidden items. I recreated a new project and started completely over but it still says that on the same 4 IPs but not the 2 that originally were successful. I have uninstalled the app, deleted the folders from ProgramData and Program Files, cleared my browser cache, and searched all of registry for the IP.

I created a new project, reinstalled everything on the appliance server, and every time I go to add those sources I still get the same result.

Here is the item from the ApplicationOnboarding-Portal-2020-11-24 log in the C:\ProgramData\Microsoft Azure\Logs\ConfigManager folder

{
"SessionId": "removed",
"RequestId": "3b1eeff5-a2cb-428d-b3ca-aaf488f7913b-2020-11-25 03:06:47Z-MA",
"FabricAdapter": "Physical",
"SubscriptionId": "removed",
"LogLevel": "Info",
"PreciseTimestamp": "2020-11-25 03:06:48Z",
"CallerInfo": "X:\\bt\\1061841\\repo\\src\\ApplianceOnboarding\\Logger\\Logger.cs:97:LogOperationEnd",
"Message": {
"OperationStatus": "Ended ValidateTargets",
"StartTime": "2020-11-25 03:06:47Z",
"EndTime": "2020-11-25 03:06:48Z",
"Message": {
"targets": [
{
"id": "removed",
"friendlyName": "domainadmin",
"IPAddress": "10.10.7.200",
"port": "5985",
"status": 3,
"type": "Windows Server",
"details": {
"BiosGuid": "removed"
},
"children": [],
"errorDetails": {
"errorCode": 60045,
"errorCodeName": "PhysicalDuplicate",
"message": "This source is a duplicate of another source added previously either with the same or a different friendly name of credentials.",
"recommendation": "You need to delete this duplicate source added and revalidate the previouly added sources to proceed with their discovery."
}
}
],
"errorDetails": null,
"success": true,
"lockBlock": false,
"summary": null
}
}
}

So I have searched in the ProgramData, Program Files, C:\Windows\Temp, %userprofile%\AppData, Registry, and C:\temp. I have removed everything from Azure. Where is it storing the fact that I have already once tried to connect to that server?

azure-migrate
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@CarlosMcCray-8243 Welcome to Microsoft Q&A community forum. Sorry for the painful experience!

As far your issue, it could be a duplicate BIOS ID issue which is stopping you from adding the server. To confirm it we need to investigate the logs further and take a deeper dive technically. We may need to engage different teams during investigation and that is possible only through technical support channel. So, I recommend you reach out to Azure technical support team by raising a support request using this link - https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

0 Votes 0 ·

I have reached out to them and opened a support ticket...thanks. Is there a way to remove the BIOS ID that is stored so I can do it again? I checked the IIS and found that it appears to be that the site uses Javascript and it creates a targetDataTable and puts the information in there. I do not see where that is stored persistently though as I do not see a call to move the data to some web based database nor do I see a database on the machine or the use of Web SQL. Although with all that said, I am not a developer and my Javascript is basic

0 Votes 0 ·

@CarlosMcCray-8243 Here is 3rd party article, you can use to change the BIOS GUID, however, you need to be cautious as you are changing the BIOS GUID.

https://www.altaro.com/hyper-v/free-powershell-script-change-bios-guid-hyper-v-virtual-machine/



Warning 1: Changes to this field are irreversible without restoring from backup. Modification of the field is likely to trigger software activation events. Other side effects, potentially damaging, may occur. Use this script at your own risk.

Warning 2: The BIOS GUID cannot be modified while the virtual machine is on. It must be in an Off state (not Saved or Paused). This script will turn off a running virtual machine (you are prompted first). It will not change anything on saved or paused VMs.”

0 Votes 0 ·
Show more comments

1 Answer

CarlosMcCray-8243 avatar image
1 Vote"
CarlosMcCray-8243 answered CarlosMcCray-8243 commented

Ok we have found the solution, although it is not a great one. I was wrong about my above assumption and it was not that MS was storing the BIOS GUID. It happened because this particular company has their servers in a datacenter that runs on VMware and that datacenter provider company provided the OS image. That OS Image that they provide was not Sysprepped and the person who built the servers did not change the SSID. Yay! So the servers actually had the same BIOS GUID on them and you can find that by typing this in powershell.

get-wmiobject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID

So there you go folks. Sysprep your images please!!

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@CarlosMcCray-8243 Thanks for sharing the solution with the community. Much appreciate it. :)

0 Votes 0 ·

awesome
So finally how did you solve this issue?
you said you wouldn't change BIOS GUID
is it possible to start one discovery and later add the duplicated BIOS GUID afterwards?
do i need to add a second appliance under the same project to discover the duplicated one?
Thanks

0 Votes 0 ·

Honestly I am sorry but I do not remember exactly what we did after this. I passed it off to my team to complete and I don't remember the outcome. I was going to look it up for you in our ticketing system but I cannot remember which company we did this for, lol. I believe we did what you suggested, which is to do one and then another.

1 Vote 1 ·