web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Using HTTP to update a user in Zendesk

(0) ShareShare
ReportReport
Posted on by 56

I am trying to pull data from office and update corresponding fields in Zendesk for users. Using a PUT HTTP request & the OAuth authorization I am running into an error:

 

"BadRequest. Http request failed as there is an error getting AD OAuth token: '*************: Invalid client secret is provided. Trace ID: ***************** Correlation ID: ********** Timestamp: 2020-04-09 14:32:22Z'."

 

Attached is the Error and a picture of the flow. We have all of the information Oauth.PNG

 

HTTPError.PNGHTTP.PNG

 

I tried using the Zendesk 'Update Item' but the user field is a read only. 

I also have admin access in Zendesk & Azure.

 

Any help is appreciated.

Thank you in advance!

 

I have the same question (0)
  • JohnAageAnderse Profile Picture
    1,986 on at
    Re: Using HTTP to update a user in Zendesk

    Hello @jonathancavey 

    Are you sure you have to use a PUT request? I just browsed the ZenDesk documentation and they show examples with POST!

    Kind regards, John

  • jonathancavey Profile Picture
    56 on at
    Re: Using HTTP to update a user in Zendesk

    The main issues I am running into is authenticating myself through the HTTP request (POST & PUT). I have attempted all of the options available to authenticate myself. 

  • JohnAageAnderse Profile Picture
    1,986 on at
    Re: Using HTTP to update a user in Zendesk

    Hello @jonathancavey 

    It does state that the secret provided is incorrect! Can you try using another tool, PowerShell for example, to send a request with the same information and see if it works? Or ask ZenDesk support for assistance.

    Kind regards, John

  • jonathancavey Profile Picture
    56 on at
    Re: Using HTTP to update a user in Zendesk

    I have used postman to call the same information and it worked.

    I have also tried creating a custom connector but that is giving me authentication problems / host web address as well. 

  • philipdauwe Profile Picture
    2 on at
    Re: Using HTTP to update a user in Zendesk

    This might not be a solution but more of a workaround.

    Have you tried using the HTTP to authenticate and get a token?

    You should be able to POST an authentication, get a token and use the token in your next request to update the user. 

  • Verified answer
    jonathancavey Profile Picture
    56 on at
    Re: Using HTTP to update a user in Zendesk

    Thanks for the replies.. I solved by putting "/token" after my user name and the token as the password for basic oauth

  • Alphie Profile Picture
    48 on at
    Re: Using HTTP to update a user in Zendesk

    This article goes into detail on how to make a HTTP request to detail. The piece I was missing was to convert your authentication userID/Token to base64.

    Using the Zendesk API with Microsoft Power Automate – 4sysops

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 655 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 371 Moderator

#3
chiaraalina Profile Picture

chiaraalina 276

Last 30 days Overall leaderboard