Microsoft.Web sourcecontrols

The sourcecontrols resource type can be deployed to: Tenants.

To learn about tenant deployments, see Bicep or ARM template

For a list of changed properties in each API version, see change log.

Template format

To create a Microsoft.Web/sourcecontrols resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Web/sourcecontrols@2021-03-01' = {
  name: 'string'
  kind: 'string'
  properties: {
    expirationTime: 'string'
    refreshToken: 'string'
    token: 'string'
    tokenSecret: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name string (required)
kind Kind of resource. string
properties SourceControl resource specific properties SourceControlProperties


Name Description Value
expirationTime OAuth token expiration. string
refreshToken OAuth refresh token. string
token OAuth access token. string
tokenSecret OAuth access token secret. string