It’s Friday, and you know what that means—it’s time for a Friday Fact! Today, it’s going to be a completely different Friday fact than we are used to, but it’s still very true and valuable.
Do you know that it’ i’s possible to use/reference App Settings inside your Logic Apps actions? You can!
📝 One-Minute Brief
In Logic Apps Standard, you can reference App Settings (environment variables) directly inside your workflows using the @appsetting() expression. This allows you to externalize configuration values such as connection strings, feature flags, and API endpoints without hardcoding them in the workflow definition — improving maintainability, security, and environment portability.
To accomplish that, you just need to:
- In the action fields, go to the expression editor and just enter:
appsetting('MyAppSetting')

- Click Add or Update, and you’ll have an expression that consumes your app setting.
- Make sure the key/value pair exists in your local.settings.json or in the Azure Logic App App Settings.

Conclusion
Although the appsetting() expression does not show in the expression editor as a valid expression to be used, we can still use it to reference an App Setting in our Logic App actions.
To lazy to read? We’ve got you covered! Check out our video version of this content!
If you liked the content or found it helpful and want to help me write more, you can buy (or help buy) my son a Star Wars Lego set!