As far as I known the tokens for Azure Active directory for Azure Maps always expired after 24 hours. I recall even testing this out years ago when support for Azure Active Directory was added to Azure Maps. I suspect this issue has been an issue in your app for a while but the error was getting hidden. Note that the map likely still loaded fine as it most likely was pulling the map tiles from the browser cache.
How to overcome this warning "The duration between the start and expiry must be less than 24 hours." in Azure Maps Creating SAS token
Saravanan Ponnusamy
20
Reputation points
Previously we used to create SAS token with the expiry date of few weeks/months. Now a days we facing this warning "The duration between the start and expiry must be less than 24 hours." why this restriction came? How to overcome this?
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
837 questions
1 answer
Sort by: Most helpful
-
rbrundritt 20,921 Reputation points Microsoft Employee Moderator
2023-08-09T06:50:02.1233333+00:00