EWS / OAuth2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-20 09:11 AM
Basic Authentication is being removed from EWS next year, replaced with OAuth2, so trying to get ahead of the game and hoping someone else has already got this to work and can point me in the right direction.
------------------------------
Graeme Tacon
Automation Developer
Aviva plc
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-20 01:59 PM
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-20 03:32 PM
We have created an Object for EWS with Oauth2 authentication. i'm afraid the object cannot be sharedhere
following steps were taken
1.you need an azure ad native application to be registered with delegated permissions to ews api
2. create a console app to sign in and generate token
https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth
However, I would recommend you to explore on MS Graph API for email sending activities if you really want to be future ready.
Microsoft Guidance on Application Registration:
https://docs.microsoft.com/en-us/graph/auth-register-app-v2
Application Authentication basics for Microsoft Graph:
https://docs.microsoft.com/en-us/graph/auth/auth-concepts
Using GraphAPI with oAuth
https://docs.microsoft.com/en-us/graph/auth/auth-concepts#next-steps
- For quick steps for getting an access token for apps that call Microsoft Graph, choose the type of app that matches your scenario:
- GraphAPI – Permissions Reference https://docs.microsoft.com/en-us/graph/permissions-reference#mail-permissions
------------------------------
Jerin Jose
RPA Product SME
EY
Asia/Kolkata
*"If you find this post helpful, please press the "Recommend" Button.*
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-09-20 01:44 PM
If you were to use the "Azure AD Certificate based auth" skill available on the Digital exchange, you can enable an OAuth2.0 authentication and get a token back. THis can help you work with pretty much anything on 0365 or Azure. Hope this helps.
Let me know if you have any questions on doing this.
------------------------------
Bimal Sebastian
Consultant
Blueprism
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-09-20 04:19 PM
For those interested to look at the skill I mentioned, follow this link
https://digitalexchange.blueprism.com/dx/entry/3439/solution/azure-ad-auth-certificate-based
------------------------------
Bimal Sebastian
Consultant
Blueprism
Asia/Kolkata
------------------------------
