Azure App Service Authorized GitHub not working

Nikola Ilic 1 Reputation point
2020-08-13T15:07:30.007+00:00

When i go to App Service and through Deployment Center try to set Source Control i click on GitHub and window pop up i do the login, and then it says
Successfully Authenticated Redirecting...
Then that window closes and it still says Not Authorized on GitHub.

Here are some errors from Console i found

Failed to load resource: the functions.azure.com/api/github/passthrough:1
server responded with a status of 401 ()

main.c7d4111ae21b366974b7.bundle.js:1 [CICD] - {"_body":"{\"message\":\"Bad credentials\",\"documentation_url\":\"https://docs.github.com/rest\"}","status":401,"ok":false,"statusText":"OK","headers":{"content-length":["80"],"content-type":["application/json; charset=utf-8"],"date":["Thu"," 13 Aug 2020 14:51:42 GMT"],"etag":["W/\"50-jZumUX2pzfvYu+E5zankr9LadTI\""],"request-context":["appId=cid-v1:5443f5a3-02cd-43d3-90d6-1942e07580a1"],"status":["401"],"strict-transport-security":["max-age=15552000; includeSubDomains"],"x-azure-ref":["0flM1XwAAAAArFAsBV8RDRYZu1Fr/zMdiU09GMDFFREdFMDMwNgA3ZGIwYWMxYy1iNzZkLTRiYTQtYTE3NS01NTgxNTUxMTEzZDU="],"x-content-type-options":["nosniff"],"x-dns-prefetch-control":["off"],"x-download-options":["noopen"],"x-powered-by":["ASP.NET"],"x-xss-protection":["1; mode=block"]},"type":2,"url":"https://functions.azure.com/api/github/passthrough"}
t.error @ main.c7d4111ae21b366974b7.bundle.js:1

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

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 19,226 Reputation points Moderator
    2020-08-15T02:49:43+00:00

    Hi @Nikola Ilic , I did some further investigation and it looks like this was a known issue. The engineering team has resolved the problem. Please try to Configure continuous integration with a GitHub and let us know if you are still facing any trouble. We apologize for the inconvenience.

    Thanks,

    Grace

    0 comments No comments

  2. Karina de Leon 1 Reputation point
    2022-06-10T04:56:26.987+00:00

    Hi Grace, you mentioned it has been resolved? I am experiencing this issue when I try to authorize github continuous integration under Deployment Centre.

    0 comments No comments

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.