Skip to main content

Notifications

Community site session details

Community site session details

Session Id : HR6LpFWaSVjIObm2BgRy7r
Power Automate - Power Automate Desktop
Unanswered

AES encryption is not working on variables

Like (0) ShareShare
ReportReport
Posted on 26 Jan 2021 15:05:04 by 58

My Problem:

I just migrated an WinAutomate Flow to a PAD Flow.

I got some errors, but mostly I could resolve them.


The only thing that I got now is that when I try to encrypt my variables it causes an error.

Is that a bug or do I make anything wrong?


Sorry for my German version 🙂

I try to explain whats happening (see pictures below):


Line 48: Setting Var called "ReiseDatum" to String "06.12.2020"

Line 49: Just a message to prove if the var is set correctly

Line 50: AES encryption of the Var "ReiseDatum"

 

Line 50 Fails. The second picture shows the configuration of the AES encryption action.

It feels like a bug, but I am no Pro in encryption kind of things. Would be happy to get some Feedback.

 

Configuration:

Windows 10

Starting Power Automate Desktop locally

 

PowerAutomate Desktop Version:
2.3.2121.23000 (just installed today)

 

kkowal_0-1611673116652.png

 

kkowal_1-1611673171250.png

kkowal_2-1611673356361.png

 

 

 

 

  • DanielOlsson Profile Picture
    111 on 04 Jul 2021 at 18:04:22
    Re: AES encryption is not working on variables

    Clue: The encryption key as a direct or as a variable, can only be numbers.  It does not say it in any reference page or documentation.

    Good luck.

  • kkowal Profile Picture
    58 on 06 Feb 2021 at 11:59:49
    Re: AES encryption is not working on variables

    Hey Mike,

     

    I tried this easier example and it worked. So it seems that it has to do something with the migration itself that causes that problem. 


    When Microsoft updated PAD and the migrator I will try it again and see if this happens again. Thanks for your time. Ill keep you updated!

  • miketran13 Profile Picture
    720 on 26 Jan 2021 at 23:33:27
    Re: AES encryption is not working on variables

    Hi,

    It's very strange, my version just installed today and it is the same from yours. It works just fine for me. see the image in below. I used the same text you sent before and they key is just simple text and number.

     

    Untitled.png

     

    Can you try it again with a very simple flow? 

     

     

    Thanks and hope it can help you. 

    Mike

    ---------------------------------

    Did I answer your question? Please consider to Mark my post as a solution! to guide others

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 103 Super User 2025 Season 1

#2
CU12050101-0 Profile Picture

CU12050101-0 20

#2
Nived_Nambiar Profile Picture

Nived_Nambiar 20 Super User 2025 Season 1

Overall leaderboard
Loading started