Skip to main content

MachineaccountsubtypeconfigdtoMachineAccountCreate

Properties

NameTypeDescriptionNotes
AccountCreateEnabledBooleanSpecifies if the creation of machine accounts is allowed for this subtype.[optional] [default to $false]
ApprovalRequiredBooleanSpecifies if approval is required for machine account creation requests for this subtype.[optional] [default to $false]
FormIdStringId of the form linked to subtype.[optional]
EntitlementIdStringId of the system created entitlement entitlement upon enabling account creation for this subtype.[optional]
PasswordSettingEnum [ "DO_NOT_SET_PASSWORD", "SET_TO_EXISTING_ATTRIBUTE", "SET_TO_NEW_ATTRIBUTE" ]This is required before enabling the account creation to true. Default value will be null.[optional]
PasswordAttributeStringName of the account attribute from the source's schema or new custom attribute to use when password settings is enabled.[optional]
ApprovalConfigMachinesubtypeapprovalconfig[optional]

Examples

  • Prepare the resource
$MachineaccountsubtypeconfigdtoMachineAccountCreate = Initialize-MachineaccountsubtypeconfigdtoMachineAccountCreate  -AccountCreateEnabled true `
-ApprovalRequired true `
-FormId 4f1bb61b-a0ab-4c0a-b9fb-20f44407b75a `
-EntitlementId 858d2151-ff19-464b-ae0d-6938b3af2baf `
-PasswordSetting SET_TO_EXISTING_ATTRIBUTE `
-PasswordAttribute accountName `
-ApprovalConfig null
  • Convert the resource to JSON
$MachineaccountsubtypeconfigdtoMachineAccountCreate | ConvertTo-JSON

[Back to top]