{"id":19504645,"url":"https://github.com/tools4everbv/helloid-task-sa-source-azureactivedirectory-accountsearch","last_synced_at":"2025-06-11T08:34:20.308Z","repository":{"id":219784789,"uuid":"749883039","full_name":"Tools4everBV/HelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch","owner":"Tools4everBV","description":"Azure Active Directory - User account search","archived":false,"fork":false,"pushed_at":"2024-01-31T07:54:57.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-29T00:43:42.135Z","etag":null,"topics":["azure-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,"publiccode":null,"codemeta":null}},"created_at":"2024-01-29T15:32:38.000Z","updated_at":"2024-01-30T15:41:03.000Z","dependencies_parsed_at":"2024-01-29T20:11:31.533Z","dependency_job_id":"a98e4123-8d14-4057-b45c-4373f7a9af38","html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-source-azureactivedirectory-accountsearch"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259230477,"owners_count":22825398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["azure-active-directory","data-source","powershell","service-automation"],"created_at":"2024-11-10T22:26:36.210Z","updated_at":"2025-06-11T08:34:20.283Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Source-AzureActiveDirectory-AccountSearch\n\n## Prerequisites\n- [ ] This script uses the Microsoft Graph API and requires an App Registration with App permissions:\n  - [ ] Read all user’s full profiles by using \u003cb\u003e\u003ci\u003eUser.Read.All\u003c/i\u003e\u003c/b\u003e\n\n## Description\n\nThis code snippet executes the following tasks:\n\n1. Define a wildcard search query `$searchQuery` based on the search parameter `$datasource.searchUser`\n2. Creates a token to connect to the Graph API.\n3. List all users in Azure AD using the API call: [List users](https://learn.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0\u0026tabs=http)\n4. Filter down to only users with `$searchQuery` in their `displayName` or `userPrincipalName`\n5. Return a hash table for each user account 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    \"searchUser\": \"James\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-azureactivedirectory-accountsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-azureactivedirectory-accountsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-azureactivedirectory-accountsearch/lists"}