@Heino Sass Hallik Welcome to Microsoft Q&A Forum, Thank you for posting you query here!
Based on the error message, If you facing validation error while creating a storage account , please refer to the suggestions mentioned in this Q&A thread
It appears that the validation error you're encountering with Azure template deployment can be due to several reasons. Here are some common causes and solutions that might help you resolve the issue:
- Syntax Error: Ensure there are no syntax errors in your template. Check for correct use of quotes, braces, brackets, and parentheses. Use Visual Studio Code with the latest Bicep extension or Azure Resource Manager Tools extension to identify template errors.
- Incorrect Segment Lengths: Verify that the resource name is in the correct format and adheres to Azure naming conventions.
- Invalid Parameter Value: Check if the parameter values provided during deployment are allowed. Review the template for the parameter's allowed values and use an allowed value during deployment.
- Circular Dependency: This error occurs when resources depend on each other in a way that prevents the deployment from starting. Review the dependencies between resources to ensure there are no circular references.
Resolve errors for invalid template
Additionally, you can check the deployment error details in the Azure portal's Activity log. Look for the operation name 'Validate' with a failed status, which should provide more information on the error.
If the issue still persist, please provide the information asked below
Could you please share the complete template to review and assist you further and also, what all the resource you are trying to deploy using the custom deployment.
Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.