PowerCLI

  • 1.  New Domain user account Error

    Posted May 09, 2023 10:49 AM

    Hi LucD,

    As discussed in the previous post I have used a complex password and tried \ and @ and get the attached error.

    Please advice.

    Many Thanks

    Mo

     



  • 2.  RE: New Domain user account Error

    Posted May 09, 2023 11:04 AM

    Error:

     

    Create User
    Key
    haTask-ha-folder-root-vim.host.LocalAccountManager.createUser-3465430431

    Description
    Creates a local user account

    Folder:
    State
    Failed - A specified parameter was not correct: id

    Errors



  • 3.  RE: New Domain user account Error

    Posted May 09, 2023 11:18 AM

    Is that ESXi node joined to the AD domain?

    PS: were your questions in the other thread answered/solved?



  • 4.  RE: New Domain user account Error

    Posted May 09, 2023 11:25 AM

    Hi LucD,

    Yep, previous post is all correct and answered.

    All hosts are added to the domain and added to the vcenter using FQDN.



  • 5.  RE: New Domain user account Error

    Posted May 09, 2023 11:35 AM

    I mean is the ESXi node joined to the domain?
    When you open the Host Web interface, does Manage - Security & Users - Authentication show that Active Directory is enabled?

    LucD_0-1683632103280.png

     



  • 6.  RE: New Domain user account Error

    Posted May 09, 2023 11:40 AM

    HI LucD,

    Yep, see attached. I have erased names of domains for security purposes.

     



  • 7.  RE: New Domain user account Error

    Posted May 09, 2023 11:42 AM

    Ok, now try to add the new user via that Host Web client (same account syntax and password).
    Does that work?



  • 8.  RE: New Domain user account Error

    Posted May 09, 2023 03:54 PM

    Hi LucD,

    I have tried manually and I get the error 'Invalid characters found in user name. Please use only alpha-numeric characters.'

     

     



  • 9.  RE: New Domain user account Error
    Best Answer

    Posted May 09, 2023 04:06 PM

    I assume you tried with an account in the format 'domain/user', seems that is not allowed as a local account on the ESXi node.

    Not sure why you would want to do that.
    For Permissions you can use such an account, but not for a local account on the ESXi node.



  • 10.  RE: New Domain user account Error

    Posted May 09, 2023 04:50 PM

    Hi LucD,

    I agree, as usual you have answered all my questions.

    Thank you again LucD......!



  • 11.  RE: New Domain user account Error

    Posted May 10, 2023 05:43 PM

    I am following this closely.