Hello Swapna nela,
Failed to create ‘Source’ endpoint. Type not found for either main object or options: TfsWorkItemEndpoint
typically occurs when there is a configuration schema mismatch with the version of Azure DevOps Migration Tools being used.
You mentioned that you are using version 16.3.3 of the Azure DevOps Migration Tool. In this version, the configuration schema has slightly changed, and the tool may fail to initialize the endpoint if the configuration version or endpoint definition does not fully match the expected structure.
Recommended checks
1. Update the configuration version
Please update the Version field in your config.json to match the tool version.
Current:
"Version": "16.0"
Update to:
"Version": "16.3"
2. Add the Name property to the endpoints
In newer versions of the tool, it is recommended to explicitly specify the endpoint name inside the endpoint definition. For example:
"Endpoints": {
"Source": {
"Name": "Source",
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/$(SourceOrg)/",
"Project": "$(ProjectName)",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "$(MIGRATION_PAT)"
}
},
"Target": {
"Name": "Target",
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/$(TargetOrg)/",
"Project": "$(ProjectName)",
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "$(MIGRATION_PAT)"
}
}
}
3. Confirm the tool execution
From the logs it appears the tool is being executed through a preview DLL path. Please ensure that the correct binary from the downloaded release package is being used when running the migration.
4. Verify PAT permissions
Ensure that the Personal Access Token used for migration has sufficient permissions in both source and target Azure DevOps organizations, particularly:
Work Items – Read & Write
Project and Team – Read
Identity – Read
After making the above adjustments, please retry the migration.
Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.