An Azure service that provides an event-driven serverless compute platform.
Hi @Sherry L. Robinson ,
Thanks for reaching out to Microsoft Q&A.
- Verify you’re using the correct GitHub continuous deployment model
Azure Functions “continuous deployment” is supported via the Deployment Center integration, which triggers build, packaging, and deployment when a commit is pushed.
In the portal:
- Go to your Function App → Deployment Center
- Confirm Source = GitHub
- Confirm the provider is GitHub Actions (if needed, use Change provider → GitHub Actions)
- Confirm the GitHub repo/branch mapping and that the account has write access
If the repo/branch wiring is slightly off, you can end up with a successful deployment of a package that doesn’t contain what you expect (even if the pipeline says “success”).
- Confirm your CI/CD workflow uses the expected repo layout / packaging expectations
Azure Functions notes that for continuous deployment to succeed, the project directory structure must be compatible with the folder structure Azure Functions expects. Also, the unit of deployment is the function app, and all functions in the app are deployed “at the same time and in the same package.”
So, if a CI build produces a different output folder structure than your manual process (for example, metadata/artifacts not ending up in the final package), the app may deploy a package that doesn’t contain the function definitions Azure expects to index.
- Treat Deployment Center continuous deployment as “code-only” source of truth
Once you enable continuous deployment, the Azure portal function code becomes effectively read-only and Azure expects the “source of truth” to be your repo.
This matters because “manual deployment” may overwrite code differently than the CI/CD pipeline especially if CI/CD generates a package from different build steps or different configuration.
- Validate credential/config differences that commonly cause “host behavior” problems
GitHub Actions needs the publish profile (or other configured auth) and that you must ensure the credentials and workflow file are present/working correctly.
Confirm if required settings are present/consistent:
- Function App → Application settings (especially for bindings/any required dependencies)
Ensure:
- the GitHub workflow is generated and present in
github/workflows/ - deployment credentials are correctly added as a GitHub secret named:
-
AZURE_FUNCTIONAPP_PUBLISH_PROFILE
-
- the generated workflow matches the function app runtime/config (“Review the generated workflow template and ensure it matches your function app’s runtime and configuration.”)
Hope this helps!
If the resolution was helpful, kindly take a moment to click on and click on Yes for was this answer helpful. And, if you have any further query do let us know.