cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft Graph API (Outlook Issue)

DominicFranklin
Level 2
Hello, 

I was wondering if anyone could help me solve this last hurdle of configuring this API please...
So I have followed the documentation which registers your Outlook account API on Azure, gathered the client, tenant, and secret ID.
Finally i have configured everything needed into BP so that i can use the send mail action, but one of the parameters in the business object requires an ID. I have tried leaving this blank as the documentation does not specify what ID it is asking for and i am recieving this error:

Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 405
HTTP Response Content: {
  "error": {
    "code": "Request_BadRequest",
    "message": "Specified HTTP method is not allowed for the request target.",
    "innerError": {
      "date": "2020-11-11T11:12:52",
      "request-id": "f943bef4-47f4-45c7-be08-cf28f413ef0e",
      "client-request-id": "f943bef4-47f4-45c7-be08-cf28f413ef0e"
    }
  }
}


If anyone can help it will be greatly appreciated.

Thank you


------------------------------
Dominic Franklin
Blue Prism developer
Robiquity
Europe/London
------------------------------
1 BEST ANSWER

Best Answers

ewilson
Staff
Staff
The action for sending a mail requires two IDs: the sender and the recipient. The ID of the sender could be their email address or their GUID. For the recipient, it's going to be their email address.

Cheers,

------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

View answer in original post

4 REPLIES 4

FranciscoMontei
Level 2
Hi Dominic,

found more or less the same problem as you. Couldn't find a solution so far, although I followed the provided instructions. I think its probably some kind of missing configuration on the Graph/Azure side, since its the first time I'm using it.

Looking forward for someone to help us on this one.

Kr,
Francisco Monteiro

------------------------------
Francisco Monteiro
------------------------------

@Francisco Monteiro I have figured out how to configure it properly and it works now, so let me know if you're still needing help?

Dom​

------------------------------
Dominic Franklin
Blue Prism developer
Robiquity
Europe/London
------------------------------

ewilson
Staff
Staff
The action for sending a mail requires two IDs: the sender and the recipient. The ID of the sender could be their email address or their GUID. For the recipient, it's going to be their email address.

Cheers,

------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

@DominicFrankli1, I still couldn't make it work. If you could provide some details how you have done it, it would be great!

Kr,
Francisco​

------------------------------
Francisco Monteiro
------------------------------