Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content:

Table of Contents
minLevel1
maxLevel6
outlinefalse
excludeContent
typelist
printablefalse

...

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)

  1. 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).

...