The application that is registered to run against Exchange Online mailboxes sets up a client secret that expires in 7 days. My environment is large. Based on how long the script is taking to process 1 mailbox, this script could be running about 14 days give or take. What happens when the client secret expires? Will the script automatically create another? Or will the script stop running? If it does not automatically create another client secret, what can I do?
The application that is registered to run against Exchange Online mailboxes sets up a client secret that expires in 7 days. My environment is large. Based on how long the script is taking to process 1 mailbox, this script could be running about 14 days give or take. What happens when the client secret expires? Will the script automatically create another? Or will the script stop running? If it does not automatically create another client secret, what can I do?