How do I convert a UWP application to use Azure Maps?

Frank LaRosa 1 Reputation point
2025-07-09T20:59:00.2433333+00:00

I maintain a large UWP application that uses MapControl (from Windows.UI.Xaml.Controls.Maps). I didn't know that Bing map tokens were being retired until I started seeing a "MapServiceToken not specified" warning in my map views a few days ago.

My understanding is that Enterprise tokens will still be supported until 2028, but I can't figure out how to obtain one. (I am not the original developer of this application and he apparently started with a free token and never bothered to upgrade it). I would like to get an Enterprise token so I can fix the immediate problem.

Long term, am I going to be able to replace the MapControl with something else that works in a UWP application? I read through some of the migration information but it isn't clear to me if UWP is supported or not.

Thanks,

Frank

Developer technologies | Universal Windows Platform (UWP)
0 comments No comments

3 answers

Sort by: Newest
  1. Frank LaRosa 1 Reputation point
    2025-07-10T16:02:25.95+00:00

    Thanks for the responses. We contacted Microsoft and they are willing to sell us a license to continue using Bing maps for another year.

    It's too bad that we have to resort to using a web view but I guess that's what we'll do.

    The idea of "migrating" to WinUI3 sounds great and is easy to say, but we're talking about a huge application that took years to develop, so it's an expensive undertaking.

    Was this answer helpful?


  2. Dhruv shah 0 Reputation points
    2025-07-10T15:55:11.69+00:00

    For the long term, MapControl (Bing Maps) is being phased out. Azure Maps does not support UWP natively — it's web-based.

    Options:

    Short-term: Use an Enterprise key to keep your app running.

    Long-term:

    Use WebView to embed Azure Maps via JavaScript in UWP.

      Or migrate to **WinUI 3 + WebView2** for modern support.
      
    

    Let me know if you want help with the WebView or migration!

    Was this answer helpful?

    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.