How to generate Azure Active Directory (AAD) authentication token for Graph API without interactive login screen for console/native application?

  • Thread starter Thread starter ShravanVenkatapuram
  • Start date Start date
S

ShravanVenkatapuram

Guest
I am using Graph API to read emails with Azure Active Directory (AAD) with ‘’Delegated’’ permissions.


” Application” permission allows user to read other mailboxes and there is no admin consent for this approach due to security concerns, so I am using ‘’Delegated’’ permissions.


My console/native application is registered to AAD.


Since, AAD generates OAuth Authentication token for specific account using:


1. Client ID, 2. TenantID, 3. Client Secret, 4. Login credentials of specific account



I can generate token using interactive login screen.


However, I want a mechanism where I can generate AAD token for Graph API (resource) without interactive login screen within code using C# or .Net

Continue reading...
 
Back
Top