All Content
explore our new search
Consume Environment Variable in PowerApps
Power Apps
Sep 3, 2022 12:00 AM

Consume Environment Variable in PowerApps

by HubSite 365 about Dhruvin Shah [MVP]

Microsoft MVP (Business Application & Data Platform) | Microsoft Certified Trainer (MCT) | Microsoft SharePoint & Power Platform Practice Lead | Power BI Specialist | Blogger | YouTuber | Trainer

Citizen DeveloperPower AppsPower Selection

This video will teach us how to consume environment variables in Power Apps. Most of the time, when creating Environment Variable, we are confused, how to consume those variables in Power Apps.

This video shows two techniques to consume Environment variables into Power Apps. If you are using Free or Standard License of Power Apps, you need to create Power Automate flow to consume Environment variables value inside Power Apps. If you're using already Dataverse with PowerApps then you can connect two tables inside PowerApps to consume the environment variable's value in PowerApps.

In this Video

00:00 Start

00:55 Solutions to Consume Environment Variable in PowerApps

01:50 Connect Dataverse Table

02:50 LookUp Value for Environmental Variables

03:50 Power Automate Flow to Get environmental variable value

05:29 Add Flow on App Start to store Environment Variable Value

06:36 Subscribe!

More about PowerApps

Consume Environment Variables Directly In Power Apps

In this article, we will learn how we can consume environment variables directly to Power Apps Canvas App. Currently, there are two ways to consume Environment variables in Canvas App.

Environment variables overview

Applications often require different configuration settings or input parameters when deployed to different environments. Environment variables store the parameter keys and values, which then serve as input to various other application objects.