I have a flow that was working in 11.1. It sends an email when an incident is created in Field Maps. We have upgraded to 11.3 and our connection to the Enterprise is broken. I tried re-registering my custom application in the portal but it wouldn't accept the new client ID. ESRI tech support told me to replace the client ID with 'arcgisforpowerautomate' and this doesn't work either. I either get this error:
Or this one:
I get this error whether I add the client ID or 'arcgisforpowerautomate'
Solved! Go to Solution.
I was able to get around this issue by deleting the old connection and making a fresh one. It's working so far 🤞
Turns out this is an issue in Chrome. I got reconnected in Safari but now I'm getting this error when I try to save my flow:
Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'arcgisenterprise' operation 'GetFeatureLayerResponseSchemaForWebhook' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "error": { "code": 400, "source": "flow-apim-msmanaged-na-westus2-01.azure-apim.net", "clientRequestId": "1cff0897-f90d-42ed-a1b8-ffea54569c8d", "message": "The response is not in a JSON format.", "innerError": "Authentication failed. Your session has expired. Please log in again to continue." } }'.
So according to tech support this is due to BUG-000169725 which affects AGOL and apparently Enterprise as well. This was first logged as an issue in August 2024. @SeanKMcGinnis or @AnthonyLatini, do you know when this will be sorted out? I'm using Power Automate to alert our school district security department of incidents (such as weapons being brought onto campus) logged in Field Maps. This is pretty important. I had to purchase a PA premium license to be able use these connectors, and they just don't work if I can't even connect to our portal. Any news or workaround advice would be appreciated.
I was able to get around this issue by deleting the old connection and making a fresh one. It's working so far 🤞
What if I don't have an old connection to delete? I'm trying to set this up for the first time and running into this very issue...
Just add another connection and choose that one when it errors out. Some of my flows have two of the same connection, so that's how I workaround this issue
Sorry if I wasn't clear but I am unable to set up ANY connection. I have constantly gotten the same error and it has prevented me from making ANY connections whatsoever.
@ahargreaves_FW If you are using ArcGIS Enterprise 11.2 or above you do not need to create an application. Just click create a new connection on the action you are running and it will open the following dialog.
Use your Enterprise url without https. and use arcgisforpowerautomate as a ClientID. It should then ask you to log in.
Please also make sure that your Enterprise instance is accessible to Power Automate and is not inside a firewall or internal network. Hope that helps.