{"id":19504636,"url":"https://github.com/tools4everbv/helloid-task-sa-source-activedirectory-groupsearch","last_synced_at":"2026-06-15T17:31:46.886Z","repository":{"id":220102261,"uuid":"750755076","full_name":"Tools4everBV/HelloID-Task-SA-Source-ActiveDirectory-GroupSearch","owner":"Tools4everBV","description":"Active Directory - Group search","archived":false,"fork":false,"pushed_at":"2024-01-31T09:15:33.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:11:37.863Z","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-31T08:56:52.000Z","updated_at":"2024-01-31T09:11:49.000Z","dependencies_parsed_at":"2024-02-06T06:45:08.075Z","dependency_job_id":null,"html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Source-ActiveDirectory-GroupSearch","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-source-activedirectory-groupsearch"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Source-ActiveDirectory-GroupSearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-GroupSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-GroupSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-GroupSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-GroupSearch/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-GroupSearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ActiveDirectory-GroupSearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34374146,"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.482Z","updated_at":"2026-06-15T17:31:46.860Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Source-ActiveDirectory-GroupSearch\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- [ ] User-defined variable `ADgroupsSearchOU` created in your HelloID portal. Containing a Json string array of Active Directory OU's to search in.\n\nExample value \n```json\n[{ \"OU\": \"OU=Groups,DC=helloid,DC=local\"}]\n```\n\n## Description\n\nThis code snippet executes the following tasks:\n\n1. Imports the ActiveDirectory module.\n2. Define a wildcard search query `$searchQuery` based on the search parameter `$datasource.searchValue`\n3. Loop through the list of AD search OU's defined in the User-defined variable `ADgroupsSearchOU` and retrieve the AD groups using the `Get-ADGroup` cmdlet.\n\n\u003e The filter property **-filter** accepts different values [See the Microsoft Docs page](https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adgroup?view=windowsserver2022-ps)\n\n4. Return a hash table for each group 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.\n\n```json\n{\n    \"searchValue\": \"Application\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-activedirectory-groupsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-activedirectory-groupsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-activedirectory-groupsearch/lists"}