Creates a new identity pool.
New-AcctIdentityPool -IdentityPoolName <String> [-OU <String>] [-Domain <String>] [-NamingScheme <String>] [-NamingSchemeType <ADIdentityNamingScheme>] [-AllowUnicode] [-StartCount <Int32>] [-Scope <String>] [-TenantId <Guid>] [-ZoneUid <Guid>] [-LoggingId <Guid>] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>] New-AcctIdentityPool -WorkgroupMachine -IdentityPoolName <String> [-NamingScheme <String>] [-NamingSchemeType <ADIdentityNamingScheme>] [-AllowUnicode] [-StartCount <Int32>] [-Scope <String>] [-TenantId <Guid>] [-ZoneUid <Guid>] [-LoggingId <Guid>] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]
Provides the ability to create identity pools that can be used to store AD computer accounts.
The naming scheme, naming scheme type, and domain must be specified if the identity pool is to be used to create new accounts.
Each identity pool is tied to a single domain. All the identities in an identity pool belong to the same domain. If the domain is not specified by a parameter to this command the domain will be set when an account is imported into it.
This object provides details of the identity pool and contains the following information: IdentityPoolName <string> The name of the identity pool. IdentityPoolUid <Guid> The unique identifier for the identity pool. NamingScheme <string> The naming scheme for the identity pool. NamingSchemeType <Citrix.XDInterServiceTypes.ADIdentityNamingScheme> The naming scheme type for the identity pool. This can be one of the following: Numeric - naming scheme uses numeric indexes Alphabetic - naming scheme uses alphabetic indexes StartCount <int> The next index to be used when creating an identity from the identity pool. OU <string> The Active Directory distinguished name for the OU in which accounts created from this identity pool will be created. Domain <string> The Active Directory domain that accounts in the pool belong to. Lock <Boolean> Indicates if the identity pool is locked.
In the case of failure, the following errors can result. Error Codes ----------- UnableToConvertDomainName Unable to convert domain name to DNS format. NamingSchemeNotEnoughCharacters Naming scheme does not have enough characters specified. NamingSchemeTooManyCharacters Naming scheme has too many characters specified. NamingSchemeIllegalCharacter Naming scheme contains illegal characters. NamingSchemeMayNotStartWithPeriod Naming scheme starts with a period (.) character. NamingSchemeMayNotBeAllNumbers Naming scheme contains only numbers. NamingSchemeMissingNumericSpecifications Naming scheme does not contain any variable specification (i.e. no '#' characters are specified). NamingSchemeHasMoreThanOneSetOfHashes Naming scheme has more than one variable region (i.e. there are '#' characters separated by other characters). IdentityPoolDuplicateObjectExists An identity pool with the same name already exists. IdentityPoolOUInvalid Identity Pool OU invalid as it does not exist. IdentityPoolOUOfWrongDomain IdentityPool OU invalid as it refers to a different domain to the domain specified for the pool. InvalidIdentityPoolParameterCombination Caused by either of the following validation errors: * If an OU is specified then a domain must also be specified. * NamingScheme, NamingSchemeType and Domain must all be present if any of these are specified. NamingSchemeIllegalComputerName The naming scheme supplied is not valid. PermissionDenied The user does not have administrative rights to perform this operation. ConfigurationLoggingError The operation could not be performed because of a configuration logging error DatabaseError An error occurred in the service while attempting a database operation. DatabaseNotConfigured The operation could not be completed because the database for the service is not configured. ServiceStatusInvalidDb An error occurred in the service while attempting a database operation - communication with the database failed for for various reasons. CommunicationError An error occurred while communicating with the service. ExceptionThrown An unexpected error occurred. To locate more details, see the Windows event logs on the controller being used or examine the XenDesktop logs.
c:\PS>New-AcctIdentityPool -IdentityPoolName MyPool -NamingScheme Acc#### -Domain MyDomain.com -NamingSchemeType Numeric IdentityPoolName : MyPool IdentityPoolUid : 22072d9e-6a8f-494b-a5bc-2ef18ca4b915 NamingScheme : Acc NamingSchemeType : Numeric StartCount : 1 OU : Domain : MyDomain.com Lock : False
Create a new identity pool from which accounts can be created in the domain called "MyDomain.com" using a numeric scheme of the format Acc####. The first account that will be created from this identity pool definition is Acc0001. New AD accounts can be imported into this pool too, but must be from the Domain "MyDomain.com".