This works:
New-ADServiceAccount 1234567890123456789
This doesn't:
New-ADServiceAccount 12345678901234567890
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. com.example.www
The length of the domain can easily exceed 19 characters. Is there a way to get past this limit?