KB10188 Problem with Microsoft 365 authentication - Invalid Client Secret

📚

Documentation

Installation guides, configuration steps, and product documentation.

Explore documentation →

🎧

Support

Create a support request or review your existing cases.

Go to support →

⬇️

Download trial

Download the product trial and try it out.

View downloads →

KB10188 Problem with Microsoft 365 authentication - Invalid Client Secret

Publish date: 2026-07-16 Modification date: 2026-07-16 Affected Version: All

Description

The issue occurs when a Microsoft 365 tenant authentication fails due to an expired or invalid Client Secret. In some cases, multiple application registrations may exist in the background, causing Storware Backup and Recovery to attempt connections using outdated credentials even after a new secret is generated. This results in failed backup tasks for a portion of the mailboxes or resources, leading to incomplete data protection and operational risk for the organization.

Solution

To resolve the authentication issue and ensure the correct Client Secret is used, follow these steps:

  1. Identify the affected Application: Log in to the Azure Portal and navigate to Microsoft Entra ID > App registrations. Locate the application with the Client ID mentioned in the error (e.g., 7961489b-f9c6-4896-a882-be9fe2fb05c6).

  2. Generate a New Secret: Inside the application menu, go to Certificates & secrets > Client secrets and click New client secret. Set the expiration (recommended 2 years) and copy the Value immediately.

  3. Update Storware Backup and Recovery:

    • Navigate to Microsoft 365 > Organizations > [Your Organization] > Settings > Applications.

    • Temporarily set the Client ID to the one identified as having the expired key (if it differs from the currently visible one).

    • Paste the new Value into the Client Secret Key field.

    • Save the changes. If prompted with a confirmation regarding the key change, confirm it.

  4. Verify Connectivity: Run an Inventory Sync followed by a manual Backup task to ensure the "Invalid Client Secret" error is resolved.

Keywords

  • Microsoft 365

  • Office 365

  • Client Secret expired

  • Invalid Client Secret

  • Authentication failure

  • Entra ID

  • App registration

  • Tenant login error

Additional information

A permanent fix to prevent background conflicts with multiple application entries available in versions 7.3.0-92, 7.4.0-52, 7.5.0-11 and newer


Items to verify

  • Confirm if the user needs to restart the vprotect-server or vprotect-node services after updating the secret (initial feedback suggests it may not be necessary, but worth verifying if tasks still fail).

  • Verify if there are any other hidden application entries in the database that require manual cleanup by the development team if the above steps do not resolve all task failures.52