Skip to content

Proposal for Users: Extend parameter Enabled #62

Description

@dbeugger

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions