locked
The Format of Body for a POST request in Web Activity in Azure Data Factory RRS feed

  • Question

  • I want to generate a access token for salesforce using Azure data factory Web Activity. But I am getting error of grant type invalid or not supported.

    URL:https://login.salesforce.com/services/oauth2/token

    Header:Content-Type:application/x-www-form-urlencoded

    body:username=XXX&password=XXX&grant_type=password&client_id=XXX&client_secret=XXX

    Is there any information or content that i have missed in this?

    anyone can help?

    Tuesday, September 22, 2020 11:13 AM

All replies

  • Hi Asif5494,
    For questions about Azure, it is recommended to ask the question on the Microsoft Q&A forum and you can get more professional answer.
    Thank you for your understanding.
    Best Regards,
    Daniel Zhang


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, September 23, 2020 1:19 AM
  • It can be hard to navigate the Q&A forums until you know where to find things (I'm still figuring it out myself).

    Try starting here (https://docs.microsoft.com/en-us/answers/products/azure?product=all) to find a specific Azure topic to post your question to.

    Hope that helps.  


    ~~Bonnie DeWitt [C# MVP]

    http://geek-goddess-bonnie.blogspot.com

    Thursday, September 24, 2020 3:23 PM