9/27/2023 0 Comments K9mail oauth2![]() ![]() This method mentioned by jstedfast is using Interactive provider. ![]() This method is using client credential flow which is not supported to use delegated permission. var client = ConfidentialClientApplicationBuilder Var authResult = await app.AcquireTokenForClient(scopes)Īccomplish the Objective would be much appreciated.įirstly, you should not use this method to get the access token. Var client = ConfidentialClientApplicationBuilderĬancellationToken cancellationToken = default From Overview, I recorded the Client ID, Tenant ID, etc.Ĭode (I tried several variation of this…) string scopes =.In Certificates & Secrets, I created a client secret and recorded the secret (Value).In API Permissions, I have added and granted (I am an admin) a lot of permissions (everything I guess may be related to this, fromĮmail, to IMAP, SMTP, POP, Application, User and a bunch of other permissions.In Azure Active Directory, I have created an App Registration. ![]() What I have done, but of course, I can be way off… That is free and has MIT license) to retrieve, load and parse the emails. I want to use MailKit (or something similar net core code (in Azure Functions) connect to a shared mailbox of Office 365 to retrieve emails to do some processing, then move that email from Inbox into another folder (Processed). I have been looking around and trying many, many ways, but not one of them works. I am looking for a complete Step-by-step to accomplish the following objective. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |