cancel
Showing results for 
Search instead for 
Did you mean: 

Graph API for Outlook giving 407 error

AvinashRamkumar
Level 4

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.
20306.png

Have anyone encountered the same? Any suggestions?



------------------------------
Avinash Ramkumar
Intelligent Automation Tech Lead
ASB Bank Limited
Auckland
------------------------------
3 REPLIES 3

ewilson
Staff
Staff
Hi @Avinash Ramkumar,

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
------------------------------

Hi @Eric Wilson
Tried using the HTTP VBO with proxy credentials to hit the Graph calls.  Getting the below error now.
20302.png

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
------------------------------

@Avinash Ramkumar,

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
------------------------------