hi @Anonymous To get the access token you are using the V1 endpoint https://login.microsoftonline.com/<tenant-id>/oauth2/token which seems is not picking the right audience here. Your API must validate this value and reject the token if the value doesn't match.
If you are trying to call any https://graph.microsoft.com API, you need a token with the aud claim of https://graph.microsoft.com or 00000003-0000-0000-c000-000000000000.
You can specify resource value https://graph.microsoft.com in the request to get the desired audience to call Microsoft Graph API.
You can check the value of aud in bearer token from jwt.ms