Select to view content in your preferred language

ArcGIS Enterprise Power Automate Connector Not Working at 11.3

966
7
Jump to solution
01-21-2025 10:01 AM
LeviCecil
Frequent Contributor

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:

paerror.PNG

Or this one:

paerror2.PNG

I get this error whether I add the client ID or 'arcgisforpowerautomate'

 

1 Solution

Accepted Solutions
LeviCecil
Frequent Contributor

I was able to get around this issue by deleting the old connection and making a fresh one. It's working so far 🤞

View solution in original post

0 Kudos
7 Replies
LeviCecil
Frequent Contributor

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." } }'.

LeviCecil
Frequent Contributor

So according to tech support this is due to BUG-000169725 which affects AGOL and apparently Enterprise as wellThis was first logged as an issue in August 2024. @SeanKMcGinnis or @AnthonyLatinido 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. 

LeviCecil
Frequent Contributor

I was able to get around this issue by deleting the old connection and making a fresh one. It's working so far 🤞

0 Kudos
ahargreaves_FW
Frequent Contributor

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...

0 Kudos
LeviCecil
Frequent Contributor

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

0 Kudos
ahargreaves_FW
Frequent Contributor

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.

0 Kudos
AkshayHarshe
Esri Contributor

@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.

AkshayHarshe_0-1749227933202.png

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.

Thanks,
Akshay Harshe
0 Kudos