question

johnjohn-0472 avatar image
0 Votes"
johnjohn-0472 asked AmosWu-MSFT commented

How i can reset the ClientSecret for our App even if it is not expired

We have an App that we need to reset its AppSecret, we want to do so for security reasons and not because the AppSecret is near expiry. so is there a way to do so? i found this link @ https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/replace-an-expiring-client-secret-in-a-sharepoint-add-in but it only show how to do so for an expired ClientSecret, while in our case the ClientSecriet is still valid but we want to reset it for security reasons?

Thanks

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AmosWu-MSFT avatar image
0 Votes"
AmosWu-MSFT answered AmosWu-MSFT commented

84411-image.png
Pay attention to the part marked with Important, which means that we can generate a new secret before the secret expires and configure it in the configuration file. It will not work before the old secret expires. You can choose to delete the configuration item of the old secret after the old secret expires.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (36.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @johnjohn-0472 ,
If my reply helps you, please mark the reply as the answer, it will make others who stuck with a similar issue easier to search for valid solutions in this forum.

0 Votes 0 ·