Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 93MU16DmBTKdyaXeoih7+i
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started