You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The log indicates an exception is generated:
[I][15:10:44] Connecting to Azure DevOps/TFS...
[E][15:10:44] Unexpected migration error.
[System.InvalidOperationException] System.InvalidOperationException: Basic authentication requires a secure connection to the server.
at Microsoft.VisualStudio.Services.Common.VssBasicCredential.OnCreateTokenProvider(Uri serverUrl, IHttpResponse response)
at Microsoft.VisualStudio.Services.Common.IssuedTokenCredential.CreateTokenProvider(Uri serverUrl, IHttpResponse response, IssuedToken failedToken)
at Microsoft.VisualStudio.Services.Common.VssCredentials.TryGetTokenProvider(Uri serverUrl, IssuedTokenProvider& provider)
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
I have validated the token is correct and has appropriate permissions. Is the problem because the server is using http instead of https?
Alexander-Hjelm
changed the title
Error when trying to import to AzureDevOps
BasicAuthCredential requires SSL encryption. The tool does not work for ADO Server instances running http
Apr 15, 2023
I think BasicAuthCredential requires https://. Running the migrator over an unencrypted connection should be something to consider, maybe. I'll mark this issue as a feature request.
The question is why you would need to run ADO Server unencrypted in the first place?
I am attempting to import the Jira work items I extracted to an on-premise AzureDevops server instance
wi-import
--token XXXXX --url http:/// --config myconfig-agile.json --forceThe log indicates an exception is generated:
[I][15:10:44] Connecting to Azure DevOps/TFS...
[E][15:10:44] Unexpected migration error.
[System.InvalidOperationException] System.InvalidOperationException: Basic authentication requires a secure connection to the server.
at Microsoft.VisualStudio.Services.Common.VssBasicCredential.OnCreateTokenProvider(Uri serverUrl, IHttpResponse response)
at Microsoft.VisualStudio.Services.Common.IssuedTokenCredential.CreateTokenProvider(Uri serverUrl, IHttpResponse response, IssuedToken failedToken)
at Microsoft.VisualStudio.Services.Common.VssCredentials.TryGetTokenProvider(Uri serverUrl, IssuedTokenProvider& provider)
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
I have validated the token is correct and has appropriate permissions. Is the problem because the server is using http instead of https?
Tool version
Attachments
import.log
The text was updated successfully, but these errors were encountered: