Check persmissions and credentials for AccessToken Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063 #2115
Unanswered
fanguekome
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I would need your config and log! But generally 401 is due to the token. Has your company restricted tokens? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@fanguekome I've had the same issue like you. And I've solved mine by removing the "PersonalAccessTokenVariableName" parameter value. Do not fill it. leave it like this "PersonalAccessTokenVariableName": "" everywhere. And It gonna work. It's worked for me. Note : Do not put the ASRINP3100-BSI-Migration values. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have configured the tool with AccessToken in both the Source and Target, and they have been verified as correct. Upon attempting to execute the script, I encounter the following error (the Target in the URL has been redacted below). Everything should be in order with credentials and permissions, and are not able to figure out where the issue may be. Does anyone have insight on this? i tried everything for this issues #2044, but i have same error
Unable to configure store: Check persmissions and credentials for AccessToken Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: vous n'êtes pas autorisé à accéder à https://dev.azure.com/Target/. ---> System.Net.WebException: Le serveur distant a retourné une erreur : (401) Non autorisé. à System.Net.HttpWebRequest.GetResponse() à Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException) --- Fin de la trace de la pile d'exception interne --- à Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest() à Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout) à Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs) à Microsoft.TeamFoundation.Framework.Client.LocationWebService.Connect(Int32 connectOptions, Int32 lastChangeId, Int32 features) à Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.Connect(ConnectOptions connectOptions) à Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected() à MigrationTools._EngineV1.Clients.TfsMigrationClient.GetDependantTfsCollection(NetworkCredential credentials) dans D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel\_EngineV1\Clients\TfsMigrationClient.cs:ligne 151
`$workItemStore = New-Object Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore($teamProjectCollection, $accesslevel)
New-Object : Exception lors de l'appel de «.ctor» avec «2» argument(s): «TF30063: vous n'êtes pas autorisé à accéder à
https://dev.azure.com/Target/.»
Au caractère Ligne:1 : 18
Beta Was this translation helpful? Give feedback.
All reactions