MyRapidi
MyRapidi

Search our Wiki

401 Unauthorized -The provided client secret keys for app '000' are expired

This error occurs when the authentication token is invalid, expired, or missing. It indicates that the credentials provided are not authorized to access the requested resources.

Example:

The REST service returned a status code that is not 20x - i.e. not OK - Status code received: 401 Unauthorized Response body: {"error":"invalid_client","error_description":"AADSTS7000000: The provided client secret keys for app '0000000-0000-0000-0000-000000000000' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds.

Solution: Generate a new client secret by following the steps from this article.