# Webhooks and Microsoft Power Automate (orig. MS Flow)

**URL:** <https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715>\
**Category:** API and Webhooks\
**Created:** [June 9, 2020, 12:49am UTC](https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715 "2020-06-09T00:49:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkumar05](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mkumar05/32/11183_2.png) [@mkumar05](https://devforum.zoom.us/u/mkumar05)\
**Post date:** [June 9, 2020, 12:49am UTC](https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715/1 "2020-06-09T00:49:33Z")

</div>

**Description**  
I need help in using MS Power Automate to parse data from a Webhook app in Zoom. It appears I have everything configured, but I am getting a 401 error. Based on comments from other forums there was some question about the URI encoding of the URL provided by Microsoft as the webhook endpoint, but I resolved those issues (I believe)

**Error**  
Webhook Log:  
responseData: {  
error: {  
code: “DirectApiRequestHasMoreThanOneAuthorization”,  
message: “The request has both SAS authentication scheme and ‘XXXXXXXXXXXX’  
authorization scheme. Only one scheme should be used.”  
}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Webhook

**Which Endpoint/s?**  
MS Power Automate  
[https://prod-86.westus.logic.azure.com/workflows/XXXXXXXXXXXX/triggers/manual/paths/invoke?api-version=2016-06-01&sp=/triggers/manual/run&sv=1.0&sig=XXXXXXXXXX](https://prod-86.westus.logic.azure.com/workflows/XXXXXXXXXXXX/triggers/manual/paths/invoke?api-version=2016-06-01&sp=/triggers/manual/run&sv=1.0&sig=XXXXXXXXXX)

Removing the sig token results in the following error:  
responseData: {

error: {

code: “DirectApiInvalidAuthorizationScheme”,

message: “The provided authentication token is not valid. Only ‘basic’ or ‘bearer’ type of token is supported.”

}  
and this error on the Power Automate URL side: {“error”:{“code”:“DirectApiAuthorizationRequired”,“message”:“The request must be authenticated only by Shared Access scheme.”}}

Some Solutions:  
I found a blog on the following site for a different service that had the ability to turn off the Bearer Token that seems to relate to this issue:

> **[The request has both SAS authentication scheme and 'Bearer' authorization...](https://www.tech-findings.com/2020/02/The-request-has-both-SAS-authentication-scheme-and-Bearer-authorization-scheme.html)**
>
> The request has both SAS authentication scheme and 'Bearer' authorization scheme. Only one scheme should be used,DirectApiRequestHasMoreThanOneAuthorization, Error while calling AD secured logic app, Logic App Error

---

<div class="post-metadata">

**Author:** ![mkumar05](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mkumar05/32/11183_2.png) [@mkumar05](https://devforum.zoom.us/u/mkumar05)\
**Post date:** [June 10, 2020, 4:27am UTC](https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715/2 "2020-06-10T04:27:46Z")

</div>

I changed directions and used AWS to create a lambda function as a connector/translator between webhook JSON formats. I tried a couple other things on the MIcrosoft Power Automate end and found another forum discussing the topic, but ultimately AWS proved to be easier to implement.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 12, 2020, 11:08pm UTC](https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715/3 "2020-06-12T23:08:31Z")

</div>

Glad you found a solution @mkumar05!

---

<div class="post-metadata">

**Author:** ![mkumar05](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mkumar05/32/11183_2.png) [@mkumar05](https://devforum.zoom.us/u/mkumar05)\
**Post date:** [July 9, 2020, 5:38am UTC](https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715/4 "2020-07-09T05:38:29Z")

</div>

So just to share if anyone digs into this issue and wants to see some sample code of Webhook event notifications posting to a Slack Channel, I have my code posted here:  
[https://github.com/mkumar-avit/zoom-slack-webhook](https://github.com/mkumar-avit/zoom-slack-webhook)]. (though the coding style may need some work).

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 10, 2020, 4:49pm UTC](https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715/5 "2020-07-10T16:49:42Z")

</div>

Thanks @mkumar05! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:39pm UTC](https://devforum.zoom.us/t/webhooks-and-microsoft-power-automate-orig-ms-flow/20715/6 "2020-08-21T22:39:25Z")

</div>

Closed on August 21, 2020, 10:39pm UTC


