Automated creation of the Avolve feature service and ArcGIS authentication credentials
| Purpose: Use this guide to deploy the ArcGIS resources required by the Avolve integration through the ArcGIS Pro deployment model. The model coordinates feature service creation, application authentication setup, and user authentication setup in a single workflow. |
1. Overview
The Avolve ArcGIS Integration Configuration Tool is an ArcGIS Pro ModelBuilder workflow designed to simplify the initial ArcGIS configuration required for an Avolve deployment. Instead of creating each ArcGIS resource independently, the model runs the required tools in sequence and produces the resources and identifiers needed for the Avolve configuration.
The deployment workflow creates three primary ArcGIS resources:
- A hosted feature service used by Avolve to store and expose project/case information.
- An application-authentication credential used for server-to-server or application-level access.
- A user-authentication OAuth credential used when a signed-in ArcGIS user must authorize access.
| Workflow: Run one ArcGIS Pro model → create the feature service → create the application-authentication credential → create the user-authentication credential → copy the resulting configuration values into the Avolve product. |
What the model does automatically
The model chains the individual deployment tools together so that the outputs from earlier steps can be used by later steps. The user runs the model once rather than manually executing the feature-service, application-credential, and user-credential tools separately.
2. Before You Begin
Before running the, tool confirm the following:
- ArcGIS Pro is installed and the Avolve deployment toolbox/model is available in the project.
- ArcGIS Pro is signed in to the ArcGIS Online organization or ArcGIS Enterprise portal that will host the Avolve resources.
- The signed-in account has sufficient privileges to create hosted content, create the required developer/OAuth credential items, and share content at the intended level. For information on creating an appropriate role, please see this ARTICLE.
- You know the redirect URI or redirect URIs required by the Avolve environment for user authentication.
- You know whether the deployment will use the default ArcGIS geocoding service or a custom locator/geocoding service.
- If a default web map already exists, have its ArcGIS item ID available for the final Avolve configuration.
| Important: Create the resources in the same ArcGIS organization/portal that Avolve will use. Verify the active portal in ArcGIS Pro before running the model. |
3. Open the Deployment Model
- Open the ArcGIS Pro project that contains the Avolve deployment toolbox.
- Open the Catalog View, and expand Toolboxes.
- Select AvolveGISTools. Select the appropriate Avolve Product tool set.
- Open the toolset that corresponds to your product version. For example, if on DigEplan 7.3, select the DigEplan tool set and open ArcGIS Integration Configuration – DigEplan 7.3
- Review the model parameters before selecting Run.
4. Configure the Model
Use the descriptions below to identify the corresponding inputs.
| Parameter | What to enter | Purpose |
| Feature Service / Service Name | Enter the deployment-specific service name, using the naming convention required by your organization. | Names the hosted feature service created for Avolve. |
| Delete Existing Service | Set to True if overwriting a previous layer. | Removes existing layer with the same name. |
| Application Credential Title | Use a recognizable deployment-specific name. | Identifies the application-authentication credential item. |
| Application Credential Description | A summary description of the purpose of the credential item. | |
| User Credential Title | Use a recognizable deployment-specific name. | Identifies the OAuth credential used for user sign-in. |
| User Credential Description | A summary description of the purpose of the credential item. | |
| Redirect URI(s) | Enter the exact Avolve OAuth redirect URI(s) supplied for the environment. | Allows ArcGIS to return the authenticated user to the approved Avolve endpoint. |
| Redirect URI: OAuth redirect URIs must match exactly. Differences in protocol, hostname, path, port, or trailing characters can cause an Invalid redirect URI error. |
5. Run the Automated Deployment
After the parameters have been reviewed, select Run. The model performs the deployment in sequence. Relevant information is output in the geoprocessing messages pane.
Stage 1 — Create the Feature Service
The first stage creates the hosted feature service used by the Avolve integration. The service contains the layer structure and schema expected by the integration and is placed in the configured ArcGIS content location.
Stage 2 — Create Application Authentication
The second stage creates the application-authentication credential. This credential supports application-level access and produces the client information that Avolve uses for app-based authentication.
| Security: The application client secret is sensitive. Store and transmit it using your organization's approved secret-management process. Do not place it in screenshots, public documentation, source control, or unsecured notes. |
Stage 3 — Create User Authentication
The final stage creates the user-authentication OAuth credential. This credential provides the client ID used by Avolve to initiate an ArcGIS user sign-in and authorization flow.
The configured redirect URI determines where ArcGIS is permitted to return the user after authentication. If the URI configured in Avolve does not match the URI registered with the ArcGIS credential, authentication will fail.
6. Confirm the Created ArcGIS Resources
After the model reports a successful run, open the ArcGIS portal and confirm that the expected resources exist.
- Hosted feature service — confirm the service and expected layer are present and accessible.
- Application-authentication credential — confirm the item exists and has the expected privileges/target access.
- User-authentication credential — confirm the item exists and contains the correct redirect URI(s).
| Expected result: A successful deployment leaves the ArcGIS organization with the feature service plus two credential items. These resources supply the IDs, secret, URLs, and authentication configuration required by Avolve. |
7. Collect the Avolve Configuration Values
Once the ArcGIS resources are created, collect the values below. These are the primary ArcGIS settings used to configure the Avolve environment.
| Parameter | What to enter | Purpose |
| Default Map ID | Item ID of the ArcGIS web map Avolve should load by default. | Connects Avolve to the intended map experience. |
| User Auth App Client ID | Client ID from the user-authentication OAuth credential. | Used to initiate user-based ArcGIS authentication. |
| App Auth App Client ID | Client ID from the application-authentication credential. | Identifies the application for app-based authentication. |
| App Auth App Client Secret | Client secret from the application-authentication credential. | Authenticates the application. Treat as a secret. |
| Portal URL | Base URL for the ArcGIS organization/portal used by the deployment. | Directs Avolve authentication and ArcGIS requests to the correct environment. |
| Geocoding Service Item URL | Leave blank when the configured/default ArcGIS geocoding behavior is intended; otherwise enter the supported custom locator/geocoding service URL required by the deployment. | Overrides the default geocoding service when a custom locator is required. |
8. Configure Avolve
- Open the ArcGIS/GIS integration settings for the target environment.
- Enter the Default Map ID.
- Enter the User Auth App Client ID from the user-authentication credential.
- Enter the App Auth App Client ID and App Auth App Client Secret from the application-authentication credential.
- Enter the Portal URL for the ArcGIS environment.
- If the deployment uses a custom geocoder, enter the Geocoding Service Item URL. Otherwise, leave the field blank when the environment is intended to use its default geocoding behavior.
| Tip: Copy ArcGIS item IDs and client IDs directly from their source rather than typing them manually. Item IDs and client IDs are easy to mistype and generally provide no visual indication of an error until the integration is exercised. |
9. Validate the Deployment
Perform a basic validation after the ArcGIS and Avolve settings are saved:
- Open the GIS/map experience and confirm that the configured default map loads.
- Exercise the user sign-in flow and confirm that the ArcGIS authorization page opens and returns successfully to Avolve.
- Create a case/project. Confirm that the appropriate data is written to the feature layer.
- If geocoding is enabled, test a known address and confirm that the expected geocoding service is being used.
10. Troubleshooting
| Symptom | Likely cause | What to check |
| Credential creation fails | The signed-in user lacks privileges, the target configuration is invalid, or the portal does not support the requested credential workflow. | Confirm portal version/capability, user role, privileges, and active portal. |
| Feature service already exists | The requested service name is already in use or a prior deployment created the resource. | Locate the existing service and determine whether to reuse it or rerun with the correct deployment name. |
| Wrong ArcGIS environment receives the resources | ArcGIS Pro was connected to the wrong active portal. | Check ArcGIS Pro > Settings > Portals before rerunning any deployment step. |
Comments
0 comments
Please sign in to leave a comment.