Hello @Anonymous ,
It appears you are Client Credential flow Authentication with /me
Microsoft Graph endpoint.
Usage of /me is supported with delegated permission flow.
https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-beta&tabs=http#permissions
Reference for how to get access token on behalf of user:
https://learn.microsoft.com/en-us/graph/auth-v2-user?view=graph-rest-beta&tabs=http
Similar questions for your reference,
Hope this helps. If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".