- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3
 
Open
Description
By default, the value 'Undefined' is used for the Enabled parameter for Users. According to the documentation, a non-existing one is created as enabled.
For security reasons, we would like to create non-existing ones as disabled. But then treat them as undefined. Therefore, we suggest 'CreateDisabled' as an additional value for Enabled.
Example:
@(
    @{
        SamAccountName       = 'musterh'
        GivenName            = 'Muster'
        Surname              = 'Hans'
        Description          = 'Hans Muster'
        UserPrincipalName    = 'musterh@%DomainFqdn%'
        Path                 = '%MyUsersOu%,%DomainDN%'
        Enabled              = 'CreateDisabled'
    }
)Metadata
Metadata
Assignees
Labels
No labels