{"id":19504635,"url":"https://github.com/tools4everbv/helloid-task-sa-source-activedirectory-accountgetdetails","last_synced_at":"2026-06-15T19:31:17.449Z","repository":{"id":220098521,"uuid":"740521527","full_name":"Tools4everBV/HelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails","owner":"Tools4everBV","description":"Active Directory - User get attributes","archived":false,"fork":false,"pushed_at":"2024-01-31T08:50:23.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:11:39.461Z","etag":null,"topics":["active-directory","data-source","powershell","service-automation"],"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}},"created_at":"2024-01-08T14:13:14.000Z","updated_at":"2024-04-01T18:57:37.000Z","dependencies_parsed_at":"2024-01-31T10:09:16.751Z","dependency_job_id":null,"html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-source-activedirectory-accountgetdetails"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails/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":["active-directory","data-source","powershell","service-automation"],"created_at":"2024-11-10T22:26:33.473Z","updated_at":"2026-06-15T19:31:17.433Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Source-ActiveDirectory-AccountGetDetails\n\n## Prerequisites\n\n- [ ] The HelloID SA on-premises agent installed\n- [ ] The ActiveDirectory module is installed on the server where the HelloID SA on-premises agent is running.\n- [ ] Data source input parameter (required parameter) named `selectedUser`. The linked form-element should at least return a model containing the `UserPrincipalName` property\n\n\n## Description\n\nThis code snippet executes the following tasks:\n\n1. Define `$userPrincipalName` based on the `selectedUser` data source input `$dataSource.selectedUser.UserPrincipalName`\n2. Imports the ActiveDirectory module.\n3. Define a list of AD properties to retrieve from the AD user\n3. Retrieve the configured AD user properties using the `Get-ADUser` cmdlet.\n6. Return a hash table for each AD user property using the `Write-Output` cmdlet.\n\n\u003e To view an example of the data source output, please refer to the JSON code pasted below and select the `Interpreted as JSON` option in HelloID\n\n```json\n{\n    \"UserPrincipalName\": \"a.acevedo@domain.local\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-activedirectory-accountgetdetails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-activedirectory-accountgetdetails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-activedirectory-accountgetdetails/lists"}