0

azure-devops-migration-tools を使用しても、ターゲット コレクションに接続できません。

ローカル tfs サーバーからクラウド Azure DevOps に移行しています。

私が観察している問題:

[18:24:07 INF] TfsMigrationClient::GetDependantTfsCollection:AuthenticationMode(AccessToken)
[18:24:07 INF] TfsMigrationClient::GetDependantTfsCollection: Connecting with AccessToken
[18:24:07 INF] MigrationClient: Connecting to https://dev.azure.com/brands/
[18:24:07 ERR] Unable to configure store
Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access https://dev.azure.com/brands/. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

私のマネージャーはこれをしばらく前に使用していましたが、実行すると資格情報を要求するポップアップが表示されることを覚えていると思います。ポップアップはまったく表示されません。再起動してキャッシュをクリアしました。

アクセストークンを探しているようです。移行先の Azure DevOps アカウントで生成しましたが、この場合、どこでどのように使用すればよいですか?

宛先にアクセスできるように、またはパスワードを要求するように設定する別の方法はありますか?

Powershell でツールを起動します。

 .\migration.exe execute -c configuration.json

私のconfiguration.jsonの内容 -

{
    "Version": "11.9",
    "LogLevel": "Verbose",
    "TelemetryEnableTrace": false,
    "workaroundForQuerySOAPBugEnabled": false,
    "Source": {
        "$type": "TfsTeamProjectConfig",
        "Collection": "http://tgi-dev-004.10.local:8080/tfs/Ten_Projects/",
        "Project": "TenSuite",
        "ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
        "AllowCrossProjectLinking": false
    },
    "Target": {
        "$type": "TfsTeamProjectConfig",
        "Collection": "https://dev.azure.com/brands/",
        "Project": "10e",
        "ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
        "AllowCrossProjectLinking": false
    },
    "WorkItemTypeDefinition": {
        "sourceWorkItemTypeName": "targetWorkItemTypeName"
    },
    "GitRepoMapping": null,
    "Processors": [
    {
        "$type": "WorkItemMigrationConfig",
        "ReplayRevisions": true,
        "PrefixProjectToNodes": false,
        "UpdateCreatedDate": true,
        "UpdateCreatedBy": true,
        "UpdateSourceReflectedId": false,
        "BuildFieldTable": false,
        "AppendMigrationToolSignatureFooter": false,
        "OrderBit": "[System.ChangedDate] desc",
        "Enabled": true,
        "LinkMigration": true,
        "AttachmentMigration": true,
        "AttachmentWorkingPath": "c:\\temp\\WorkItemAttachmentWorkingFolder\\",
        "FixHtmlAttachmentLinks": true,
        "WorkItemCreateRetryLimit": 5,
        "PauseAfterEachWorkItem": false,
        "FilterWorkItemsThatAlreadyExistInTarget": true,
        "AttachmentMazSize": 480000000
    }
    ]
}
4

2 に答える 2

0

の下SourceTarget、トークンを追加する必要があるプロパティがあります。

例と一緒にドキュメントを読んでください。

https://nkdagility.github.io/azure-devops-migration-tools/

于 2021-02-23T17:46:45.567 に答える