Hi all,
I'm running into an issue with Power Pages deployment, and hoping someone here would be able to guide me.
Scenario
I have created a Power Automate flow with the trigger "When Power Pages calls a flow ", added it to the Power Pages site, and calling the flow in the Power Pages using javascript. I've followed the MS Learn article - How to: Integrate Power Automate cloud flow with a Power Pages site".
Everything is working fine in the dev environment.
Issue
When I deploy the Power Pages solution to another environment, the flow reference does not change.
Behind the scenes, in Power Page Management, it creates a 'powerpagecomponent', with contents like this:
{"adx_flowapiurl":"https://dev-pp.powerappsportals.com/_api/cloudflow/v1.0/trigger/00000000-b00a-ec8b-000a-cb6400000000","adx_flowtriggerurl":"https://australia-001.azure-apim.net:443/apim/logicflows/00000000b00aec8b000acb6400000000-00000000DE7E000/triggers/manual/run?api-version=2016-06-01","adx_metadata":"00000000-b00a-ec8b-000a-cb6400000000","adx_CloudFlowConsumer_adx_webrole":["11111111-3210-4528-0018-111111111111"],"_adx_processid_value":"11111111-28d1-ee11-9079-11111111"}
The component is copied as is in target environment, which creates an issue. In the content posted above, the flow_apiurl, and all the IDs which start with "0000000" need to change with the environment. Has anyone run into this issue, and a possible way to overcome this ?