Citrix Machine Catalog Issue – ADAccountName empty string

If you are trying to add machines to an existing Machine Catalog and you’re getting an error :

Cannot bind argument to parameter ‘ADAccountName’ because it is an empty string

use power shell and run: Get-AcctADAccount -State Available | Remove-AcctADAccount

You can ge ta list of existing ADAccounts by jus using Get-ADAccount and the ADName should show one as being blank.

Most other machines should  be set to the state of INUSE so this should be fairly safe to run.

Thanks to Eric Claver posting response to here http://discussions.citrix.com/topic/345617-71-cannot-create-new-vms-in-any-catalogs/  for that fix.