How To Generate Silent token for using MSAL.net package for office 360 graph api mail operation

Copper Contributor

I want to generate Silent token for using MSAL.net package

Without browser transition for user consent like user credential or allow screen.

 

I am developing C# API for sending and reading mails using Office 360 Outlook, consuming Microsoft graph api

I have created API key and secret.

Using this key, want to send mail and read mail content like body, attachment, subject.

Its asking Browser transitions.

Please suggest solution or way to avoid browser

transition, we can generate token to send mail from backend service. There is mail sync and sending job running in background.

Please let us know if any query.

Kindly assist

Thanks

Ajit

0 Replies