Hi All,
Anyone knows of C# implementation example for the POP connection using OAUTH 2 with Client Credentials? I have got the ClientId, TenantId and Client Secrat.
In Postman:
https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
returns the access_token for the provided:
client_id : {clientId}
grant_type : client_credentials
scope: https://ps.outlook.com/.default
client_secret: {client secret's Value created in Azure, for the registered application}
but, is there an example to do this in C# backend process and further creating the POP connect to use the access token and download mails?
MailKit/ MimeKit seems to be providing the POPClient implementation that allows XAUTH2 authentication type, But it there an implementation that does not require the use of third party POP client?
Regards,
A