Fixing Client secret expiration errors for Provider hosted add-in on SharePoint Online.

This post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer Support team You have a ¬†Provider hosted add-in for SharePoint Online hosted in Azure or public facing IIS Server and it fails due to ClientSecret expiry. You will see the below error Invalid issuer or signature. at Microsoft.IdentityModel.S2S.Tokens.JsonWebSecurityTokenHandler.VerifySignature(String signingInput, String signature,…

0

How to get WebsCount and other details from SharePoint online using Tenant Administration API

This post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer Support team Prior to CSOM ver 16.1.4727.1000, we can get count of all sites in tenant in SharePoint Online Tenant using SiteProperties.WebsCount. You can find Powershell sample at below link https://gallery.technet.microsoft.com/office/How-to-get-all-the-tenant-2999c21b With CSOM ver 16.1.4727.1000 and SPO Service dated 12/20/2016 onwards,…

0