Share via

Azure template deployment failed

Kai Roth 0 Reputation points
2024-08-22T22:22:23.0866667+00:00

I tried different resource names but nothing works.

Error:

Resource name For ping is invalid. The name can be up to 80 characters long. It must begin with a word character, and it must end with a word character or with '_'. The name may contain word characters or '.', '-', '_'. (Code: InvalidResourceName)

Community Center | Not monitored

1 answer

Sort by: Most helpful
  1. hossein jalilian 13,360 Reputation points Volunteer Moderator
    2024-08-22T23:15:27.11+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Ensure the name starts with a letter and make sure it ends with a letter or underscore and use only allowed characters (letters, numbers, periods, hyphens, underscores).

    If you're using a variable to generate the name, review how it's constructed and ensure any concatenation or string manipulation follows the naming rules.

    If this was working before, review any recent changes to your template or deployment process.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.