Jaa


ArcGIS Enterprise

ArcGIS connects your automated workflows to resources from your ArcGIS organization. Access geoenrichment, geocoding, and routing services to add demographics and location information to your data. You can also use ArcGIS to create feature layers and fetch data from existing feature layers in your ArcGIS organization.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Esri Power Automate Support
URL https://community.esri.com/t5/arcgis-for-power-automate-questions/bd-p/arcgis-for-power-automate-questions
Email powerautomate@esri.com
Connector Metadata
Publisher Esri, Inc.
Website https://www.esri.com/en-us/arcgis/products/arcgis-for-microsoft-365/
Privacy policy https://www.esri.com/en-us/privacy/privacy-statements/privacy-statement
Categories IT Operations; Business Intelligence

The ArcGIS Enterprise connector helps you gain location intelligence by leveraging location based services available within your ArcGIS Enterprise organization to enhance understanding, insight, and support data-driven decision-making. It provides the capabilities to spatially enable information from external data sources, and access location-based details from hosted feature services.

Documentation

For additional documentation and information please visit Get started with ArcGIS Connectors for Power Automate

Prerequisites

In order to use the ArcGIS Enterprise connector, your organization must be running ArcGIS Enterprise 11.0 or higher. The ArcGIS Enterprise instance must also be publicly available and not behind any firewall. You must have an ArcGIS Enterprise login.

How to get an ArcGIS account

If you don't have an ArcGIS Enterprise organization, you can sign up for a new organization.

If your team / group / organization already has an ArcGIS Enterprise organization, contact your administrator or IT department to request to be added or invited to the ArcGIS Enterprise organization.

Get started with ArcGIS connector

Create a connection or add a new connection.

  1. ArcGIS Enterprise URL - Enter the portal url in the following format - organization.domain.com/enterprise. Do not include http or https.
  2. Client ID - Enter the Client or Application ID of the application.
  3. App Secret - Enter Client or Application Secret of the application. See Get started with ArcGIS Connectors for Power Automate for additional details.

To use most of the actions, the role that the ArcGIS account belongs to needs certain privilege / permission.

Authentication

Both Microsoft and Esri have strict security requirements for maintaining and refreshing account information. To remain logged in, a flow should run at least once within the given token timeout period.

Limitations

Name |  Limit
--- | --- |
Get data from Feature Layer | 1000 rows per request without geometry
Get data from Feature Layer | 150 rows per request with geometry

Common errors and remedies

Missing token or incorrect login credentials. Check your connection and credentials and try again or Fetching data from {organization.domain.com/enterprise} failed.This is usually caused by an invalid authentication token that has expired. Please reauthenticate to continue.: If this error is received from a connector action, then the ArcGIS token has expired. Please initiate sign-in to ArcGIS to reset the token.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
ArcGIS Enterprise URL string organization.domain.com/enterprise True
Client ID string Client (or Application) ID of your application True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Add attachment

Add an attachment to record in a feature layer.

Convert date and time format

Convert to and from Epoch Unix timestamp and string format.

Create a record in a feature layer

This action adds a new record to a feature layer.

Create feature layer

Create a feature layer in ArcGIS using data from an existing source, such as a SharePoint list. A feature layer is a grouping of similar geographic features, for example, buildings, parcels, cities, roads, and earthquake epicenters. Features can be points, lines, or polygons (areas). Feature layers are most appropriate for visualizing data on top of a basemap.

Create point geometry

Create point geometry object from Longitude (X) and Latitude (Y)

Create report

Create report

Delete a record from feature layer

This action deletes one or many records from a feature layer using IDs.

Delete attachment

Delete an attachment from a record in your feature layer.

Fetch updates, changes, or deletions from feature layer

Fetch the updates, changes, or deletions that were made to your selected feature layer. This action is used in conjunction with the trigger on your feature service.

Find address candidate

Locate a single address using a geocode service resource. This resource provides information about candidates, including the address, location, and match score. The result of this operation is a list of address candidates.

Find address candidates

Locate a single address using a geocode service resource. This resource provides information about candidates, including the address, location, and match score. The result of this operation is a list of address candidates.

Geocode addresses

Find multiple (batch) addresses, place-names, and businesses and then display that information on a map. This data can be added to an existing dataset or you can create a new one. This data can be used to create new maps in all ArcGIS for Microsoft 365 products.

Geoenrichment

Get facts about a location or area. Using the GeoEnrichment service, you can get information about the people, places, and businesses in a specific area or within a certain distance or drive time from a location.

Get attachment

Get an attachment from a record in your feature layer.

Get attachment from URL

Get an attachment from a record in your feature layer by using the attachment URL.

Get data from feature layer

Connect to a feature layer in ArcGIS and pull its data and attributes into your existing dataset or create a new one. This data can be used to create new maps in all ArcGIS for Microsoft 365 products.

Get geometry from feature layer [DEPRECATED]

Get geometry or boundary information from a feature layer and export it as Esri JSON or to a shape column in your dataset. This data can be used in all ArcGIS for Microsoft 365 products.

Get surveys

This action retrieves a list of surveys owned by the logged in-user

Point to point routing

Create point-to-point routes. Points in a route can visited in the order you specify or in the order that minimizes overall travel time or distance. Routes represent the quickest or shortest path along roads to visit stops or point locations.

Query attachment

Search for an attachment associated with a record in a feature layer.

Update a record in a feature layer

This action updates an existing record in a feature layer.

Update attachment

Update an attachment to record in a feature layer.

Add attachment

Add an attachment to record in a feature layer.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Record ID
objectId True number

Object ID of the record associated with the attachment

Attachment name
attachmentName True string

Name of the file that will be attached

File content
data True binary

File content from another action such as 'Get file content' (OneDrive, Share Point)

Keywords
keywords string

Keywords used to identify the attachment

Returns

Name Path Type Description
Object ID
objectId number
Global ID
globalId string
Success
success boolean

Convert date and time format

Convert to and from Epoch Unix timestamp and string format.

Parameters

Name Key Required Type Description
Date Time
dateTime True string

Time as Unix epoch in seconds or milliseconds or as a string.

Returns

Name Path Type Description
Date and time in string format
stringTime string

Date and time in string format

Date and time as a Unix time stamp in seconds
unixTimeStampSeconds number

Date and time as a Unix time stamp in seconds

Date and time as a Unix time stamp in milliseconds
unixTimeStampMilliseconds number

Date and time as a Unix time stamp in milliseconds

Create a record in a feature layer

This action adds a new record to a feature layer.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

data
data True dynamic

Returns

Name Path Type Description
Create operation success status
success boolean

Create status

Object ID
objectId number

Object ID of the record created

Global ID
globalId string

Global ID of the record created

Create feature layer

Create a feature layer in ArcGIS using data from an existing source, such as a SharePoint list. A feature layer is a grouping of similar geographic features, for example, buildings, parcels, cities, roads, and earthquake epicenters. Features can be points, lines, or polygons (areas). Feature layers are most appropriate for visualizing data on top of a basemap.

Parameters

Name Key Required Type Description
Title
layerTitle True string

Title of the new feature layer

Location type
locationType string

Type of location information in the columns

body
body True dynamic

Returns

Name Path Type Description
Service item ID
serviceItemId string

Service item ID

Service URL
serviceurl string

Service URL

Service type
type string

Service type created

Location type
locationType string

Location type used to match location

Create point geometry

Create point geometry object from Longitude (X) and Latitude (Y)

Parameters

Name Key Required Type Description
Longitude (X)
x True number

Longitude (X)

Latitude (Y)
y True number

Latitude (Y)

Spatial reference system
srs string

Select spatial reference system

Returns

Name Path Type Description
Geometry
geometry object

Point geometry object

Create report

Create report

Parameters

Name Key Required Type Description
Survey
surveyItemId True string

Select a survey from your ArcGIS content

Feature layer
featureLayerUrl True string

Select a Survey123 feature layer from your ArcGIS content

Report template
templateItemId True string

Select a Survey123 report template

Feature object ID
objectIds string

Select features using ObjectIDs; separate multiple ObjectIDs with a comma

Feature WHERE clause
where string

Input a WHERE clause to filter records in your search

UTC offset
utcOffset string

Apply an offset for your time zone; e.g. +02:00 or -09:00

Report name
outputFileName string

Enter a name for your report

Format
outputFormat string

File format of the generated report

Returns

Name Path Type Description
jobId
jobId string

ID of job that generates feature reports

jobStatus
jobStatus string

Status of job that generates feature reports

submitted
submitted integer

Timestamp of when a job was submitted in milliseconds

completed
completed integer

Timestamp of when a job was completed in milliseconds

title
resultInfo.title string

The name of the report

totalCount
resultInfo.totalCount integer

Total counts of feature reports generated

succeededObjectIds
resultInfo.succeededObjectIds array of integer

ObjectIDs that were successfully added to the report

failedObjectIds
resultInfo.failedObjectIds array of

ObjectIDs that failed to add to the report

details
resultInfo.details array of

Details of the generated report

resultFiles
resultInfo.resultFiles array of object

Output of all reports from a completed job

objectIds
resultInfo.resultFiles.objectIds array of integer

objectIds

name
resultInfo.resultFiles.name string

name

size
resultInfo.resultFiles.size integer

size

status
resultInfo.resultFiles.status string

status

url
resultInfo.resultFiles.url string

url

objectIds
resultInfo.resultFile.objectIds array of integer

ObjectIDs that were successfully added to the first report file in a list of multiple reports

name
resultInfo.resultFile.name string

The name of the first report file in a list of multiple reports

size
resultInfo.resultFile.size integer

Size of the first report file in a list of multiple reports

status
resultInfo.resultFile.status string

Status of the first report file in a list of multiple reports

url
resultInfo.resultFile.url string

URL for the first report file in a list of multiple reports

jobType
inputInfo.jobType string

The type of job running for an action; e.g. createReport

featureLayerUrl
inputInfo.parameters.featureLayerUrl string

The URL of the feature layer associated with the survey

objectIds
inputInfo.parameters.queryParameters.objectIds string

The objectID(s) entered to include in the report

templateItemId
inputInfo.parameters.templateItemId string

The ID of the report template

surveyItemId
inputInfo.parameters.surveyItemId string

The itemID of the survey chosen in Create Report action

portalUrl
inputInfo.parameters.portalUrl string

The portal URL associated with the survey and report

outputFormat
inputInfo.parameters.outputFormat string

The format of the generated report

Delete a record from feature layer

This action deletes one or many records from a feature layer using IDs.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Unique ID field
idField True string

Select an unique ID field in the feature layer

Delete records
deletedIds string

A list or single value of IDs used to identify the deleted items. The IDs provided must match the IDs used in the feature layer. Multiple IDs can be added and separated by a comma.

Returns

Name Path Type Description
array of object
Delete status
success boolean

Delete operation success status

Object ID
objectId number

Object ID of the record deleted

Global ID
globalId string

Global ID of the deleted record

Delete attachment

Delete an attachment from a record in your feature layer.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Record ID
objectid True number

Object ID of the record associated with the attachment.

Attachment ID
attachmentId True number

The ID of the attachment in a record from your feature layer.

Returns

Name Path Type Description
array of object
Object ID
objectId number
Global ID
globalId string
Success
success boolean

Fetch updates, changes, or deletions from feature layer

Fetch the updates, changes, or deletions that were made to your selected feature layer. This action is used in conjunction with the trigger on your feature service.

Parameters

Name Key Required Type Description
Get changes from
changesUrl True string

Select the Changes URL option from the Dynamic content pane.

Feature layer
userLayer True string

Name of the feature layer that was changed, updated, or deleted.

Features created
featuresCreated string

Return features created.

Features updated
featuresUpdated string

Return features updated.

Features deleted
featuresDeleted string

Return features deleted.

Return attachments
returnAttachments string

Return attachments.

Returns

The outputs of this operation are dynamic.

Find address candidate

Locate a single address using a geocode service resource. This resource provides information about candidates, including the address, location, and match score. The result of this operation is a list of address candidates.

Parameters

Name Key Required Type Description
Store results?
forStorage True boolean

Specifies whether the results of the operation will be persisted.

Address
address string

Address

Region
region string

Region

City
city string

City

ZIP or postal code
postal string

ZIP or postal code

Country
country string

Select a country

Match type
locationType string

Specifies whether to use rooftop or street entrance location for the geometry output

Spatial reference system
srs string

Select spatial reference system

Returns

Name Path Type Description
Full address
address string

The locations of your data listed either as single line or multi-line results

Country code
countryCode string

The country where the locations are based

City
city string

The city where the locations are based

Longitude (X)
Geometry.x number

Longitude (X)

Latitude (Y)
Geometry.y number

Latitude (Y)

Score
score number

Match score.

Find address candidates

Locate a single address using a geocode service resource. This resource provides information about candidates, including the address, location, and match score. The result of this operation is a list of address candidates.

Parameters

Name Key Required Type Description
Geocoder
geocoder True string

Select an available geocoder.

body
body True dynamic
Match type
locationType string

Specifies whether to use rooftop or street entrance location for the geometry output

Spatial reference system
srs string

Select spatial reference system

Returns

The outputs of this operation are dynamic.

Geocode addresses

Find multiple (batch) addresses, place-names, and businesses and then display that information on a map. This data can be added to an existing dataset or you can create a new one. This data can be used to create new maps in all ArcGIS for Microsoft 365 products.

Parameters

Name Key Required Type Description
Geocoder
geocoder True string

Select an available geocoder

Addresses
addresses True string

Array of addresses with well formed fields

Returns

The outputs of this operation are dynamic.

Geoenrichment

Get facts about a location or area. Using the GeoEnrichment service, you can get information about the people, places, and businesses in a specific area or within a certain distance or drive time from a location.

Parameters

Name Key Required Type Description
Country
country True string

Select a country to see available data collections

Data collection
datacollection True string

Select a data collection

Variable
parameter True string

Select a variable from the collection

Buffer type
buffertype True string

Type of buffer around the location

body
body True dynamic

Returns

Name Path Type Description
Value of the variable
value number

Geoenrichment variable value

Name of the variable
parameterName string

The name of the variable that is being analyzed during the geoenrichment process.

Units
units string

Parameter units

Get attachment

Get an attachment from a record in your feature layer.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Object ID
objectid True number

Object ID of the record associated with the attachment

Attachment
attachmentId True number

Select attachment name or enter the attachment ID

Returns

The content of the attachment.

Attachment contents
binary

Get attachment from URL

Get an attachment from a record in your feature layer by using the attachment URL.

Parameters

Name Key Required Type Description
Attachment Url
attachmentUrl True string

The URL associated with the attachment in a record in your feature layer.

Returns

The content of the attachment.

Attachment contents
binary

Get data from feature layer

Connect to a feature layer in ArcGIS and pull its data and attributes into your existing dataset or create a new one. This data can be used to create new maps in all ArcGIS for Microsoft 365 products.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Available fields
field string

Select an attribute from the ArcGIS feature layer

Comparison type
comparison string

Search for values using a comparison operator such as "equal to" or "greater than"

Output format
format True string

Select return format type

Search parameter value
parameter string

Enter a value to search

Where
where string

Input a WHERE clause to filter records in your search

Return geometry
returnGeometry boolean

Return geometry

Starting count
offset number

When batching, this value is the starting point of the query

Returns

The outputs of this operation are dynamic.

Get geometry from feature layer [DEPRECATED]

Get geometry or boundary information from a feature layer and export it as Esri JSON or to a shape column in your dataset. This data can be used in all ArcGIS for Microsoft 365 products.

Parameters

Name Key Required Type Description
Country
searchterm True string

Select a country to see available data collections

Feature layer
layer True string

Select a feature layer

Field
field True string

Select a field

Search parameter
parameter True string

Enter the search parameter

Second Field
field2 string

Select a field

Second search parameter
parameter2 string

Enter the second search parameter

Returns

Name Path Type Description
Geometry object
data object

Geometry object as a JSON string

Get surveys

This action retrieves a list of surveys owned by the logged in-user

Returns

Point to point routing

Create point-to-point routes. Points in a route can visited in the order you specify or in the order that minimizes overall travel time or distance. Routes represent the quickest or shortest path along roads to visit stops or point locations.

Parameters

Name Key Required Type Description
Routing stops
stops True string

Stops as Latitude (Y) and Longitude (X), features, or feature service

Travel mode
travelModeName string

Choose the mode of transportation for the analysis

Find best route
findBestSequence boolean

Specify whether the service should reorder stops to find the optimized route

Preserve first stop
preserveFirstStop boolean

Indicate whether the service should keep the first stop fixed when reordering the stops

Return directions
returnDirections boolean

Specify whether the service should generate driving directions for each route

Returns

Name Path Type Description
Directions
Directions array of object
Direction text
Directions.text string
Name
Name string

Name of the route

Distance in kilometers
Kilometers number

Route distance in kilometers

Distance in miles
Miles number

Route distance in miles

Travel time
TravelTime number

Estimated travel time in minutes

Route geometry
Geometry object

Geometry object of the route

Query attachment

Search for an attachment associated with a record in a feature layer.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Record ID
objectId True number

Object ID of the record associated with the attachment

Keywords
keywords string

Keywords used to identify the attachment

Returns

Name Path Type Description
array of object
Attachment Object ID
id number
Attachment Global ID
globalId string
Attachment name
name string
Content-type
contentType string
Attachment size
size number
Keywords
keywords string
Attachment URL
url string

Update a record in a feature layer

This action updates an existing record in a feature layer.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Unique ID field
idField True string

Select an unique ID field in the feature layer

data
data True dynamic

Returns

Name Path Type Description
Update operation success status
success boolean

Update status

Object ID
objectId number

Object ID of the record updated

Global ID
globalId string

Global ID of the updated record

Update attachment

Update an attachment to record in a feature layer.

Parameters

Name Key Required Type Description
Layers in
contentFilter True string

When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content.

Feature layer
userLayer True string

Select a feature layer from your ArcGIS content

Object ID
objectid True number

Object ID of the record associated with the attachment

Attachment to be updated
attachmentId True number

Select updated attachment's name or enter the attachment ID

Updated attachment name
attachmentName True string

Name of the updated file

File content
data True binary

File content from another action such as 'Get file content' (OneDrive, Share Point)

Returns

Name Path Type Description
Object ID
objectId number
Global ID
globalId string
Success
success boolean

Triggers

When a record is created in a feature layer

This action triggers a flow when a record is created in your feature layer.

When a record is deleted from a feature layer

This action triggers a flow when a record is deleted in a feature layer.

When a record is updated in a feature layer

This action triggers a flow when a record is updated in a feature layer.

When a survey response is submitted

Triggers a new flow when a survey response is submitted by a user

When an attachment is created

This action triggers a flow when an attachment is created in a record in your feature layer.

When an attachment is deleted

This action triggers a flow when an attachment is deleted in your feature layer.

When an attachment is updated

This action triggers a flow when an attachment is updated in your feature layer.

When a record is created in a feature layer

This action triggers a flow when a record is created in your feature layer.

Parameters

Name Key Required Type Description
Feature layer
userLayer True string

Feature layers owned by the user that have changes tracking enabled.

Returns

The outputs of this operation are dynamic.

When a record is deleted from a feature layer

This action triggers a flow when a record is deleted in a feature layer.

Parameters

Name Key Required Type Description
Feature layer
userLayer True string

Feature layers owned by the current user. Layers listed here have the "track changes" option enabled.

Returns

The outputs of this operation are dynamic.

When a record is updated in a feature layer

This action triggers a flow when a record is updated in a feature layer.

Parameters

Name Key Required Type Description
Feature layer
userLayer True string

Feature layers owned by the current user. Layers listed here have the "track changes" option enabled.

Returns

The outputs of this operation are dynamic.

When a survey response is submitted

Triggers a new flow when a survey response is submitted by a user

Parameters

Name Key Required Type Description
Survey
surveyId True string

Select a survey from your ArcGIS content

events
events True array of string

events

Include portal info
includePortalInfo True boolean

Include the portal information in the payload, such as the URL of the portal

Include user info
includeUserInfo True boolean

Include the user information in the payload, such as the name and email address

Include survey info
includeSurveyInfo True boolean

Include the survey information in the payload, such as the survey title and itemID

Include submitted record
includeServiceRequest True boolean

Include the record information in the payload, such as the attributes and geometry of the feature

Include server response
includeServiceResponse True boolean

Include the server response in the payload

Returns

The outputs of this operation are dynamic.

When an attachment is created

This action triggers a flow when an attachment is created in a record in your feature layer.

Parameters

Name Key Required Type Description
Feature layer
userLayer True string

Feature layers owned by the user that have changes tracking enabled.

Returns

The outputs of this operation are dynamic.

When an attachment is deleted

This action triggers a flow when an attachment is deleted in your feature layer.

Parameters

Name Key Required Type Description
Feature layer
userLayer True string

Feature layers owned by the user that have changes tracking enabled.

Returns

The outputs of this operation are dynamic.

When an attachment is updated

This action triggers a flow when an attachment is updated in your feature layer.

Parameters

Name Key Required Type Description
Feature layer
userLayer True string

Feature layers owned by the user that have changes tracking enabled.

Returns

The outputs of this operation are dynamic.

Definitions

binary

This is the basic data type 'binary'.