Select to view content in your preferred language

Can ArcGIS for Power Automate be used with Enterprise yet?

8768
78
Jump to solution
02-02-2023 11:40 AM
COSPNWGuy
Occasional Contributor II

Can ArcGIS for Power Automate be used with Enterprise yet? I heard there was supposed to be something in place at the end of 2022.

78 Replies
ZachBodenner
MVP Regular Contributor

Has anyone else gone through the connection setup and run into the Invalid redirect_uri?

ZachBodenner_0-1716308492561.png

 

I've created the application in portal and added the redirect URIs as noted here in the documentation
https://doc.arcgis.com/en/microsoft-365/latest/power-automate/set-up-the-arcgis-enterprise-connector...

Anything I'm missing?

0 Kudos
PatriceLabbé
Occasional Contributor

Did you accidentally use http(s):// ?

0 Kudos
ZachBodenner
MVP Regular Contributor

At first, but then I noticed the warning to omit it and did so. That screenshot shows after removing it.

0 Kudos
AnthonyLatini
Esri Contributor

@ZachBodenner - Thank you for reaching out on this issue and posting a screenshot. Our documentation is slightly out of date as the deployment of the connector and our documentation is slightly out of sync. 

 

Can you add the following URLs to your Redirect URL list? Let me know if this solves it! 

 

        https://global.consent.azure-apim.net/redirect/arcgisenterprise
        https://global.consent.azure-apihub.us/redirect/arcgisenterprise

 

ZachBodenner
MVP Regular Contributor

That solves the issue thanks Anthony! 

0 Kudos
ZachBodenner
MVP Regular Contributor

I do have another question though: I went through a very simple workflow trying to test this out and was getting some unexpected behavior. I set it up by choose a feature layer for the trigger A Record is Updated in a Feature Layer, and the action Send an Email Notification (Vs) (Outlook 365). I'm trying just to send it to myself with simple subject and body text. when testing the trigger by editing a feature in that feature layer, the test just keeps spinning. Is there additional config we need to do on a layer to prepare it for use in Power Automate?

0 Kudos
ISP_graynic
Occasional Contributor II

Has anyone experienced this error when trying to log-in to your Portal with the Connector? I was redirected to our Portal log-in and was able to log-in, but then I got this screen and was unable to actually create the Connector in Power Automate. @AnthonyLatini @ZachBodenner 

Screenshot 2024-06-11 at 1.15.48 PM.png

0 Kudos
AnthonyLatini
Esri Contributor

@ISP_graynic - Thank you for reaching out and posting the screenshot. I might have seen this error before and it could be one of the following issues (potentially): 

1. The Enterprise portal is rejecting the sign in from an "unauthorized" application. Ensure that the following redirect URLs are added to the application: 

 

urn:ietf:wg:oauth:2.0:oob
https://global.consent.azure-apim.net/redirect
https://global.consent.azure-apim.net/redirect/arcgisenterprise
https://global.consent.azure-apihub.us/redirect/arcgisenterprise

 

2. Is the Portal you are connecting to HTTP? Or are there any rules where HTTP is allowed? When setting up test portals, I noticed there were issues when the portal's security certificate was not valid. 

What version of ArcGIS Enterprise are you running? 

0 Kudos
ISP_graynic
Occasional Contributor II

Thanks for the response @AnthonyLatini! I verified that those redirect URL's were added. Our Portal is HTTPS, but I'm not sure about any rules with HTTP. We are running 11.2. It connects to our Portal to log-in and even seems to accept the user credentials, but then errors out as it's loading.

0 Kudos