Skip to main content
Question

Post a message to Microsoft Team

  • September 3, 2019
  • 3 replies
  • 48 views

syang
Contributor
Forum|alt.badge.img
  • Contributor

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

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 3, 2019

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


syang
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • September 3, 2019
itay wrote:

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.


Forum|alt.badge.img

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)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings