Updating a Client Secret After Expiration

Prev Next

When the client secret expires it must update everywhere to ensure uninterrupted access to your data.

Important

A Client Secret in Microsoft Entra ID can only be set for a maximum validity of 2 years. Planning ahead avoids service interruptions.

Prerequisite

Step 1: Update in MAUI SharePoint Online Sites

For detailed instructions please refer to: Adding your Microsoft Entra ID app registration to settings in MAUI

  1. Go to your MAUI SharePoint Online Site.

  2. Go to Settings.

  3. In Settings go to Data Source Configuration.

  4. Select the Authentication Settings for your SharePoint Online connection.

  5. Replace the old Client Secret with the new one.

  6. In MAUI select Save.

Step 2: Update in Templates

Depending on your configuration, the client secret may be stored in:

Option 1: The Excel Connection File

Option 2: The Template

Option 1: Excel Connection File

For detailed instructions please refer to: Using a Microsoft Excel config file for the Add-In’s Microsoft Entra ID configuration

  1. Select the Excel config file used by your templates.

  2. Go to the section where the Client Secret is stored.

  3. Replace the old secret with the new one.

  4. Inside the file menue select Save.

  5. Test the connection.

Option 2: Inside the Template

For detailed instructions please refer to: Connecting a SharePoint Data Source

  1. Select the template.

  2. Go to the Data Map > Data Sources > SharePoint Data Source > Office 365 Entra ID.

  3. Inside the Entra ID Configuration window replace the Client Secret.

  4. Select OK > select OK > in the Datamap select Save.

  5. Test the connection.

Important

If Power Automate or other integrations are used, update the Client Secret there also.

Result

All data source connections are successfully updated with a new Client Secret, ensuring uninterrupted access.

© dox42 2026. All rights reserved.