Updating the Client Secret

Updating Your Client Secret

Client Secrets have an expiration that is set when the secret is created. It is best practice to replace the Client Secret before it expires becuase once it expires, the workflow will no longer release documents to SharePoint.

Generating a New Client Secret

  1. Login to your Microsoft Entra admin center (Azure AD) and create an App registration. Expand Entra ID and select App registrations.

Screenshot 2026-06-04 at 1.15.45 PM.png
Getting to your Existing App Registration
  1. From the list of apps on either the All applications tab or the Owned applications tab, click the App Registration that is being used by GlobalCapture.

Screenshot 2026-06-04 at 1.15.41 PM.png
App Registrations
  1. From the Applications left menu, select Certificates & Secrets.

  2. On the Client secrets tab, you will see a current list of secrets and their expiration dates. Click + New client secret to generate a new Client Secret.

Screenshot 2026-06-04 at 1.16.00 PM.png
Create a New Client Secret
  1. Give your new secret a Description and set an Expires date.

You will need to make sure you refresh the secret prior to it’s expiration for continued fuction.

Screenshot 2026-06-04 at 1.17.14 PM.png
Secret Name and Expiration
  1. App registration will generate a client secret and add it to the list. Make sure you record the Value of this secret as it will be obscured and can no longer be accessed.

If you lose the secret value or don’t record it, you will need to generate a new secret.

Screenshot 2026-06-04 at 1.16.43 PM.png
Record Your Secret Value

Adding the New Client Secret To Your Workflow

  1. Login to GlobalCapture as an Administrator and select the Design ( Design.png ) icon.

  2. Open your workflow that is releasing to SharePoint.

  1. If your workflow is using Process Fields and Square 9 Notation:

    1. Click the + button in the Process Fields Pane.

      Screenshot 2026-06-05 at 1.55.19 PM.png
      Access Process Field Default Values
    2. Click the Edit ( pencil.png ) icon next to the ClientSecret Process Field.

      Screenshot 2026-06-05 at 1.56.20 PM.png
      Edit Default Value
    3. In the text box that appears, paste in your new Client Secret.

      Screenshot 2026-06-05 at 1.56.30 PM.png
      Update Value and Save
    4. Click Update.

    5. Save your workflow.

  1. If your workflow is NOT using Process Fields and Square 9 Notation.

    1. Open the iPaaS node Settings by double clicking on the iPaaS node.

    2. Expand Connection Settings.

      Screenshot 2026-06-04 at 2.05.06 PM.png
      iPaaS Node Settings
    3. In the Auth Request Body, replace the value for client_secret with the new value.

      Screenshot 2026-06-04 at 2.05.55 PM.png
      Auth Request Body
      grant_type=client_credentials&
      client_id=YourClientID&
      client_secret=YourNewClientSecret&
      scope=https://graph.microsoft.com/.default
      
    4. Click Save.

    5. Save Your workflow.

The Auth Request Body needs to be URL encoded. There must be an & at the end of the Client Secret.