Workaround for Webhook Creation on Map Services with ArcGIS Connectors?

573
5
05-08-2025 08:02 AM
KathrynWesson
Regular Contributor

Am I understanding correctly that it's not possible to use the ArcGIS Connectors on non-hosted feature layers? I keep getting the error "Webhook creation on Map Services is currently not supported in ArcGIS Connectors for Power Automate." The data I'm trying to access is a feature layer in our Enterprise account published from our organization's federated server. The URL ends in .../FeatureServer/0.

If I can't use the ArcGIS Connectors in Power Automate, what other triggers can I use as a workaround? My goal is to automatically send an email whenever a feature's 'Condition' field dips below 4. The features are updated in Field Maps, but this particular field is only calculated weekly. I don't know much about Power Automate so I'm open to any suggestions. I've attached a screenshot of the feature layer's configuration, but I'd like to find a way to accomplish my goal without changing the configuration, if possible.

5 Replies
AkshayHarshe
Esri Contributor

Hi @KathrynWesson

Thanks for your question. What version of ArcGIS Enterprise you are using? Here are a few pointers for using Power Automate and ArcGIS Connectors. 

  • In General, Power Automate must be able to access the URL of the layer. Machine you are accessing should not be behind a firewall or an internal network.
  • To use any triggers (webhooks) in the ArcGIS for Power Automate connectors you must be the owner of the feature layer.
  • ArcGIS for Power Automate connectors currently don't support Webhooks with feature layers referenced from an enterprise geodatabase and on map services. Though this functionality is in current development pipeline and we are hoping to release it soon. 

I hope it answers your questions. Feel free to reach out if you have any specific ones.

 

 

Thanks,
Akshay Harshe
0 Kudos
DakshataShahi1
New Contributor

Hey Akshay, I'm facing the same issue. Our organization is currently running Enterprise 11.3. 

DakshataShahi1_0-1748538622489.png

 

Tags (1)
0 Kudos
Jim
by
Emerging Contributor

Hi @AkshayHarshe,

Thanks for your reply. Does this mean that only hosted feature layers in an Enterprise can be used with Power Automate webhooks? Or does your bullet point only apply to feature layers and map services shared from Enterprise to ArcOnline? Can I use the Power Automate Connection for my Enterprise 11.3 in conjunction with the Power Automate Enterprise triggers that utilize webhooks such as "When a record is created in a feature layer" or "When a record is updated in a feature layer" with data published from an Enterprise geodatabase? Thank you for clearing the confusion!

-Jim

  • ArcGIS for Power Automate connectors currently don't support Webhooks with feature layers referenced from an enterprise geodatabase and on map services. Though this functionality is in current development pipeline and we are hoping to release it soon. 

https://enterprise.arcgis.com/en/portal/11.4/administer/linux/create-webhooks.htm

https://doc.arcgis.com/en/power-automate/latest/get-started/get-started-with-arcgis-connectors-for-p...

 

0 Kudos
AkshayHarshe
Esri Contributor

Hi Jim,

Does this mean that only hosted feature layers in an Enterprise can be used with Power Automate webhooks? 


You can create webhooks on Hosted feature layers in ArcGIS Enterprise. This means when you publishing data to your enterprise from ArcGIS Pro, you are selecting `Copy all data` option. If you select `Reference registered data`  (meaning you are referencing a data from Enterprise geodatabase) web hooks created on resulting Feature layer are currently not supported.

AkshayHarshe_0-1752089207273.png

Or does your bullet point only apply to feature layers and map services shared from Enterprise to ArcOnline?

I am not sure what you mean. 

Can I use the Power Automate Connection for my Enterprise 11.3 in conjunction with the Power Automate Enterprise triggers that utilize webhooks such as "When a record is created in a feature layer" or "When a record is updated in a feature layer" with data published from an Enterprise geodatabase?

You can use all the triggers as long as it is not referencing registered data from in ArcGIS Enterprise.

We have fixed it will be rolled out when Microsoft releases it! 

Hope that helps.

Thanks,
Akshay Harshe
0 Kudos
HilsKatrin
New Contributor

Hi @KathrynWesson,

I ran into the same issue weeks ago and created a workaround with a python script. 

I don't know whether you have a Notebook to run scripts oder the possibility to run python scripts in windows tasks, but this is my workaround:

  • I published the Feature Class as referenced but also as hosted Feature Layer
  • the referenced Feature Layer is used in the Field Map App and the users are editing features like always 
    • when they want a feature to be send via mail to somebody (seperate field with mailadresse in attributtable) they alter a field called "send" from empty to yes
  • My Notebook script is now checking if there is a change ("yes") in the field "send" in the reference feature layer and copies just this feature to the hosted feature layer. 
    • at the end of the script I change the "yes" in the field "send" in the referenced feature layer to something like "sent" or ""done"
  • A Power Automate Flow will be triggered because it can detect a change in the hosted feature layer
  • the Power Automate Flow is now reading the feature and I can send a mail

Maybe this workaround is something that could help you as well. Feel free to reach out if you have specific questions.

Best,

Katrin