Generate a new client secret for SharePoint Template

Warning

Update, 26-Nov-2025: Microsoft 365 generated Client Secrets are now 41 characters or longer. Unfortunately our software and deployment methods built on Microsoft's SDK's can only process Client Secrets up to 40 characters. The only solution if your Client Secrets have expired is to migrate your authentication to AppOnly/Certificate.

Renewing a ClientSecret for SharePoint access is a temporary measure until deprecation of the entire authentication model by Microsoft in April 2026. For more information see Microsoft announcement on: https://aka.ms/retirement/acs/support. Beyond that date Dialogue Cloud or any other AnywhereNow application or script will not be able to access your SharePoint sites anymore, to read changes, or write/upload list items or files, using this authentication method.

Prior to that date, please change your site authentication method to using AppOnly/Certificate as advised by both Microsoft and AnywhereNow. See: Migrating from ClientSecret to Dialogue Cloud Certificate Authentication

Generate New ClientSecret

Note

Microsoft has deprecated the Microsoft Online Powershell module (as wel as the AzureAD Powershell module) and will not be functional anymore after May 2025. See announcements like: 4094536

All replacement functionality should be found in the currently maintained Microsoft Graph Powershell SDK.

Where to Apply the New ClientSecret