Task names in Azure Batch

Recently I worked intensively with Azure Batch. During the work, there were couple of problems (as usual). One of them were too long task id or containing illegal characters in task id. Exception In the effect the Microsoft.Azure.Batch.AddTaskCollectionTerminatedException was thrown. In the details of that exception I found the following message:Error.Code=InvalidPropertyValue, Error.Message=The value provided for…