Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Do not apply your custom Web API's access token to the graph API, as these are two different types of APIs and you should request a dedicated token for the graph API.
Access tokens are issued based on the API audience, and when you use an access token with an audience for the Web API to call the graph API, it will report an “invalid audience” error.
By the way, one token can only be used to call one type of API, not other types of APIs.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.