Cannot find source control token with name github

Shivang Shrivastav 1 Reputation point
2023-01-06T11:50:46.873+00:00

Hi,

I have tried all the ways to debug the erro but still keep getting error.

I am attaching 3 screenshots to explain my error.

It is not able to deploy my web app.

thanks,

276855-github-snapshot.jpg276827-error1.jpg276799-erro2.jpg

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,838 questions
{count} votes

2 answers

Sort by: Most helpful
  1. PauloVicenteValente-0431 5 Reputation points
    2023-03-23T19:32:39.1266667+00:00

    I solved the problem in an expected way. I downgraded the node version from 18 to 16. I was using the incorrect node version, but, the error presented was: "Cannot find source control token with name Github". My understanding is that the issue was mapped to the wrong error.

    1 person found this answer helpful.
    0 comments No comments

  2. Ryan Hill 25,476 Reputation points Microsoft Employee
    2023-01-09T15:39:41.817+00:00

    I think either there's an issue with token used by Azure App Service Creates or the source control property of your app service i.e., the Deployment Center blade, became corrupt. You can view these settings using https://resources.azure.com and navigating to your app service resource or az webapp show --name <app name> and inspect the sourceControls property.

    I suggest unlinking the existing deployment connection and reconnecting the GitHub repo. If it still continues to fail, revoke and remove the OAuth app so that when you reinitiate the connection from the Azure portal, you'll be re-prompted to authorize the app and it should get a new token.

    0 comments No comments