Question

Post a message to Microsoft Team

  • 3 September 2019
  • 3 replies
  • 2 views

Badge

I try to post a message to MS Team by using HTTPCaller. I connected to Mocirasoft Graph successfully by using FME Web Connection. However, I have no idea how I can post a message to MS Team by using FME. Please find the log file attached when I used HTTPCaller. Thank you.


3 replies

Badge +16

If you are trying to post a message, maybe you should try the POST and not the GET?

Badge

If you are trying to post a message, maybe you should try the POST and not the GET?

@itay Thank you for your suggestion. you are right, I should use post. But the key problem is the HTTPCaller was not working at all based on the parameters I input. I am wondering @gerhardatsafe can help me. Thank you.

Badge

Hi @syang,

I would start by getting familiar with the MS Graph API in the API Explorer provided by Microsoft:

 

https://developer.microsoft.com/en-us/graph/graph-explorer#

Use the same login that you would use in FME and once you are able to make your desired request in the explorer you will have all the details (HTTP Method, query parameter, Header, etc.) that you will need to make a successful request with the HTTPCaller in FME.

The response you are currently getting (Authorization_RequestDenied) is very likely related to insufficient privileges of your account. If the Microsoft Graph Web Connection would be misconfigured you would not be able to retrieve a token and receive different errors (e.g InvalidAuthenticationToken)

Reply