Hello everyone I have tried to send email by outlook using graph API based on the access token, But I'm faced with this issue.
"/me request is only valid with delegated authentication flow."
Loading
Hello everyone I have tried to send email by outlook using graph API based on the access token, But I'm faced with this issue.
"/me request is only valid with delegated authentication flow."
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sourabh DhimanPosted Apr 24, 2024, 7:21 AM
I have switched from application permission to delegated permission but this not working.
Jayraj ChhayaPosted Apr 24, 2024, 7:06 AM
To resolve the "/me request is only valid with delegated authentication flow" issue when sending emails through Outlook using the Graph API, ensure that you are using the correct authentication method. You need to switch from application permissions to delegated permissions for the "/me" endpoint to work properly.
Make sure to authenticate using a user token with the necessary permissions to send emails on behalf of the user. This way, you can avoid the authentication flow issue and successfully send emails through Outlook using the Graph API.