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.
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_enforcedis set totrue, 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
ContributororOwnerat 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
Ownerrole 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.