Data Registry - List

Use to get a list of all data registries in the Azure Maps account.

Note

Azure Maps Data registry service retirement

The Azure Maps Data registry service is now deprecated and will be retired on 9/30/25. For more information, see End of Life Announcement of Azure Maps Data Registry.

The List API is an HTTP GET request that returns an array containing all data registries previously registered using the Register or Replace API.

The data registry service endpoint is limited in scope to the region of your Azure Maps account and is not available for global Azure Maps accounts.

Submit List Request

To list all your data registries, issue a GET request with no additional parameters.

List Response

The List request returns an array of data registries in JSON format in the body of the response.

GET https://{geography}.atlas.microsoft.com/dataRegistries?api-version=2023-06-01

URI Parameters

Name In Required Type Description
geography
path True

string

This parameter specifies where the Azure Maps Account is located. Valid values are us (East US, West Central US, West US 2) and eu (North Europe, West Europe).

api-version
query True

string

The version number of Azure Maps API.

Request Header

Name Required Type Description
x-ms-client-id

string

Specifies which account is intended for usage in conjunction with the Microsoft Entra ID security model. It represents a unique ID for the Azure Maps account and can be retrieved from the Azure Maps management plane Account API. To use Microsoft Entra ID security in Azure Maps see the following articles for guidance.

Responses

Name Type Description
200 OK

DataRegistryList

The List request completed successfully. The response body contains an array of data registries.

Other Status Codes

MapsErrorResponse

An unexpected error occurred.

Headers

x-ms-error-code: string

Security

AADToken

These are the Microsoft Entra OAuth 2.0 Flows. When paired with Azure role-based access control it can be used to control access to Azure Maps REST APIs. Azure role-based access controls are used to designate access to one or more Azure Maps resource account or sub-resources. Any user, group, or service principal can be granted access via a built-in role or a custom role composed of one or more permissions to Azure Maps REST APIs.

To implement scenarios, we recommend viewing authentication concepts. In summary, this security definition provides a solution for modeling application(s) via objects capable of access control on specific APIs and scopes.

Notes

  • This security definition requires the use of the x-ms-client-id header to indicate which Azure Maps resource the application is requesting access to. This can be acquired from the Maps management API.

The Authorization URL is specific to the Azure public cloud instance. Sovereign clouds have unique Authorization URLs and Microsoft Entra ID configurations. * The Azure role-based access control is configured from the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs. * Usage of the Azure Maps Web SDK allows for configuration based setup of an application for multiple use cases.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
https://atlas.microsoft.com/.default https://atlas.microsoft.com/.default

subscription-key

This is a shared key that is provisioned when creating an Azure Maps resource through the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs.

With this key, any application is authorized to access all REST APIs. In other words, these can currently be treated as master keys to the account they are issued for.

For publicly exposed applications, our recommendation is to use server-to-server access of Azure Maps REST APIs where this key can be securely stored.

Type: apiKey
In: header

SAS Token

This is a shared access signature token is created from the List SAS operation on the Azure Maps resource through the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs.

With this token, any application is authorized to access with Azure role-based access controls and fine-grain control to the expiration, rate, and region(s) of use for the particular token. In other words, the SAS Token can be used to allow applications to control access in a more secured way than the shared key.

For publicly exposed applications, our recommendation is to configure a specific list of allowed origins on the Map account resource to limit rendering abuse and regularly renew the SAS Token.

Type: apiKey
In: header

Examples

List all previously registered data registries

Sample request

GET https://us.atlas.microsoft.com/dataRegistries?api-version=2023-06-01

Sample response

{
  "value": [
    {
      "udid": "f6495f62-94f8-0ec2-c252-45626f82fcb2",
      "description": "Contoso Indoor Design",
      "kind": "AzureBlob",
      "azureBlob": {
        "dataFormat": "zip",
        "msiClientId": "3263cad5-ed8b-4829-b72b-3d1ba556e373",
        "linkedResource": "my-storage-account",
        "blobUrl": "https://mystorageaccount.blob.core.windows.net/my-container/my/blob/path1.zip",
        "sizeInBytes": 29920,
        "contentMD5": "CsFxZ2YSfxw3cRPlqokV0w=="
      },
      "status": "Completed"
    },
    {
      "udid": "8b1288fa-1958-4a2b-b68e-13a7i5af7d7c",
      "kind": "AzureBlob",
      "azureBlob": {
        "dataFormat": "geojson",
        "msiClientId": "3263cad5-ed8b-4829-b72b-3d1ba556e373",
        "linkedResource": "my-storage-account",
        "blobUrl": "https://mystorageaccount.blob.core.windows.net/my-container/my/blob/path2.geojson",
        "sizeInBytes": 1339
      },
      "status": "Running"
    },
    {
      "udid": "7c1288fa-2058-4a1b-b68f-13a6h5af7d7c",
      "description": "Contoso Geofence GeoJSON",
      "kind": "AzureBlob",
      "azureBlob": {
        "dataFormat": "geojson",
        "linkedResource": "my-storage-account",
        "blobUrl": "https://mystorageaccount.blob.core.windows.net/my-container/my/blob/path3.geojson",
        "sizeInBytes": 1650,
        "contentMD5": "rYpEfIeLbWZPyaICGEGy3A=="
      },
      "status": "Failed",
      "error": {
        "code": "ContentMD5Mismatch",
        "message": "Actual content MD5: sOJMJvFParkSxBsvvrPOMQ== doesn't match expected content MD5: CsFxZ2YSfxw3cRPlqokV0w==."
      }
    }
  ]
}

Definitions

Name Description
AzureBlob

Azure blob data registry details.

DataFormat

The data format of the uploaded content used for validation purposes.

DataRegistry

The data registry in Azure Maps.

DataRegistryKind

Data registry kind.

DataRegistryList

The response model for the data registry List API. Returns a list of all the previously registered data.

LongRunningOperationStatus

The status of a long-running operation.

MapsErrorDetail

The error detail.

MapsErrorResponse

Common error response for Azure Maps APIs to return error details for failed operations.

MapsInnerError

An object containing more specific information than the current object about the error.

AzureBlob

Azure blob data registry details.

Name Type Description
blobUrl

string

The blob URL contains the path to the file being registered.

contentMD5

string

The content MD5 of the content, used for data validation.

dataFormat

DataFormat

The data format of the uploaded content used for validation purposes.

linkedResource

string

The ID of the datastore in the Azure Maps account.

msiClientId

string

Client ID of user-assigned managed identity. Use system-assigned managed identity if not provided.

sizeInBytes

integer

The size of the content in bytes.

DataFormat

The data format of the uploaded content used for validation purposes.

Name Type Description
geojson

string

GeoJSON is a JSON based geospatial data interchange format.

zip

string

Compressed data format.

DataRegistry

The data registry in Azure Maps.

Name Type Description
azureBlob

AzureBlob

Azure blob data registry details.

description

string

The description given to the data registry. The max length is 1024 characters.

error

MapsErrorDetail

The error detail.

kind

DataRegistryKind

Data registry kind.

status

LongRunningOperationStatus

The status of a long-running operation.

udid

string

The user data ID for the data registry.

DataRegistryKind

Data registry kind.

Name Type Description
AzureBlob

string

Azure Blob

DataRegistryList

The response model for the data registry List API. Returns a list of all the previously registered data.

Name Type Description
nextLink

string

The URL to get the next set of data registries.

value

DataRegistry[]

An array of data registries.

LongRunningOperationStatus

The status of a long-running operation.

Name Type Description
Completed

string

The request completed successfully.

Failed

string

The request has one or more failures.

Running

string

The request is currently processing.

MapsErrorDetail

The error detail.

Name Type Description
code

string

One of a server-defined set of error codes.

details

MapsErrorDetail[]

An array of details about specific errors that led to this reported error.

innererror

MapsInnerError

An object containing more specific information than the current object about the error.

message

string

A human-readable representation of the error.

target

string

The target of the error.

MapsErrorResponse

Common error response for Azure Maps APIs to return error details for failed operations.

Name Type Description
error

MapsErrorDetail

The error detail.

MapsInnerError

An object containing more specific information than the current object about the error.

Name Type Description
code

string

The error code.

innererror

MapsInnerError

An object containing more specific information than the current object about the error.