Hello Emmett Cregg,
Based on the information provided, the audience for the token must be set to exactly https://*.asazure.windows.net
, where the *
character is not a placeholder or wildcard, but an actual character that must be included in the subdomain.
and your understanding is correct that the audience is typically controlled by the token issuer, which in this case is Microsoft Entra. However, the email indicates that you need to ensure the audience in the Authorization header token is set correctly to https://*.asazure.windows.net
to avoid authentication failures starting from 3 August 2024.
Regarding the token request with the scope set to https://canadacentral.asazure.windows.net/.default
, and the returned token having an audience of https://canadacentral.asazure.windows.net
, it does imply that you should update your token request to use the new scope (https://*.asazure.windows.net/.default
). This should ensure that the returned token has the correct audience and prevent any authentication failures.
I hope this helps.