Manage the App Secret expiry without having any downtime

john john 946 Reputation points

I have have been working with remote event receivers for long time but i have never thought that they actually get expired, so based on this link @ we can renew the app secret after been expired.. but my question is that the steps inside the link assume that the App secret is already expired and we can renew the App secret and then update the web.config with the new App Secret.. but my question is how we can prevent the App from been expired? and renew it before expiry .. as seems we can not use the new App Secret unless the old one already expired.. any advice on this please? Thanks

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,025 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amos Wu-MSFT 4,051 Reputation points

    According to my test, it is okay to generate a new secret when the old secret has not expired. The document may mean that this is not recommended.

    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.

    0 comments No comments