Microsoft.Maps accounts 2021-07-01-preview

The accounts resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

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

resource symbolicname 'Microsoft.Maps/accounts@2021-07-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
  }
  kind: 'string'
  identity: {
    type: 'string'
    userAssignedIdentities: {}
  }
  properties: {
    disableLocalAuth: bool
    linkedResources: [
      {
        id: 'string'
        uniqueName: 'string'
      }
    ]
  }
}

Property values

accounts

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Maps/accounts'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-07-01-preview'
name The resource name string (required)
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
sku The SKU of the Maps Account. Sku (required)
kind The Kind of the Maps Account. 'Gen1'
'Gen2'
identity Identity for the resource. ManagedServiceIdentity
properties Additional Map account properties MapsAccountProperties

ManagedServiceIdentity

Name Description Value
type The identity type. 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned'
userAssignedIdentities The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. object

MapsAccountProperties

Name Description Value
disableLocalAuth Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. bool
linkedResources The array of associated resources to the Map account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Map Account Managed Identity(s) permissions to those resource(s). LinkedResource[]

LinkedResource

Name Description Value
id ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'. string (required)
uniqueName A provided name which uniquely identifies the linked resource. string (required)

Sku

Name Description Value
name The name of the SKU, in standard format (such as S0). 'G2'
'S0'
'S1'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
RBAC - Create Managed Identity Access on Azure Maps account

Deploy to Azure
This template creates a Managed Identity and assigns it access to an a created Azure Maps account.
Deploy Azure Maps

Deploy to Azure
This template deploys and Azure Maps account and lists the primary key.