Skip to content

Replace the Microsoft Entra client secret

BizzStream Aero synchronizes users from Microsoft Entra with a directory service, and your users sign in with their Microsoft account through it. User synchronization and signing in on the web both use the client secret of your synchronization application. A client secret in Entra always expires, after at most 24 months. When it has expired:

  • Users can no longer sign in on the web with their Microsoft account. Users who are already signed in on the web are signed out as soon as their session needs to be renewed with Entra. The mobile app does not use the client secret, so signing in there keeps working.
  • Every user synchronization fails. Existing users are left as they are: nobody is deactivated because of the expired secret. But new employees are not added, and people who left are not deactivated either.

Organization administrators replace the client secret themselves, from the setup section. You do not have to send the new secret to your partner.

Before you start

You need:

  • To be an organization administrator of the organization that owns the directory service. The Organization page is not available while a support user impersonates you.
  • Access to the synchronization application in Microsoft Entra (App registrations), so you can create a new client secret for it.

You can only change the client secret, its expiry date, the expiry notification address and the expiry warning period. The directory URL, the application ID and the other settings of the directory service can only be changed by your partner.

The replacement takes three steps: create a new secret in Entra, save it in BizzStream Aero, and only then delete the old secret in Entra. Entra allows several active secrets for one application, so signing in on the web and user synchronization keep working the whole time.

Step 1: Create a new client secret in Microsoft Entra

  1. Sign in to the Microsoft Entra admin center and open App registrations.
  2. Open the synchronization application. Its Application (client) ID is the Synchronization Application ID shown in BizzStream Aero.
  3. In the sidebar, under Manage, click Certificates & secrets.

    Certificates & secrets in the application sidebar

  4. On the Client secrets tab, click + New client secret. Leave the existing secret alone.

    Client secrets overview

  5. Enter a Description, for example the month in which you replace it, and choose when it Expires. Click Add.

    Add a client secret

  6. Copy the Value of the new secret and write down its Expires date. Copy the Value, not the Secret ID.

    The new client secret with its value

Warning

Entra only shows the value right after you created the secret. Once you leave the page you cannot copy it anymore, and you have to create another secret.

Step 2: Replace the client secret in BizzStream Aero

  1. In BizzStream Aero, open the setup section and click Organization in the sidebar.
  2. The Directory services grid lists every directory service of your organization, with its masked client secret, its expiry date, its expiry warning period and the environments that use it. Select the directory service and click Replace client secret.

    The Directory services grid on the Organization page

  3. Fill in the Replace client secret dialog:

    Field Description
    New client secret (Required) The Value you copied from Entra. Use the eye button to check what you pasted.
    Secret Expiry Date (Required) The Expires date of the new secret in Entra. It must be after today. Below the field, the dialog shows when the current secret expires and how many days are left. This line is red when 30 days or fewer are left, or when the secret has already expired.
    Expiry Notification Address (Required) The address that receives the expiry warnings. It is filled in with the current address.
    Expiry Warning Period (days) How many days before the expiry date the warning emails start, between 1 and 30. Leave it empty to use the default of 10 days.

    The Replace client secret dialog

  4. Click Save. Save is only available when the required fields are filled in and the expiry date is after today.

BizzStream Aero first checks the new secret with Microsoft Entra, by signing in with it to your tenant and synchronization application. Only when Entra accepts it is the secret stored. You then see Connection to Microsoft Entra verified. Client secret updated., the dialog closes and the grid shows the new expiry date. The next synchronization uses the new secret.

When Entra rejects the secret, or cannot be reached, nothing is saved and an error message explains why. The dialog stays open with the values you entered, so you can correct them and try again. Cancel closes the dialog without saving.

Microsoft Entra rejected the client secret

After saving, BizzStream Aero never shows the secret in full again: the grid only shows its first three characters followed by asterisks, just as Entra does.

Step 3: Delete the old client secret in Microsoft Entra

Go back to Certificates & secrets of the synchronization application in Entra and delete the old secret. Do this only after BizzStream Aero has confirmed the new secret. Until then, signing in on the web and user synchronization still depend on the old one.

To check that everything works, open Environment > External User Integration in the setup section of an environment that uses the directory service and click Sync now.

Emails

After a successful replacement, BizzStream Aero sends an email to the expiry notification address. It names the directory service, who replaced the secret and when, and the new expiry date. It never contains the secret. When you changed the expiry notification address, the previous address gets an email as well, saying it will no longer receive the warnings.

From the start of the expiry warning period, the expiry notification address gets a warning email every day until the secret is replaced, also after it has expired.

Troubleshooting

Message What to do
Microsoft Entra rejected the client secret for the configured tenant and application. Check that you pasted the Value and not the Secret ID, and that you created the secret for the synchronization application whose ID is shown in BizzStream Aero. If you no longer have the value, create a new secret in Entra.
The client secret could not be checked with Microsoft Entra. Please try again later. BizzStream Aero could not reach Entra. Nothing was saved and the current secret still works. Try again later.
Save stays disabled Fill in the new client secret and the expiry notification address, and choose an expiry date after today.
You do not see Organization in the setup section You are not an organization administrator of this environment's organization, or you are being impersonated. Ask an organization administrator, or your partner, to replace the secret.

Partner consultants

Partner consultants replace the client secret in the partner console. Either open the organization and use the Directory services grid, or open the directory service under Directory Services and click Replace client secret. Both open the same dialog, with the same check against Microsoft Entra.