{"id":19504615,"url":"https://github.com/tools4everbv/helloid-task-sa-source-exchangeonline-mailboxsearch","last_synced_at":"2026-07-01T18:32:29.456Z","repository":{"id":222103220,"uuid":"756227108","full_name":"Tools4everBV/HelloID-Task-SA-Source-ExchangeOnline-MailboxSearch","owner":"Tools4everBV","description":"Exchange Online - Mailbox search","archived":false,"fork":false,"pushed_at":"2024-02-12T11:08:49.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-29T02:49:58.644Z","etag":null,"topics":["data-source","exchange-online","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-02-12T08:33:57.000Z","updated_at":"2024-02-12T09:31:30.000Z","dependencies_parsed_at":"2024-02-12T11:53:48.409Z","dependency_job_id":null,"html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Source-ExchangeOnline-MailboxSearch","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-source-exchangeonline-mailboxsearch"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Source-ExchangeOnline-MailboxSearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnline-MailboxSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnline-MailboxSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnline-MailboxSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnline-MailboxSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Source-ExchangeOnline-MailboxSearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnline-MailboxSearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35019032,"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-07-01T02:00:05.325Z","response_time":130,"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":["data-source","exchange-online","powershell","service-automation"],"created_at":"2024-11-10T22:26:32.645Z","updated_at":"2026-07-01T18:32:29.432Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Source-ExchangeOnline-MailboxSearch\n\n## Prerequisites\n- [ ] This script uses the Exchange Online Management PowerShell Module and requires an App Registration with App permissions:\n  - [ ] Manage Exchange As Application \u003cb\u003e\u003ci\u003eExchange.ManageAsApp\u003c/i\u003e\u003c/b\u003e\n- [ ] And a role with the permissions for Exchange Online:\n  - [ ] The **Exchange Administrator** role should provide the required permissions for any task in Exchange Online PowerShell. However, some actions may not be allowed, such as managing other admin accounts, for this the Global Administrator would be required. Please note that the required role may vary based on your configuration.\n\n## Description\n\nThis code snippet executes the following tasks:\n\n1. Imports the ExchangeOnlineManagement module.\n2. Define a wildcard search query `$searchValue` based on the search parameter `$datasource.searchValue`\n3. Creates a session to Exchange Online.\n4. List all mailboxes in Exchange Online that match the wildcard search query `$searchValue` in their name or email addresses using the API call: [Get-EXOMailbox](https://learn.microsoft.com/en-us/powershell/module/exchange/get-exomailbox?view=exchange-ps)\n   \u003e The filter property **-filter** accepts different values [See the Microsoft Docs page](https://learn.microsoft.com/en-us/powershell/module/exchange/get-exomailbox?view=exchange-ps#-filter)\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    \"searchValue\": \"Consultancy\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-exchangeonline-mailboxsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-exchangeonline-mailboxsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-exchangeonline-mailboxsearch/lists"}