Azure AggregateError Security token could not be authenticated or authorized. code ‘EFEDAUTH’
Summary A Node.js 18 function app deployment on Azure failed to authenticate with Azure SQL, producing AggregateError Security token could not be authenticated or authorized (EFEDAUTH). The failure occurred in a newer Docker image while older images worked, necessitating a rollback. The root cause was an invalid Managed Identity configuration or missing token audience scope, … Read more