{"id":19504860,"url":"https://github.com/tools4everbv/helloid-task-sa-target-exchangeonpremises-sharedmailboxgrantsendonbehalf","last_synced_at":"2026-06-07T21:31:30.096Z","repository":{"id":198169849,"uuid":"700242037","full_name":"Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxGrantSendOnBehalf","owner":"Tools4everBV","description":"Exchange On Premises - Shared Mailbox grant send-on-behalf permissions","archived":false,"fork":false,"pushed_at":"2024-01-15T12:58:24.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-08T10:45:35.318Z","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:13:57.000Z","updated_at":"2024-01-09T09:41:05.000Z","dependencies_parsed_at":"2024-11-10T22:28:49.935Z","dependency_job_id":"7d464135-98e2-4df5-8421-fa425e7c1f8b","html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxGrantSendOnBehalf","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-exchangeonpremises-sharedmailboxgrantsendonbehalf"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxGrantSendOnBehalf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxGrantSendOnBehalf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxGrantSendOnBehalf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxGrantSendOnBehalf/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-SharedMailboxGrantSendOnBehalf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240754367,"owners_count":19852189,"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":["delegated-form","exchange-on-premises","powershell","product","service-automation","task"],"created_at":"2024-11-10T22:27:27.932Z","updated_at":"2026-06-07T21:31:30.041Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# HelloID-Task-SA-Target-ExchangeOnPremises-SharedMailboxGrantSendOnBehalf\r\n\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\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 `Set-Mailbox` 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    \"UsersToAdd\": [\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/set-mailbox?view=exchange-ps#-grantsendonbehalfto)\r\n\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 `Set-Mailbox` cmdlet and adds ExtendedRights \"Send On Behalf\" to the 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-sharedmailboxgrantsendonbehalf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-sharedmailboxgrantsendonbehalf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-exchangeonpremises-sharedmailboxgrantsendonbehalf/lists"}