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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Variable in cloud used...
Power Automate
Answered

Variable in cloud used by PAD flow

(1) ShareShare
ReportReport
Posted on by 39

Hi All,

 

Is it possible in PAD:

1. Define a variable like config file path with value on the page : https://make.powerautomate.com/environments/myenv

2. When my PAD flow starts it picks this value from cloud

 

If the config file path changes, only the variable needs to be updated on the cloud instead of in the flow.

 

Thank you.

 

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at

    @erika027 

     

    You can create the environment variable and pick from power automate cloud flow and pass as input for your desktop flow. Other than that, I don't see any direct consumption way from Power automate desktop else you can also create your variable in Dataverse table and consume directly from power automate desktop.

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

  • Verified answer
    NathanAlvares24 Profile Picture
    1,714 Moderator on at

    Hi @erika027 !

     

    Yes, its possible.

     

    Two methods:-

    1st Method:

    All you need to do is create a solution, import your cloud flow into that solution. This cloud flow should contain the action, "Run a flow built with Power Automate for desktop". Then create an environment variable, type in the path in the default value field, edit your cloud flow, add your environment variable in that. And Voila!! Just run your flow. See below:

    Add existing cloud flow or you can create a new one.

    NathanAlvares24_4-1719915927427.png

    Add the environment variable. Only this needs to be updated

    NathanAlvares24_3-1719915880243.png

     

    NathanAlvares24_2-1719915837759.png

     

    NathanAlvares24_1-1719915822699.png

    All this can happen only if your desktop has an input variable. That's when you can add the environment variable to your cloud flow as it gives a prompt to enter an input field.

    NathanAlvares24_5-1719916047577.png

     

    2nd Method:

    Use a Dataverse and Power Automate Desktop. No need of cloud flows here.

     

    All you need to do is create a table in Power Apps, add the information in that, and then use Dataverse actions in Power Automate Desktop. So in this there is no need to update the input variables in PAD, just update the information in your Dataverse table.

     

    Let me show you what I usually do this for:

    I usually use Dataverse tables for credentials which are sensitive data as there is no credential vaults or if you need a credential vault like CyberArk or Azure you would need to pay which is for sure nobody will do that. Dataverse is free and security is high.

     

    NathanAlvares24_0-1719916836488.png

    This is mostly used if you are using "send email" action in PAD.

     

    Then in PAD you just have to use these actions,

    NathanAlvares24_1-1719917124767.png

     

    I hope this helps.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard