# REST API requests fail

REST API requests fail with the following error code:

IDX10214: Audience validation failed. Audiences: '<client_id>'. Did not match: validationParameters.ValidAudience: 'api://<client_id>' or validationParameters.ValidAudiences: 'null'.

# Solution

An incorrect token version is used to generate the token if the value "accessTokenAcceptedVersion": 2 is missing from the Azure app manifest (AAD Graph app manifest).

The entry has to be added to the manifest accordingly. Alternatively, "requestedAccessTokenVersion": 2 can also be set in the Microsoft Graph app manifest.

Last updated: July 25, 2025 at 7:53 AM