web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to Generate Azure Map Key

(3) ShareShare
ReportReport
Posted on by 1,019
Hi everyone,

I’m trying to integrate Azure Maps into my application and need to generate an Azure Maps key for API access. Could someone guide me through the steps to obtain an Azure Maps subscription key from the Azure portal? Also, are there any best practices for managing and securing the key?
I have the same question (1)
  • Suggested answer
    Holly Huffman Profile Picture
    6,530 Super User 2025 Season 2 on at
    Good morning, afternoon, or evening - depending on your location :)
    Hope you are well today!
     
    Here’s a step-by-step guide to generate an Azure Maps subscription key and some best practices for managing it:
    Generating an Azure Maps Key
    1. Sign In to Azure Portal:
    2. Create an Azure Maps Account:
      • Navigate to the Search Bar and type Azure Maps.
      • Select Create Azure Maps Account or choose an existing one if you already have it.
      • Fill in the required details, such as Subscription, Resource Group, and Instance Name.
      • Choose a pricing tier that fits your needs.
    3. Locate the Keys:
      • Once the Azure Maps account is created, go to the Azure Maps Resource in your portal.
      • Under Settings, click on Keys.
      • You’ll see two primary keys (Key 1 and Key 2). These keys can be used for API access.
    4. Copy the Key:
      • Copy one of the keys to integrate it into your application.

    Best Practices for Managing and Securing Azure Maps Keys
    • Use Azure Managed Identity:
      • Instead of hardcoding the key into your application, leverage Azure Managed Identity to access Azure Maps securely.
      • This reduces the risk of exposing your key.
    • Rotate the Keys Periodically:
      • Rotate keys regularly to minimize the risk of unauthorized access.
      • Use both keys (Key 1 and Key 2) during the rotation process to ensure continuity.
    • Monitor Key Usage:
      • Enable Azure Monitor or other logging tools to track API key usage for anomalies.
    • Limit Access:
      • Apply appropriate restrictions to your keys to ensure they’re only accessible by your application.
    • Store Keys Securely:
      • Use secure storage solutions like Azure Key Vault to store your keys safely.
      • Avoid hardcoding keys in your source code or sharing them publicly.
    Following these steps and best practices will help you integrate Azure Maps securely and efficiently.
     
     
    Hope this helps :)
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,527 Super User 2025 Season 2 on at
    Hi,
     
    I hope below link can help you.
     
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans