Legacy Dev Forum Posts

 View Only

Sign Up

Creating users with CLI and Powershell. Please Help!

  • 1.  Creating users with CLI and Powershell. Please Help!

    Posted 06-05-2025 19:24

    kholbrook | 2023-09-11 20:13:04 UTC | #1

    Hey All, I am completely new to the CLI (not so much with powershell). But I would like to use PS and CLI to create a new user with roles and queues already assigned. Here is my code thus far: @{ name = "Kyle Testfour" email = "fakeeamil@email.com" rolesId = @{ id = "id-here-lol" name = "Rolename"}, @{id = "id-here-lol" name = "Rolename"} queues = @{ id = "id-here-lol" name = "Queuename"} } | ConvertTo-Json | gc.exe users create

    It will create the account but will not assign a role or queue. Any help would be greatly apprciated.


    system | 2023-10-12 20:03:04 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 21942