{"id":19504866,"url":"https://github.com/tools4everbv/helloid-task-sa-target-exchangeonpremises-sharedmailboxrevokesendas","last_synced_at":"2026-06-07T20:31:59.192Z","repository":{"id":198169299,"uuid":"700240094","full_name":"Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs","owner":"Tools4everBV","description":"Exchange On Premises - Shared Mailbox - Revoke Send As","archived":false,"fork":false,"pushed_at":"2024-01-15T12:58:38.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:13:16.569Z","etag":null,"topics":["delegated-form","exchange-on-premises","powershell","product","service-automation","task"],"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":"2023-10-04T08:09:10.000Z","updated_at":"2024-01-09T09:41:10.000Z","dependencies_parsed_at":"2024-11-10T22:38:50.966Z","dependency_job_id":null,"html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-exchangeonpremises-sharedmailboxrevokesendas"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34037777,"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-07T02:00:07.652Z","response_time":124,"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":["delegated-form","exchange-on-premises","powershell","product","service-automation","task"],"created_at":"2024-11-10T22:27:28.927Z","updated_at":"2026-06-07T20:31:59.172Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxRevokeSendAs\r\n\r\n## Prerequisites\r\nBefore using this snippet, verify you've met with the following requirements:\r\n\r\n- [ ] User defined variables: `$ExchangeAdminUsername`, `$ExchangeAdminPassword` and `$ExchangeConnectionUri` created in your HelloID portal. [See also Custom Variables](https://docs.helloid.com/en/variables/custom-variables.html)\r\n\r\n\r\n## Description\r\n\r\nThis code snippet executes the following tasks:\r\n\r\n1. Define a hash table `$formObject`. The keys of the hash table represent the properties of the `Remove-ADPermission` cmdlet, while the values represent the values entered in the form.\r\n\r\n\u003e To view an example of the form output, please refer to the JSON code pasted below.\r\n\r\n```json\r\n{\r\n    \"MailboxIdentity\": \"TestSharedMailbox\",\r\n    \"DisplayName\": \"TestSharedMailbox\",\r\n    \"UsersToRemove\": [\r\n        {\r\n            \"UserPrincipalName\": \"jan@connectors.com\"\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n\u003e :exclamation: It is important to note that the names of your form fields might differ. Ensure that the `$formObject` hashtable is appropriately adjusted to match your form fields.\r\n\u003e The **MailboxIdentity** can hold different values [See the Microsoft Docs page](https://learn.microsoft.com/en-us/powershell/module/exchange/remove-adpermission?view=exchange-ps#example-1)\r\n\r\n2. Constructs a PowerShell credential object from the supplied administrative username and password\r\n\r\n3. Connects with the credentials to the Exchange on premises environment by means of the `New-PSSession` cmdlet\r\n\r\n4. Calls the `Remove-AdPermission` cmdlet and removes ExtendedRights \"Send As\" from a Mailbox\r\n\r\n5. Disconnects from the Exchange session by means of the `Remove-PsSession` cmdlet","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-sharedmailboxrevokesendas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-sharedmailboxrevokesendas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-sharedmailboxrevokesendas/lists"}