Azure App Service and GitHub integration config

Posted by John Liu on Sunday, October 25, 2026

To enable CI/CD using GitHub and Azure App Service, follow are the configuration steps:

  1. In Microsoft Entra ID –> App registrations, register an app for your above app.
  2. go to Certificates & secrets –> Federated credentials, Add credential and choose GitHub Actions deploying Azure resources. Fill out your organization, repository, and branch/environment details to establish the trust link. If have trouble fill in the GitHub details, add any dummy data for now and can comeback to correct later.
  3. Create Azure App Service. Under Settings –> Identity, turn on System assigned manged identity.
  4. In Azure App Service, under Access control (IAM), assign the app registration in step1 to the Contributor role and Website Contributor role.
  5. In Azure App Service, under Configuration –> General settings, tick SCM Basic Auth Publishing Credentials option and save.
  6. In GitHub, go to your repository and click Actions. Run the deployment action. If may fail with AADSTS700213 error code if step2 GitHub details are incorrect. Look for the exact string inside single quotes right after the phrase presented assertion subject. That string contains exact information needs to be fill in in step2.