WindowsAzure/azure-sdk-tools — Issue #115: Valid characters check for AzureService name allows invalid service names
Author: markcowl
Created: 2012-01-14 01:02:26+00:00
State: open

The name check allows the '.' character in any position of the service name, for example, a service named 'my.service', or a service named 'myservice.'. These service names will not be allowed on publishing, and service names with a trailing '.' will fail when creating a new service, but still create the service directory:

New-AzureService : Attempting to perform the NormalizeRelativePath operation on
the 'FileSystem' provider failed for path 'C:\aztest\rootyroot.'. An object at
the specified path C:\aztest\myservice. does not exist.
At line:1 char:17
+ New-AzureService <<<< myservice.
+ CategoryInfo : CloseError: (:) [New-AzureService], ProviderInvo
cationException
+ FullyQualifiedErrorId : AzureDeploymentCmdlets.Cmdlet.NewAzureServiceCom
mand