Exception":"Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access #2646
Replies: 4 comments 6 replies
-
Im not sure what more I can add to Are you using a guest account? If you provide the full log I might be able to see more. |
Beta Was this translation helpful? Give feedback.
-
Hi there, ACTION REQUIRED In order for us to help you will need to provide both the log, and the configration file that you are using. Generate and Attach Log Steps:
Your assistance is greatly appreciated! Thanks, Azure DevOps Migration Tools team |
Beta Was this translation helpful? Give feedback.
-
migration-errors20250313.log |
Beta Was this translation helpful? Give feedback.
-
I lost access of all microsoft azure account when they brought me a lot of issue then put my account in private mode. I wasn't aware that it was been continued. All tokens was freeze |
Beta Was this translation helpful? Give feedback.
-
Hi,
Receiving unauthorized error when trying to migrate test suits and test plans.
{"Timestamp":"2025-03-05T12:24:40.8041199+05:30","Level":"Fatal","MessageTemplate":"Error while running {MigrationContextname}","TraceId":"de2ebad5edf81792f355ba072c31d395","SpanId":"7e58d4adb5a6410b","Exception":"Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access https://dev.azure.com/DevOpsGAIN/. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.\r\n at System.Net.HttpWebRequest.GetResponse()\r\n at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)\r\n --- End of inner exception stack trace ---\r\n at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest()\r\n at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout)\r\n at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)\r\n at Microsoft.TeamFoundation.ProcessConfiguration.Client.ProcessConfigurationService4.GetProjectProcessConfiguration(String projectUri)\r\n at Microsoft.TeamFoundation.TestManagement.Client.ProcessConfigurationBase.GetProcessConfiguration()\r\n at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteProcessConfigHelper.GetStatesFromProcessConfiguration()\r\n at Microsoft.TeamFoundation.TestManagement.Client.ProcessConfigurationBase.ConvertStateToStatus(Byte newstate)\r\n at Microsoft.TeamFoundation.TestManagement.Client.TestSuite.set_State(TestSuiteState value)\r\n at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.CreateNewStaticTestSuite(ITestSuiteBase source) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 536\r\n at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 948\r\n at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestPlan(ITestPlan sourcePlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 894\r\n at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 113\r\n at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 99","Properties":{"MigrationContextname":"TfsTestPlansAndSuitesMigrationProcessor","SourceContext":"MigrationTools.Processors.Infrastructure.Processor","versionString":"16.0.9","ProcessId":13148}}
{"Timestamp":"2025-03-05T12:24:41.3522483+05:30","Level":"Error","MessageTemplate":"{Context} The Processor {ProcessorName} entered the failed state...stopping run","TraceId":"de2ebad5edf81792f355ba072c31d395","SpanId":"8810645e3674571a","Properties":{"Context":"TfsTestPlansAndSuitesMigrationProcessor","ProcessorName":"MigrationEngine","SourceContext":"MigrationTools.MigrationEngine","versionString":"16.0.9","ProcessId":13148}}
Config file -
{
"Serilog": {
"MinimumLevel": "Information",
"log level": " Debug"
},
"MigrationTools": {
"Version": "16.0",
"Endpoints": {
"Source": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/APDKnowledgeManagement/",
"Project": "xyz",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "xxx"
}
},
"Target": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/DevOpsGAIN/",
"Project": "xyz",
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "xxx"
}
}
},
"Processors": [
/{
"ProcessorType": "TfsWorkItemMigrationProcessor",
"Enabled": true,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @teamproject AND [System.WorkItemType] IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request') ORDER BY [System.ChangedDate] desc",
"SourceName": "Source",
"TargetName": "Target"
},
{
"ProcessorType": "TfsTestVariablesMigrationProcessor",
"Enabled": true,
"Processor": "TestVariablesMigrationContext",
"SourceName": "Source",
"TargetName": "Target"
},
{
"ProcessorType": "TfsTestConfigurationsMigrationProcessor",
"Enabled": true,
"SourceName": "Source",
"TargetName": "Target"
},/
{
"ProcessorType": "TfsTestPlansAndSuitesMigrationProcessor",
"Enabled": true,
"PrefixProjectToNodes": false,
"OnlyElementsWithTag": null,
"TestPlanQuery": null,
"RemoveAllLinks": false,
"MigrationDelay": 0,
"UseCommonNodeStructureEnricherConfig": false,
"NodeBasePaths": [],
"AreaMaps": null,
"IterationMaps": null,
"RemoveInvalidTestSuiteLinks": false,
"FilterCompleted": false,
"SourceName": "Source",
"TargetName": "Target"
}
}
Beta Was this translation helpful? Give feedback.
All reactions