Share via


Microsoft.Portal tenantConfigurations

Bicep resource definition

The tenantConfigurations resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.Portal/tenantConfigurations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Portal/tenantConfigurations@2025-04-01-preview' = {
  name: 'string'
  properties: {
    enforcePrivateMarkdownStorage: bool
  }
}

Property Values

Microsoft.Portal/tenantConfigurations

Name Description Value
name The resource name string

Constraints:
Pattern = ^(?!con$|prn$|aux$|nul$|com[1-9]$)(?!.*[._-]{2,})[a-zA-Z0-9]([a-zA-Z0-9-._]*[a-zA-Z0-9])?$ (required)
properties The resource-specific properties for this resource. ConfigurationProperties

ConfigurationProperties

Name Description Value
enforcePrivateMarkdownStorage When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited. bool

ARM template resource definition

The tenantConfigurations resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.Portal/tenantConfigurations resource, add the following JSON to your template.

{
  "type": "Microsoft.Portal/tenantConfigurations",
  "apiVersion": "2025-04-01-preview",
  "name": "string",
  "properties": {
    "enforcePrivateMarkdownStorage": "bool"
  }
}

Property Values

Microsoft.Portal/tenantConfigurations

Name Description Value
apiVersion The api version '2025-04-01-preview'
name The resource name string

Constraints:
Pattern = ^(?!con$|prn$|aux$|nul$|com[1-9]$)(?!.*[._-]{2,})[a-zA-Z0-9]([a-zA-Z0-9-._]*[a-zA-Z0-9])?$ (required)
properties The resource-specific properties for this resource. ConfigurationProperties
type The resource type 'Microsoft.Portal/tenantConfigurations'

ConfigurationProperties

Name Description Value
enforcePrivateMarkdownStorage When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited. bool

Usage Examples

Terraform (AzAPI provider) resource definition

The tenantConfigurations resource type can be deployed with operations that target:

  • Tenant

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

Resource format

To create a Microsoft.Portal/tenantConfigurations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Portal/tenantConfigurations@2025-04-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      enforcePrivateMarkdownStorage = bool
    }
  }
}

Property Values

Microsoft.Portal/tenantConfigurations

Name Description Value
name The resource name string

Constraints:
Pattern = ^(?!con$|prn$|aux$|nul$|com[1-9]$)(?!.*[._-]{2,})[a-zA-Z0-9]([a-zA-Z0-9-._]*[a-zA-Z0-9])?$ (required)
properties The resource-specific properties for this resource. ConfigurationProperties
type The resource type "Microsoft.Portal/tenantConfigurations@2025-04-01-preview"

ConfigurationProperties

Name Description Value
enforcePrivateMarkdownStorage When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited. bool