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

Bryan Trach 17,832 Reputation points Microsoft Employee Moderator
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.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Michelle Blum 821 Reputation points Microsoft Employee Moderator
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.