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 / How to use environment...
Power Automate
Answered

How to use environment variable in pad flow?

(0) ShareShare
ReportReport
Posted on by 357

hi team,

 

I want to use environment variable in power automate desktop flows 

how can I use it

  • Verified answer
    CU16071609-1 Profile Picture
    6,255 Moderator on at

    @Sanket1 

     

    You cannot consume environment variables from desktop flows. Instead you can create input parameters in your desktop flow then while invoke your desktop flows from cloud flow you can pass the environment variables values as input to your PAD flows.

     

    Please refer the below link - https://www.yourteaminindia.com/tech-insights/input/output-parameters-and-environment-variables-in-cloud-flows

     


    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 🚀

  • Sanket1 Profile Picture
    357 on at

    Thank you so much for your quick responce!!!

     

    I want to provide sharepoint url everytime whenever I run the bot so how can I achieve this

     

    one is input dialogue box ---

     

    any other approch is available

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @Sanket1 

     

    You can keep your variable in excel also.

     

    Or if you want to keep them as environment variable then create environment variable for SharePoint URL and pass to desktop flow as input parameter. This is also fine approach.

     


    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 🚀

  • CU31080729-3 Profile Picture
    502 Moderator on at

    Hi,

    Its depend on your requirement of flow to be run if you run your flow manually or attended you can use input dialouge box action for provide your sharepoint url on it.

     

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Chetan Ninghot

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @Sanket1 ,

     

    If your running the BOT as attended if you create it as  input variable as shown in below, It will ask when your running from console as shown in below image.

    VishnuReddy1997_0-1715245567704.png

     

    VishnuReddy1997_1-1715245605246.png

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard