Add support for granting and revoking access to distribution groups and shared mailboxes using the HelloID Cloud Agent.
Remco Houthuijzen
This feedback item is created based on an issue in the GitHub repository "HelloID-Conn-Prov-Target-Microsoft-Entra-ID-Exchange-Online".
Issue:
================================================================
Currently when connecting to Connect-ManagedExchangeonline it does not retrieve the functions required to grant full/send as permissions to shared mailboxes, or add users to a distribution group. As this system currently supports connecting to exchange online using the cloud agent adding the capability to grant permissions to exchange items seems like the way to go. Currently the Connect-ManagedExchangeOnline feature is used only for hiding addresses from the global adres list, which is a very niche feature/requirement
Add the following functions to the function retrieval of Connect-ManagedExchangeOnline to enable all aspects of configuring a mailbox and granting/revoking permissions:
Get-MailboxCalendarConfiguration
Get-MailboxMessageConfiguration
Get-MailboxRegionalConfiguration
Get-MailboxSpellingConfiguration
Get-MailboxFolder
Get-MailboxFolderPermission
Get-MailboxPermission
Get-MailboxUserConfiguration
Get-RecipientPermission
Get-DistributionGroup
Get-Recipient
Get-UnifiedGroup
Get-UnifiedGroupLinks
New-DistributionGroup
New-UnifiedGroup
Set-MailboxCalendarConfiguration
Set-MailboxMessageConfiguration
Set-MailboxRegionalConfiguration
Set-MailboxSpellingConfiguration
Set-MailboxFolderPermission
Set-DistributionGroup
Set-UnifiedGroup
Add-MailboxFolderPermission
Add-MailboxPermission
Add-RecipientPermission
Add-DistributionGroupMember
Add-UnifiedGroupLinks
Remove-MailboxFolderPermission
Remove-MailboxPermission
Remove-MailboxUserConfiguration
Remove-RecipientPermission
Remove-DistributionGroup
Remove-DistributionGroupMember
Remove-UnifiedGroup
Remove-UnifiedGroupLinks
================================================================
Additional information:
The list below is used in the "HelloID-Conn-Prov-Target-ExchangeOnline" repository and contains the functions required to execute commands that are currently not supported by the Cloud Agent.
Add-MailboxPermission
Remove-MailboxPermission
Add-RecipientPermission
Remove-RecipientPermission
Get-EXORecipient
Get-Recipient
Get-Mailbox
Get-DistributionGroup
Add-DistributionGroupMember
Remove-DistributionGroupMember
Set-MailboxFolderPermission
Get-MailboxFolderStatistics
Set-MailboxRegionalConfiguration
Set-MailboxAutoReplyConfiguration
Get-MailboxAutoReplyConfiguration
New-DistributionGroup
Set-DistributionGroup
Get-User