{"id":19504625,"url":"https://github.com/tools4everbv/helloid-task-sa-source-exchangeonpremises-mailboxgetsendaspermissions","last_synced_at":"2025-10-23T22:58:30.166Z","repository":{"id":222110010,"uuid":"756288512","full_name":"Tools4everBV/HelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions","owner":"Tools4everBV","description":"Exchange On-Premises - Mailbox get Send As permissions","archived":false,"fork":false,"pushed_at":"2024-02-12T11:22:30.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:11:37.220Z","etag":null,"topics":["data-source","exchange-on-premises","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-12T11:19:06.000Z","updated_at":"2024-02-12T11:22:06.000Z","dependencies_parsed_at":"2024-02-12T12:45:00.136Z","dependency_job_id":null,"html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-source-exchangeonpremises-mailboxgetsendaspermissions"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280706838,"owners_count":26376991,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"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-on-premises","powershell","service-automation"],"created_at":"2024-11-10T22:26:33.051Z","updated_at":"2025-10-23T22:58:30.148Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Source-ExchangeOnPremises-MailboxGetSendAsPermissions\n\n## Prerequisites\n- [ ] Execute the cmdlet **Enable-PsRemoting** on the **Exchange server** to which you want to connect.\n- [ ] Within **IIS**, under the **Exchange Back End site** for the **Powershell sub-site**, check that the authentication method **Windows Authentication** is **enabled**.\n- [ ] Permissions to manage the Exchange objects, the default AD group **Organization Management** should suffice, but please change this accordingly.\n\n\n## Description\nThis code snippet executes the following tasks:\n\n1. Imports the ExchangeOnlineManagement module.\n2. Define `$mailboxGuid` based on the `selectedMailbox` data source input `$datasource.selectedMailbox.Guid`\n3. Creates a session to Exchange using Remote PowerShell.\n4. List all recipients in Exchange On-Premises with `SendAs` permissions to the mailbox using the cmdlet: [Get-RecipientPermission](https://learn.microsoft.com/en-us/powershell/module/exchange/get-recipientpermission?view=exchange-ps)\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  \"selectedMailbox\": {\n    \"Guid\": \"7d53a91f-dd9d-41b3-94fb-143bd2fc6854\"\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-exchangeonpremises-mailboxgetsendaspermissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-exchangeonpremises-mailboxgetsendaspermissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-source-exchangeonpremises-mailboxgetsendaspermissions/lists"}