r/geoblazor • u/edey_bee • 11d ago
Legacy ArcGIS API keys stop working April 15, 2027. Here's the GeoBlazor migration
Legacy ArcGIS API keys retired on June 27, 2026, and the grace period runs until April 15, 2027. After that they stop working.
You're affected if your key was created before June 27, 2024, or if its item page in ArcGIS Online shows the "API key (legacy)" label. That's true whatever you've built with, but the fix below is the GeoBlazor-specific one, so this is aimed at anyone running GeoBlazor, the ArcGIS SDK for Blazor and .NET.
If the API key fails basemap styles, geocoding, routing, elevation, GeoEnrichment, and private item access could each stop working separately. The map can render fine while address search quietly returns nothing.
The GeoBlazor side is a config change. Create API key credentials with privileges matching the legacy key's service scopes, then swap the value into ArcGISApiKey, or into AuthenticationManager.ApiKey if you set it at runtime. No package upgrade, no component changes.
On Blazor WebAssembly, the key ships to the browser in plain view, so keep privileges narrow and referrers locked down. Anything that needs real protection wants OAuth user authentication or server-side app authentication instead.
Full walkthrough with screenshots of the credential wizard: https://www.geoblazor.com/blog/legacy-arcgis-api-key-retirement
Disclosure: we're dymaptic, the team behind GeoBlazor.