Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Summary
This article provides a solution for a "Client secret key is expired" error that occurs when you deploy or terminate virtual machines (VMs).
Note
Was this article helpful? Your input is important to us. Please use the Feedback button on this page to let us know how well this article worked for you or how we can improve it.
Symptoms
When you deploy or terminate VMs, you might encounter an error such as the following error message:
Azure.Cell.CreateLoadBalancerCreating load balancer (AADSTS7000222: The provided client secret keys are expired. Visit the Azure Portal to create new keys for your app, or consider using certificate credentials for added security:
https://docs.microsoft.com/azure/active-directory/develop/active-directory-certificate-credentialsTrace ID: <Trace ID> Correlation ID: <Correlation ID> Timestamp: <Date Time>
When you validate the credential in the CycleCloud portal, you see the following error message:
Invalid Azure credentials provided: AADSTS7000215: Invalid client secret is provided. Trace ID <Trace ID> Correlation ID: <Correlation ID> Timestamp: <Date Time>
Resolution
To resolve this issue, reset the client secret keys in the Azure portal.
Sign in to the Azure portal and navigate to the Microsoft Entra service.
Select the application name under App Registrations.
Select Certificates & Secrets > New client secret to renew it.
After you add a client secret key, the new secret key value appears under the Key column.
Go to the CycleCloud portal and select Configure. Select the account in Cloud Provider Accounts, and then select Credentials > Edit. In the Edit Credential dialog, enter the password in Application Secret, and then select Validate. If the validation succeeds, select Save.