New-ADServiceAccount : The name provided is not a properly formed account name
I'm trying to replace IIS Application Pool Identities with domain users so I can set directory permissions on a file server. These virtual users take the name of the application pool, which I normally set to the domain for the site, e.g.
The length of the domain can easily exceed 19 characters. Is there a way to get past this limit?