Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I would like to know how to connect to API from Microsoft Graph.
Everything works fine in Postman but how to put those parameters in a tRestClient component? (or perhaps there's another component)
TenantID
ClientID
ClientSecret
Just first to get the token and use the API?
Thanks a lot
Solution was given to me in Stackoverflow.
Here's the trick:
Status 200 with access_token in response. Perfect.
Hello,
To connect to API from Microsoft Graph, it's required to get one access token first by the url: https://developer.microsoft.com/en-us/graph/graph-explorerthen, in the job, you can use the component tREST or tHTTPRequest to invoke the api URL
Please remember to setup the HTTP Headers as the below
Hello,
Thanks for the reply.
As I said it is working fine in Postman, and in Talend also with the Token.
What I need to know first is how to get the Token from Talend? and not from microsoft application.
I have a 200 status response but that send me to an html page which indicates there's some problems with cookies?! I don't get it since all the password and ID are correct.
So for the moment I send a request to the API to get the Token with the https://login.microsoftonline.com/{{TenantID}}/oauth2/v2.0/authorize URL.
What I get is a status 200 that ask me to login in my corporate network.
Solution was given to me in Stackoverflow.
Here's the trick:
Status 200 with access_token in response. Perfect.