An API that connects multiple Microsoft services, enabling data access and automation across platforms
For your error - 'Code: BadRequest /me request is only valid with delegated authentication flow'
This is as per design, Client credential flow will generate the token on behalf the app itself, so in this scenario, users don't need to sign in first to generate the token stand for the user and then call the api.
you should not use the /me endpoint, instead you should use /users/{userID}/calendar/getSchedule
await graphClient.Users["abc@xyz .com"].Calendars.Request().GetAsync()
For your another error - Access is denied. Check credentials and try again
Please check the docs, to see common access denied issue - https://learn.microsoft.com/en-us/graph/resolve-auth-errors
Hope this helps ,
Thanks