{"id":19504715,"url":"https://github.com/tools4everbv/helloid-task-sa-target-helloid-usercreate","last_synced_at":"2026-06-15T19:31:17.840Z","repository":{"id":204512170,"uuid":"711981934","full_name":"Tools4everBV/HelloID-Task-SA-Target-HelloID-UserCreate","owner":"Tools4everBV","description":"HelloID - User account create","archived":false,"fork":false,"pushed_at":"2024-01-15T14:18:04.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:12:10.911Z","etag":null,"topics":["delegated-form","helloid","powershell","product","service-automation","task"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tools4everBV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-30T15:02:14.000Z","updated_at":"2024-01-09T09:38:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8eefdad-35e4-4d45-a47d-0f9f100b4cda","html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-UserCreate","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-helloid-accountcreate","tools4everbv/helloid-task-sa-target-helloid-usercreate"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Target-HelloID-UserCreate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserCreate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserCreate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserCreate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserCreate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-UserCreate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserCreate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34377872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delegated-form","helloid","powershell","product","service-automation","task"],"created_at":"2024-11-10T22:26:54.611Z","updated_at":"2026-06-15T19:31:17.815Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Target-HelloID-UserCreate\n\n## Prerequisites\n\n- [ ] HelloID API key and secret\n- [ ] Pre-defined variables: `portalBaseUrl`, `portalApiKey` and `portalApiSecret` created in your HelloID portal.\n\n## Description\n\nThis code snippet will create a new user within HelloID and executes the following tasks:\n\n1. Define a hash table `$formObject`. The keys of the hash table represent the properties necessary to create a new user within `HelloID`, while the values represent the values entered in the form.\n\n\u003e To view an example of the form output, please refer to the JSON code pasted below.\n\n```json\n{\n    \"userName\": \"john.doe\",\n    \"firstName\": \"john\",\n    \"lastName\": \"doe\",\n    \"contactEmail\": \"johndoe@enyoi.org\",\n    \"isEnabled\": \"true\",\n    \"password\": \"P@ssw0rd1!\",\n    \"mustChangePassword\": \"true\",\n    \"employeeid\": \"12345678\",\n    \"title\": \"tester\",\n    \"department\": \"test\",\n    \"phonenumber\": \"0612345678\",\n    \"manager\": {\n        \"UserGUID\": \"8a6b62fc-dca3-4890-bacd-3db76c5e9152\"\n    }\n}\n```\n\n\u003e :exclamation: It is important to note that the names of your form fields might differ. Ensure that the `$formObject` hash table is appropriately adjusted to match your form fields.\n\u003e [See the HelloID API Docs page](https://apidocs.helloid.com/docs/helloid/7d9592b2cfeed-add-a-user)\n\n2. Creates authorization headers using the provided API key and secret.\n\n3. Create a new user using the: `Invoke-RestMethod` cmdlet. The hash table called: `$formObject` is passed to the body of the: `Invoke-RestMethod` cmdlet as a JSON object.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-usercreate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-usercreate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-usercreate/lists"}