CmdID / az / az maps / az maps account
az maps account create
Create a Maps Account. Azure CLI reference
3 examples 7 options Its page in the Azure CLI reference
Examples
Create Account with Managed Identities
az maps account create --type "SystemAssigned, UserAssigned" --user-identities "{\"/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName\":{}}" --kind "Gen2" --disable-local-auth false --linked-resources id="/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc" unique-name="myBatchStorageAccount" --linked-resources id="/subscriptions/21a9967a-e8a9-4656-a70b-96ff1c4d05a0/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/mystorageacc" unique-name="myBlobDataSource" --tags test="true" --account-name "myMapsAccount" --resource-group "myResourceGroup" --sku "S0"Identify--typeThe identity type.--user-identitiesThe list of user identities associated with the resource.--kindGet or Set Kind property.--disable-local-authAllows toggle functionality on Azure Policy to disable Azure Maps local authentication support.--linked-resourcesSets the resources to be used for Managed Identities based operations for the Map account resource.--tagsspace-separated tags: key[=value] [key[=value] ...].--account-nameThe name of the maps account--resource-groupResource group name--skuThe name of the SKU, in standard format (such as S0).Create Gen1 Account
az maps account create --kind "Gen1" --disable-local-auth false --tags test="true" --account-name "myMapsAccount" --resource-group "myResourceGroup" --sku "S0"Identify--kindGet or Set Kind property.--disable-local-authAllows toggle functionality on Azure Policy to disable Azure Maps local authentication support.--tagsspace-separated tags: key[=value] [key[=value] ...].--account-nameThe name of the maps account--resource-groupResource group name--skuThe name of the SKU, in standard format (such as S0).Create Gen2 Account
az maps account create --kind "Gen2" --disable-local-auth true --tags test="true" --account-name "myMapsAccount" --resource-group "myResourceGroup" --sku "S0"Identify--kindGet or Set Kind property.--disable-local-authAllows toggle functionality on Azure Policy to disable Azure Maps local authentication support.--tagsspace-separated tags: key[=value] [key[=value] ...].--account-nameThe name of the maps account--resource-groupResource group name--skuThe name of the SKU, in standard format (such as S0).Options
--accept-tosYou must agree to the License and Privacy Statement to create an account.--disable-local-authAllows toggle functionality on Azure Policy to disable Azure Maps local authentication support.--kindGet or Set Kind property.--linked-resourcesSets the resources to be used for Managed Identities based operations for the Map account resource.--location, -lLocation.--typeThe identity type.--user-identitiesThe list of user identities associated with the resource.