Navigation: Full Administrators > Scan2x Job-Admin >

How to check if your SharePoint client ID/secret is expired

 

 

 

 

How to check if your SharePoint client ID/secret is expired

 

Any Client ID (or App ID) and client secret registered through SharePoint Online’s /_layouts/15/AppRegNew.aspx has a validity of 1 year.

If your SharePoint client ID/secret has expired, you may be experiencing issues such as trying to set your SharePoint as an output destination for a Scan2x job and not being able to move past the Trust modal.

 

 

In order to check whether the client ID/secret has expired, you must be the owner of the SharePoint site.

 

Kindly follow the steps below:

1.Open Powershell as administrator

2.Run Install-Module MSOnline

3.Run Import-Module MSOnline

4.Run Connect-MsolService

5.Run (Get-MsolServicePrincipalCredential -AppPrincipalId [Enter App GUID] -ReturnKeyValues $true).EndDate.ToShortDateString() | select

 

 

 

Copyright © 2024 Avantech Software