Share on print
Share on facebook
Share on linkedin
Share on whatsapp
Share on email

You can run the following script from the installation folder to check the client secret expiration date of your Add-in:

./beezy-GetAddinExpirationDate.ps1

You’ll be prompted for the O365 tenant credentials and the output will contain the Beezy Add-in (Principal Name: Beezy) and the EndDate that is the expiration date of the Add-in Client Secret.

If you need to replace the expiring client secret execute the following script:

./beezy-ReplaceAddinExpiringClientSecret.ps1
  1. You’ll be prompted for the O365 tenant credentials
  2. Save the client secret generated by the script
  3. In your Azure app service that hosts Beezy > Application settings > App settings (*)
    1. Add key “SecondaryClientSecret” with value <your old client secret>
    2. Modify key “ClientSecret” with the client secret generated by this script

(*) If you are using an Azure Key Vault to save your Beezy client secret you just have to update these values there.

Source: https://msdn.microsoft.com/en-us/library/office/dn726681.aspx

As stated in previous guide, you need to wait at least 24 hours to propagate ClientSecret to SharePoint Office (SPO).