Azure App Configuration Expired Token

I moved one of the products I help maintain over to using Azure’s excellent App Configuration tool. But one of the other developers on the team started to have problems with it. When loading the configuration in Azure Functions they got an error: The access token has expired

An expired token

We double checked to make sure that they were using the correct keys and they were. The keys worked on my computer so something was a foot. The key was that the token was reporting itself as expired. As it turned out the clock on the dev’s computer was out by an hour so it was minting tokens which were already expired or not yet valid. Fixing the clock skew fixed the problem.