Share via

Re-connecting Github authorization for Azure App Service after revoking the service in Github

Wendell Ravago 5 Reputation points
2025-07-21T06:54:21.4966667+00:00

I initially ran into a problem of not seeing a certain Github repository from the Deployment Center. After blindly following an advice from the Internet to manually revoke the Azure OAuth from Github itself, I couldn't re-authorize my Github account when trying to add a source for the Deployment Center.

User's image

Selecting Github will make the "Signed in as" field visible, but the text does not change from "Loading...". I tried to check my browser's console and saw two errors:
User's image

What can I do to reauthorize my GitHub account for the Deployment Center?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Wendell Ravago 5 Reputation points
    2025-07-21T07:52:25.6433333+00:00

    I seem to have solved it.

    I went into the cloud shell and ran:

    az webapp deployment source update-token
    

    Not providing a token clears the existing one and allowed me to reauthorize my Github account.

    Reference:
    https://learn.microsoft.com/en-us/cli/azure/webapp/deployment/source?view=azure-cli-latest#az-webapp-deployment-source-update-token

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.