Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment Center Sync with GitHub expired token #330

Open
floranne opened this Issue Mar 1, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@floranne
Copy link

floranne commented Mar 1, 2019

Trying to sychronize a Nami website from deployment center Performance Test is failing with this error:

Invoke-RestMethod : Access Denied: The Personal Access Token used has expired.
At D:\Program Files (x86)\SiteExtensions\PERFORMANCETESTING\0.0.5-beta\PostDepl
Error: Failed to connect to Visual Studio Team Services account 'https://clt-47546d72-bd63-40f0-a704-23dbb573d48a.visualstudio.com'
oymentActions\Performance Test.ps1:43 char:13

  • $drop = Invoke-RestMethod -ContentType "application/json" -UserAg ...
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:Htt
      pWebRequest) [Invoke-RestMethod], WebException
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShe
      ll.Commands.InvokeRestMethodCommand
      Invoke-RestMethod : Access Denied: The Personal Access Token used has expired.\r\nAt D:\Program Files (x86)\SiteExtensions\PERFORMANCETESTING\0.0.5-beta\PostDepl\r\noymentActions\Performance Test.ps1:43 char:13\r\n+ $drop = Invoke-RestMethod -ContentType "application/json" -UserAg ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:Htt \r\n pWebRequest) [Invoke-RestMethod], WebException\r\n + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShe \r\n ll.Commands.InvokeRestMethodCommand\r\nD:\Program Files (x86)\SiteExtensions\Kudu\79.20129.3767\bin\Scripts\starter.cmd PowerShell.exe -ExecutionPolicy RemoteSigned -File "D:\Program Files (x86)\SiteExtensions\PERFORMANCETESTING\0.0.5-beta\PostDeploymentActions\Performance Test.ps1"
@patrickebates

This comment has been minimized.

Copy link
Member

patrickebates commented Mar 1, 2019

What happens if you remove the Performance Testing site extension?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.