Setting Up the Ironclad Power Automate Connector
Overview
The Ironclad Power Automate Connector is available as an open-source solution that must be manually uploaded to your Power Platform environment. This guide walks you through downloading the connector from GitHub and configuring it in Power Automate.
Prerequisites
Power Platform Requirements
- Microsoft Account: You need a Microsoft account with access to Power Automate
- Power Automate or Power Apps Premium License: Custom connectors require a premium license
- Environment Maker Role: Required to create and manage custom connectors
- Admin Approval: May be needed for custom connector deployment
- Data Loss Prevention Policy: Must allow custom connectors in your environment
Ironclad Requirements
- OAuth Client Configuration: Before uploading the connector, ensure you have configured an OAuth app in Ironclad:
- Navigate to Company Settings → API in Ironclad
- Create a new OAuth application
- Note your Client ID and Client Secret (you'll need these later)
- Leave the Redirect URI blank for now (you'll update this after uploading the connector)
- Select Authorization Code for the Grant Type
- For OAuth Scopes, select all scopes to ensure full access
- Detailed instructions for setting up the OAuth app can be found here: https://developer.ironcladapp.com/reference/register-oauth-client
Development Tools
- Visual Studio Code: Download and install from https://code.visualstudio.com/
- Power Platform CLI: Install the Power Platform CLI tools
- Git: For cloning the repository
Uploading the Custom Connector to Power Automate
Step 1: Download the Connector from GitHub
- Open your terminal or command prompt
- Clone the repository:
bash
git clone https://github.com/maxhenkentech/MSPP-IroncladCLM.git
- Navigate to the cloned directory:
bash
cd MSPP-IroncladCLM
Step 2: Open in Visual Studio Code
- Launch Visual Studio Code
- Open the cloned repository folder
- Ensure all required extensions are installed (VS Code will prompt you if any are missing)
Step 3: Upload the Connector to Power Platform
3.1 Authenticate with Power Platform
- Open the terminal in VS Code (View → Terminal)
- Run the authentication command:
bash
paconn login
- This will provide a URL and authentication code
- Copy the URL and open it in your browser
- Enter the provided code when prompted
- Sign in with your Microsoft account that has access to Power Automate
3.2 Upload the Connector
- In the VS Code terminal, run the upload script:
bash
paconn create --api-prop apiProperties.json --api-def apiDefinition.swagger.json --icon icon.
png --scrip script.csx --secret dummy
Note: Replace [YOUR-ENVIRONMENT-ID] with your actual environment ID, or omit the environment parameter to be prompted for selection
- If prompted, select your Power Platform environment from the list
- The upload process will take approximately 30-60 seconds
- Wait for the confirmation message that the connector has been successfully uploaded
Step 4: Configure the Custom Connector in Power Automate
CRITICAL: Follow these steps exactly as described. The configuration is sensitive and incorrect settings will break the connector.
4.1 Navigate to Custom Connectors
- Log into Power Automate
- In the left navigation, expand "Data" and select "Custom connectors"
- You should see "IroncladCLM" in the list of custom connectors
4.2 Edit the Connector Security Settings
-
Click on the IroncladCLM connector
-
Click the "Edit" button (pencil icon)
-
IMPORTANT: Do not modify anything on the General tab
-
Navigate to the "2. Security" tab
-
In the Authentication type dropdown, ensure "OAuth 2.0" is selected
-
IMPORTANT: Do not modify anything on OAuth 2.0 tab**.** It will resemble screen below:
-
Copy the Redirect URL shown in the connector configuration (it will look like:
https://global.consent.azure-apim.net/redirect/ironcladclm)
4.3 Update Ironclad OAuth Configuration with the Redirect URL
- Return to Ironclad (Company Settings → API)
- Edit your OAuth application
- Paste the Redirect URL you copied from Power Automate
- Ensure the application is Active
- Save the OAuth application
- Copy the Client ID and Client Secret from Ironclad
4.4 Complete Power Automate Connector Configuration
- Return to the Power Automate custom connector configuration
- CRITICAL: Do NOT click "Update connector"
- Instead, click the back arrow to exit without saving
Step 5: Create a Connection in Power Automate
5.1 Test the Connector with a New Flow
- Navigate to "My flows" in Power Automate
- Click "New flow" → "Automated cloud flow"
- Give your flow a test name
- For the trigger, search for "Ironclad"
- Select any IroncladCLM trigger (e.g., "When a workflow is created")
5.2 Authenticate the Connection
- When prompted to create a connection, click "Sign in"
- Provide a connection name (e.g., "IroncladProduction")
- Enter your Ironclad instance URL (e.g., "https://demo.ironcladapp.com")
- Enter the Client ID from your Ironclad OAuth app
- Enter the Client Secret from your Ironclad OAuth app
- Leave Version as "default"
- Click "Sign in"
- You'll be redirected to Ironclad to authenticate
- Log in with your Ironclad credentials
- Click "Allow access" when prompted
- You should be redirected back to Power Automate with a successful connection
Step 6: Verify the Connection
- The connection should now appear in your list of connections
- Test the connection by:
- Creating a simple flow using an Ironclad trigger
- Running a test to ensure data is retrieved successfully
- Checking that available actions populate correctly
Troubleshooting
Common Issues and Solutions
Issue: "Unauthorized" error when creating connection
- Solution: Verify Client ID and Secret are correct and the OAuth app is active in Ironclad
Issue: Redirect URL mismatch error
- Solution: Ensure the Redirect URL in Ironclad exactly matches the one from Power Automate (including https://)
Issue: No scopes available
- Solution: Check that OAuth scopes are properly configured in your Ironclad OAuth application
Issue: Connector upload fails
- Solution:
- Verify you have the correct permissions in Power Platform
- Ensure you're authenticated with
paconn login - Check that your environment allows custom connectors
Issue: Cannot see the custom connector after upload
- Solution:
- Refresh the Power Automate page
- Check you're in the correct environment
- Verify the upload completed successfully in VS Code
Once your connector is successfully configured and tested, you can proceed with:
- Creating automated flows between Dynamics 365 and Ironclad
- Setting up workflow triggers and actions
- Implementing the integration patterns described in this document
Remember to test thoroughly in a non-production environment before deploying to production.
Updated about 16 hours ago
