Cannot find source control token with name github

Shivang Shrivastav 1 Reputation point


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.



Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,326 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 16,076 Reputation points Microsoft Employee

    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 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.

    No comments