Edit

Share via


Common issues: Azure Credentials Resources

Possible error messages

  • Staging resources (Azure account credentials are not valid)
  • Staging resources (No JSON object could be decoded)

Resolution

Verify that the service principal you configured for Azure CycleCloud is valid. This error occurs if the secret for the service principal expires. To resolve this issue, update the expired secret for the service principal in the Azure portal. Then, update the secret for the credential in CycleCloud by selecting the gear icon at the bottom of the Clusters page and editing the appropriate credential.

To reset the service principal's secret:

az ad sp credential reset --name "0000000000-0000-0000-0000-00000000" --years 2  --password {Application Secret} --credential-description "My New Credential"

More information

For more information on Azure CLI operations with service principals, see Service Principals.