I've created a fairly simple Azure Logic App that connects to an Office 365 subscription, searches for a user and outputs the user's details to a storage blob.
I would like to re-use this Logic App to perform the exact same steps but targeting several other Office 365 subscriptions.
Is it possible for me to parametrize the Office 365 subscription id so that I can run the same app against different subscriptions? Something like the "Change connection" feature shown above, only done programmatically?
Notes:
- I'm thinking it could be ideal to pass in the Office 365 subscription id into the Logic App via a manual HTTP trigger.
- Assume I have been granted access permissions to all Office 365 subscriptions via an Azure AD web application (multi-tenant).