When calling the List Publishing Credentials API for a web app deployment slot with an App name longer than 40 characters, the SCM URI returned
in the properties section of this operation is being returned with the wrong value.
Steps:
1. Create a web application with a name greater than 40 characters.
2. Create a deployment slot for the web app
The name created for the deployment slot is the first 40 characters of the web app name, then a hyphen, then the deployment slot name.
3. Call List Publishing Credentials operation against the deployment slot.
The SCM URI returned has the host name as webappname-deploymentslotname.scm.azurewebsites.net. The web app name is not truncated to 40 characters, which means the uri is invalid as per the deployment slot creation.