Why is the slot name for my Azure Web App getting truncated?

brtrach-MSFT 16,271 Reputation points Microsoft Employee
2021-07-28T20:18:10.55+00:00

I am trying to create a slot for my Web App, but the URL is missing some of the expected name. In which scenarios would my Web App truncate or shorten the slot URL?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,756 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michelle Blum 811 Reputation points Microsoft Employee
    2021-07-28T20:22:44.683+00:00

    One scenario where this would happen is if the slot name has over 40 characters. If the slot name exceeds this length, it will be trimmed.

    As an example, here is how the hostname would look for an ASE with a slot URL containing too many characters- “Trimmed Slot name” + “-“ + “Slot Name” + “ASE Suffix”.

    The only workaround for this would be to use a shorter slot name that is within the limit.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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