cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jan-Kodet
Frequent Visitor

Power Automate HMAC (SHA256) generator

Hi all,

I'm trying to create power automate process from CDS (dataverse) to one service. For authentication I need to generate HMAC (SHA256) hash which I need to use for verification. I have a unique customer number that I need to combine with the current date (YYYYMMDD) and key of the service. Based on this, I get the key that I use to authenticate to call the service. But I don't know how to create in power automate. Any idea? Below are screenshots from online service where I can generate HMAC (SHA256) hash and from postman where I'm using mentioned hash for api call.

 

hm.jpg

Online service: https://www.freeformatter.com/hmac-generator.html

hmm.jpg

6 REPLIES 6

Hi @Jan-Kodet 

 

I believe that to generate the HMAC key, you still have to fill in the details on the webpage you mentioned manually and get the key generated over there and then use it in postman for API call. 

 

So if you want to automate the generation of the HMAC key, you will either have to create a desktop flow that fills in all the information and grabs the key or find a service that can accept inputs from an API call and return the HMAC key as an output/ body. If the service supports that, you can use the HTTP action in Power Automate for the API calls.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hi @yashag2255 ,

thank you for your response. Sure, my idea was also to use desktop flow for automation of the process (but this idea is not entirely correct). I'm trying to find solution for some service which is providing HMAC generating. I had idea to use Azure services (like Event hub or Service hub) for generating mentioned HASH. Do you have any idea about service which I can use for my purpose?

MohamedOsama
Frequent Visitor

Hi,

Have you found a free service or action that can do this, I've use encodian and it did it successfully but with a paid subscription.

 

Please let me know if you've found a free action.

 

https://support.encodian.com/hc/en-gb/articles/360034567934-Subscription-Pricing

 

Ev-at-Encodian
Regular Visitor

Hi @Jan-Kodet 

I'm Ev from Encodian 😊

We do have a free subscription that you can sign up for if that will help?

We also offer a 30-day free trial to see if it works for you too.

Take a look here 👈 if you scroll to the bottom you can see all the pricing points - no credit card required.

Thanks,

Ev

 

And thanks @MohamedOsama for choosing Encodian!

Thanks Ev i’ve already tried Ecodian and it is working fine but unfortunately i don’t have a budget for this project and if can’t do this solution with the existing tools i won’t be able to continue using power automate in this flow.

Thanks Ev i’ve already tried Ecodian and it is working fine but unfortunately i don’t have a budget for this project and if can’t do this solution with the existing tools i won’t be able to continue using power automate in this flow.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,534)