Creating users with CLI and Powershell. Please Help!

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.

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