Set up the ArcGIS Enterprise connector

ArcGIS Connectors for Power Automate includes a connector that accesses your ArcGIS Enterprise account to perform certain actions. To connect Microsoft Power Automate to your ArcGIS Enterprise account, you must create an application in your ArcGIS Enterprise organization to link to the connector. To use the ArcGIS Enterprise connector, your organization must be running ArcGIS Enterprise 11.0 or later. The organization must also be public-facing and able to receive requests over the internet. ArcGIS Connectors for Power Automate do not support connections to disconnected ArcGIS Enterprise deployments or configurations using a Microsoft on-premises data gateway. See the Esri Developer topics about OAuth 2.0 authentication and Register an OAuth application to learn more.

After the application is set up, you can connect to ArcGIS Enterprise in one of two ways, depending on whether you connect before beginning a flow or while in a flow.

ArcGIS Enterprise connector main page

Create an application in ArcGIS Enterprise

To create an application in ArcGIS Enterprise, complete the following steps:

  1. Sign in to your ArcGIS Enterprise organization.
    Note:
    Ensure that your account has the correct privileges to create content.
  2. On the My Content tab on the content page, click New item and click Application.

    The New item menu appears.

  3. Under Application type, choose Other application.
    Note:

    In Enterprise 11.2 and later, the application setup process may ask for a URL. If prompted, enter https://make.powerautomate.com/.

  4. Click Next.
  5. Provide a title for the application.
  6. Optionally, select a folder, and provide tags and a summary.
  7. Click Save.

    The application's overview page appears.

The application appears in your content.

Get information for the connector

To ensure that Power Automate connects with the necessary application in ArcGIS Enterprise, configure the application's registration settings and get information for the Power Automate connector.

To configure the application and get information, complete the following steps:

  1. Verify that you are signed in.
    Note:
    Ensure that your account has the correct privileges to create content.
  2. On the My Content tab on the content page, click the title of the application you created in the previous section.

    The application's overview page appears.

  3. With the application open, click Settings on the toolbar.
  4. In the Application section, under App Registration, click Update.

    The Registered Info pane appears.

  5. Add the following redirect URIs 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
    Registered Info pane with redirect URI added
    Note:

    These URIs may already be listed.

  6. Click Update.

    The application appears with a list of updated redirect URIs.

  7. Note the App Secret and App ID values. You will use them when creating the connection in Power Automate.

Create a connection to ArcGIS Enterprise in Power Automate

There are two ways to create a connection between a connector and the ArcGIS Enterprise application in Power Automate: before beginning a flow or while in a flow.

Connect before beginning a flow

To connect to ArcGIS Enterprise from Power Automate before beginning a flow, complete the following steps:

  1. Open Power Automate and log in with your Microsoft account.
  2. Expand the Data section, and click Connections.
  3. Click New connection.
  4. Using the search tool, search for ArcGIS.
  5. Click the ArcGIS Enterprise connector.

    An information window appears.

  6. Click Create.

    The ArcGIS Enterprise window appears.

  7. Provide the following information, some of which you noted above:
    ArcGIS Enterprise connector window
    • ArcGIS Enterprise URL—The URL of your ArcGIS organization's homepage.
      Note:

      Do not include http:// or subdomain pages. For example, if the URL is http://webadaptorhost.domain.com/webadaptorname/home, enter the URL as webadaptorhost.domain.com/webadaptorname. See the ArcGIS Enterprise topic about Portal for ArcGIS URLs for more information.

    • Client ID—The unique identifier for the application you created to link to the ArcGIS Enterprise connector. The Client ID value is on the application's Settings page under App ID.
    • App Secret—The security code that is also on the application's Settings page. Under App Secret, click Show Secret to get the code for the application.
  8. Once the required fields are populated, click Create.

    A login prompt appears.

  9. Sign in with your ArcGIS Enterprise account information.

    You can now use the actions in Power Automate that are available with this connection.

Connect while in a flow

To connect to ArcGIS Enterprise while in a flow, complete the following steps:

  1. Open Power Automate and log in with your Microsoft account.
  2. Click Create in the pane on the left.
  3. Click Instant cloud flow.

    A new window appears.

  4. Provide the flow name and click Manually trigger a flow.
  5. Click Create.

    The flow creation page appears.

  6. Click New step.

    The Choose an operation pane appears.

  7. In the Choose an operation pane, search for ArcGIS and click the ArcGIS Enterprise connector from the results.
  8. Click the desired action from the list of available ArcGIS Enterprise actions.

    A connection window appears.

  9. Provide the following information, some of which you noted above:
    • ArcGIS Enterprise URL—The URL of your ArcGIS organization's homepage.
      Note:

      Do not include http:// or subdomain pages. For example, if the URL is http://webadaptorhost.domain.com/webadaptorname/home, enter the URL as webadaptorhost.domain.com/webadaptorname. See the ArcGIS Enterprise topic about Portal for ArcGIS URLs for more information.

    • Client ID—The unique identifier for the application you created to link to the ArcGIS Enterprise connector. The Client ID value is on the application's Settings page under App ID.
    • App Secret—The security code that is also on the application's Settings page. Under App Secret, click Show Secret to get the code for the application.
  10. Once the required fields are populated, click Sign in.

    An ArcGIS login prompt appears.

  11. Sign in with your ArcGIS Enterprise account information.

    You can now use the ArcGIS Enterprise actions in Power Automate that are available with this connection.