Content:
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
How to renew the client secret
Error Message : ClientSecretCredential authentication failed: A configuration issue is preventing authentication - check the error message from the server for details.
If you receive this error message during the resource connection test, you need to create a new client secret :
...
Info |
---|
In graphical mode, you are limited to a maximum of 2 years, as per Microsoft's recommendation. You can use the following command line to extend beyond 2 years (You need to modify the values in bold): New-AzureADApplicationPasswordCredential -ObjectId YourObjectID -CustomKeyIdentifier Roomz -Value $secret -StartDate (Get-Date) -EndDate (Get-Date).AddYears(5) |
Next, make sure to carefully copy the key value and replace it with the old one:
...
We are using M365 and would like to have a connection to ROOMZ with modern authentication (MFA).
...