Configure "Deployment Center" Integration to DevOps Using ARM/bicep

Ben 61 Reputation points


In the Azure portal, an Azure Function can be configured to have a CI/CD integration with DevOps under section "Deployment Center".User's image

This is great...but instead of manually configuring this, I'd like to be able to set it up using an ARM or bicep template. However, I haven't been able to figure out the syntax to use.

 Can anyone point me to an ARM/bicep example for tying an Azure Function to DevOps?


Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,997 questions
0 comments No comments
{count} votes

Accepted answer
  1. AirGordon 6,950 Reputation points

    You need to deploy the sourcecontrols resource.

    It facilitates the binding to the underlying repositories, "Deployment Center" in the Portal.

    You should set these properties;

    repoUrl: 'https://{PAT}@{org_name}{your_repo}'
    branch: 'main'
    isManualIntegration: false

0 additional answers

Sort by: Most helpful