Graph API for Outlook giving 407 error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-02-22 02:59 AM
Hello Experts,
We have been trying to utilize the Microsoft Graph - Outlook (from DX) for basic email automation.
Further to generating Access Token, while trying to hit the Outlook API, we are getting 407 error.
Have anyone encountered the same? Any suggestions?
------------------------------
Avinash Ramkumar
Intelligent Automation Tech Lead
ASB Bank Limited
Auckland
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-02-22 03:32 AM
According to the error, you're traversing a proxy server in order to get to the internet. Is that correct? Unfortunately, the Web API feature doesn't support proxy authentication.
You can still use MS Graph, but you would need to create those REST calls using the HTTP VBO (it supports proxy credentials).
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-02-22 01:38 AM
Hi @Eric Wilson
Tried using the HTTP VBO with proxy credentials to hit the Graph calls. Getting the below error now.
Able to hit non graph API endpoints (other open source etc ) with HTTP VBO and same proxy credentials.
This error is only for Graph /Outlook API.
------------------------------
Avinash Ramkumar
Intelligent Automation Tech Lead
ASB Bank Limited
Auckland
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-02-22 08:21 PM
Couple things you can try.
- The HTTP VBO includes a Force Pre Authorization flag. By default, it's set to False. You might try setting it to True and see if that helps.
- If that doesn't get you anywhere, you could try grabbing the Postman Collection for MS Graph and see if you can contact any of the Graph endpoints using Postman. There's more information about using Postman with MS Graph available here.
- There's also the MS Graph Explorer app that you can find here. It's a pretty easy tool for testing access to Graph endpoints.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
