Prisma Cloud Compute : Error 'Failed to create cloud accounts rule: invalid format: Azure credentials should be in JSON format' when onboarding Azure Cloud Account
9541
Created On 10/31/22 00:10 AM - Last Modified 12/08/22 03:28 AM
Symptom
- Prisma Cloud Compute : Error 'Failed to create cloud accounts rule: invalid format: Azure credentials should be in JSON format' when onboarding Azure Cloud Account
Environment
- Prisma Cloud Compute
- Azure Cloud
Cause
- If the Azure Service key has certain characters missing or reformatted (eg. during transit if shared by email), it can lead to this error.
Resolution
- Ensure the Azure Service key entered stays in the correct JSON format.
- You can save the Credentials JSON body (including the brackets {}) as a file and use it in the Service Key field.
Additional Information
- You can leverage third-party tools to validate the JSON output: https://jsonlint.com/
- Credentials Store