Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Outlook
    • Planner
    • Power Apps
    • SharePoint
    • Teams
  • Triggers
  • Ready to use solutions
    • Approval Process Solution
    • Task Delegation App
    • The Ultimate Power Automate expressions cheat sheet
    • Power Automate HTTP requests to SharePoint cheat sheet
    • Power Automate HTTP requests to Graph API cheat sheet
  • ABOUT ME
  • Get help with your flow
  • POWER PLATFORM SERVICES
Menu

Use environment variable in PowerApps without premium license

Posted on February 25, 2024February 25, 2024 by Tom

“I stored the environment specific link in an environment variable but PowerApps are now asking for a premium license!”


Solutions are something you should use for all your PowerApps and Power Automate (unless it’s just a single app/flow). They’ll help you stay organised, keep all the parts together, and make it easier to transfer your solutions between environments. That is, unless you get in a situation where you need an environment variable in PowerApps and you don’t have premium licenses. While in Power Automate you can access any environment variable from the flow, as used e.g. in the approval process template, it’s not so in PowerApps. As they’re stored in a Dataverse tables, PowerApps will ask you to get a premium license. That sounds quite strict to read an environment variable, maybe to just build a file download link…

powerapps environment variable premium

Use Power Automate to get the variable value

As already mentioned, even though PowerApps won’t let you access the variables without licenses, Power Automate will. And since Power Automate flows can be called from PowerApps, you can create a flow that’ll return the value.

Create a flow that’ll be triggered from the PowerApp. The flow must be create from a solution to have access to the environment variables!

Add a ‘Compose’ action where you store the desired environment variable.

Send the value back to the PowerApp.

powerapps environment variable premium

You might think that the ‘Compose’ step is not needed, I thought that too, but if you remove it the solution won’t work.

Run the flow from the PowerApp

Once you have the flow, you can run it from the PowerApp. Add the flow to the application, use the OnStart property to run it and store the env. variable into a PowerApp variable.

powerapps environment variable premium

That’s it, you just loaded an environment variable into a PowerApp without the need for a premium PowerApps license.

Summary

Any access to Dataverse table is bound to a PowerApps premium license, including accessing environment variables. But those can be accessed freely from a Power Automate flow, and since PowerApps can trigger Power Automate flows, you can ask a flow for the value.


πŸš€ Master Power Automate

Join 2,100+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

πŸš€ Master Power Automate

Join 2,100+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Still exchanging emails to get things approved?

Get the Approval Process solution to skip the hard part and deploy an automated, fully functional approval solution on a SharePoint list in minutes! And then the next one, and the next one...

Approval Template Preview ✨ Learn more ✨

Are your approvals stuck due to unavailable approvers?

Keep your approvals running with the Approval task delegation app! Reassign any existing approval task to another user with a single click - no more waiting for absent approvers!

Power Automate approval task delegation ✨ Learn more ✨

Turn ideas into flows with ease!

Grab the complete Power Automate Cheat Sheet Bundleβ€”everything you need to master expressions, SharePoint HTTP calls, and Graph API in Power Automate.

Cheat Sheet Bundle Preview ✨ Get the Cheat Sheets

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with thousands of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2025 Let's POWER Automate | Theme by SuperbThemes