Azure Create Web App - Github Authentication Problem [SOLVED]

Marissa Campa 20 Reputation points
2024-02-22T15:37:12.2133333+00:00

Context

I had issues authenticating my Github account from the Azure Portal. When I went to create a new Web App.

Reproduction Steps:

Azure Portal => Create Web App => Deployment =>
GitHub Actions settings: Enable GitHub Actions details (when I click the button "Authorize", I get an 404 error from a github url) This issue was also reported here:

https://learn.microsoft.com/en-us/answers/questions/1179854/deployment-center-unable-to-authenticate-github-ac

Solution

After sending an email to AzCommunity@microsoft.com, I was offered assistance to link my Github repo to my Azure Web App, with the following steps:

  1. Create your Web App first, without adding any Github repo in the Deployment tab.
  2. Access your Web App resource page.
  3. In the left navigation bar, under Deployment, click Deployment Center.
  4. In the Deployment Center Settings, choose Source: Github.
  5. Click on the "Authorize" button, it will show the Github login pop-up window.
  6. After logging in, select the organization, the repo, the branch.
  7. Fill up the authentication settings according to your needs.
  8. Click on the "Save" button at the top.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,674 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 17,886 Reputation points
    2024-03-01T06:45:08.1033333+00:00

    Hello @Marissa Campa thanks for sharing your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:

    I had issues authenticating my Github account from the Azure Portal. When I went to create a new Web App.

    Solution:

    you were able to link your Github repo to my Azure Web App, after the following steps:

    1. Create your Web App first, without adding any Github repo in the Deployment tab.
    2. Access your Web App resource page.
    3. In the left navigation bar, under Deployment, click Deployment Center.
    4. In the Deployment Center Settings, choose Source: Github.
    5. Click on the "Authorize" button, it will show the Github login pop-up window.
    6. After logging in, select the organization, the repo, the branch.
    7. Fill up the authentication settings according to your needs.
    8. Click on the "Save" button at the top.

    Best,

    -Grace

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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