Hi @meyerovb ,
I'm glad that you were able to resolve your issue and thank you again for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.
Issue:
Using the Java web app code of your Azure app service, you were looking for a way to query Azure SQL as an Easy Auth Active Directory User.
Solution:
You Configured the App Service to return a usable access token and added the https://sql.azuresynapse-dogfood.net/user_impersonation instead of the Graph URL. Then you passed the x-ms-token-aad-access-token
from the header to the SQLServerDataSource setAccessToken
method as described in Tutorial: Authenticate and authorize users end-to-end in Azure App Service
If you have any other questions or are running into more configuration issues, please let me know.
Thank you again for your time and patience throughout this issue, and thank you for sharing your solution with the broader community!
Please remember to "Accept the Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.