I create a SharePoint list called PowerAppConfiguration, with columns like:
- Title → Key (e.g., APPURL, Environment)
- Value → Configuration value (e.g., https://apps.powerapps.com/..., PROD)
- Description → Purpose of the value
My Power App reads from this list at startup and stores values in a collection for quick reference.
Example configurations:
- APPURL → Link to the app for refreshing
- APPID → Session log reference
- SupportEmail → Support mailbox address
- Environment → -UAT for UAT, -DEV for Development (to distinguish non-prod apps)
Please refer to the full article using the Configuration List Instead of Environment Variables in SharePoint-Based Apps | LinkedIn