Azure Portal Tenant Configuration

This page shows how to write Terraform and Azure Resource Manager for Portal Tenant Configuration and write them securely.

azurerm_portal_tenant_configuration (Terraform)

The Tenant Configuration in Portal can be configured in Terraform with the resource name azurerm_portal_tenant_configuration. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • private_markdown_storage_enforced - (Required) Is the private tile markdown storage which used to display custom dynamic and static content enabled?

Note: When private_markdown_storage_enforced is set to true, only external storage configuration (URI) is allowed for Markdown tiles. Inline content configuration will be prohibited.

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Portal Tenant Configuration.

Explanation in Terraform Registry

Manages Portal Tenant Configuration.

Note: User has to be Contributor or Owner at scope / for managing this resource.

Note: The Service Principal with Tenant Admin can be created by az ad sp create-for-rbac --name "<sp name>" --role="Contributor" --scopes="/".

Note: The Service Principal can be granted Tenant Admin permission by az role assignment create --assignee "<app id>" --role "Contributor" --scope "/".

Note: While assigning the role to the existing/new Service Principal at the Tenant Scope, the user assigning role must already have the Owner role assigned at the Tenant Scope.

Microsoft.Portal/tenantConfigurations (Azure Resource Manager)

The tenantConfigurations in Microsoft.Portal can be configured in Azure Resource Manager with the resource name Microsoft.Portal/tenantConfigurations. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Frequently asked questions

What is Azure Portal Tenant Configuration?

Azure Portal Tenant Configuration is a resource for Portal of Microsoft Azure. Settings can be wrote in Terraform.