Reputation: 1503
Is there a simple way for a logic app to access its own Azure service management properties? Ideally I want to be able to access the location where the logic app is deployed.
The only current solution I have found is to make a rest call to the Azure service management API and get the details for using the logic app resource ID. However, this requires co-administrator privileges.
There feels like there should be an easier way for a resource to just access its own properties.
Upvotes: 0
Views: 690
Reputation: 3111
You can use @workflow().location expression to get the location of the Logic App.
Upvotes: 1