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 Apps / How to create an App a...
Power Apps
Answered

How to create an App admin configuration record

(0) ShareShare
ReportReport
Posted on by 40

Our Model driven power solution has two sections:

1. Admin - configuration for the app. for example, API connection string to connect to an external app. Only admin role can configure this record. There is a single record for each org.

2. all user objects.  the admin connection is used to retrieve user data 

 

How to create the admin configuration object? 

 

Thanks in advance

 

Categories:
I have the same question (0)
  • Joel CustomerEffective Profile Picture
    3,224 on at

    the way you are describing creating admin records like connection strings is the old way to do it. Now you should be using environment variables. Why? Because they are solution aware.

    https://colinvermander.com/2019/10/30/using-powerapps-environment-variables/

     

    You can create your environment variables from a solution, that way you don't need to update your app when you need to change them after moving your solution.

     

    @jamesyang  If this answers your question, please mark it a solution.

  • jamesyang Profile Picture
    40 on at

    @jlindstrom

    Thanks!  Environment variables may work. After importing  the solution to another org as a managed solution, is there a UI to edit the env variables? In my test, i was able to edit it initially right after import, then I could not find the UI to edit the env variables again.

     

    We plan to distribute the app to many  customers via app source.  some of the app configurations may not be available right away after importing the app by our customers. 

     

    So how to edit the environment variables of an imported managed solution?

     

    ---------

    0.jpg

  • Verified answer
    Joel CustomerEffective Profile Picture
    3,224 on at

    Environment variables are just like any other record and you can query for them and update them in your canvas or model driven app like any other record.

     

    But if you really want to do ALM with managed solutions and environment variables, use the Power Platform Build tools and use JSON to set the variables.

     

    See Collin Vermander’s post https://colinvermander.com/2019/10/30/using-powerapps-environment-variables/

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard