0 votes

Dear Support,

how am I able to use that powershell command:

Add-MailboxFolderPermission -Identity $Mailbox":\Kalender" -User $Benutzer -AccessRights $AccessType

I want set on the calendar of the user the permission modify for a group.

Thanks,

by (700 points)

1 Answer

0 votes
by (216k points)

Update 2019

Starting with Adaxes 2019.1 it is possible to manage calendar permissions in Adaxes Web interface and Administration console without using scripts. Also, it can be automated using the Modify Exchange properties action. For details, have a look at the following tutorial: https://www.adaxes.com/tutorials_AutomatingDailyTasks_AutomateExchangeMailboxConfiguration.htm#collapse_cal_perms.

Original

Hello,

When accessing Exchange functions from PowerShell scripts, you need to use PowerShell remoting and access your Exchange server withing a Remote PowerShell session as recommended by Microsoft.

Here's how you can execute your command in a script launched by Business Rules, Custom Commands or Scheduled Tasks:

$exchangeServer = "ExchangeServer.com" # TODO: Modify me

$session = new-pssession -connectionURI "http://$exchangeServer/powershell" -ConfigurationName Microsoft.Exchange
Import-PSSession -session $session

Add-MailboxFolderPermission -Identity $Mailbox":\Kalender" -User $Benutzer -AccessRights $AccessType

Remove-PSSession -Session $session

In the above code snippet, $exchangeServer specifies the DNS name of the computer where your Exchange Server is installed.

Related questions

0 votes
1 answer

Hello, I can not give the user right to create mailbox exchange I have the following message: The 'Microsoft Exchange (domaine.local\Configuration\Services)' ... (Adaxes\Adaxes Configuration\Configuration Objects\Managed Domains)' object does not exist.

asked May 22, 2012 by mmichard (360 points)
0 votes
1 answer

how can i create a report which gives me the details from an exchange mailbox as described in the subject? I would like to have a Report for Exchange Mailboxes with OU, Send on Behalf, Full Rights and Send As Rights thank you

asked Feb 22, 2021 by m_st (200 points)
0 votes
1 answer

When creating a hybrid user mailbox with a Business Rule, after user creation, the remote routing address of the mailbox is set to the users email alias. How do I set it to the 365 address username@ourdomain.mail.onmicrosoft.com

asked Apr 13, 2022 by john.harding (70 points)
0 votes
1 answer

Hi All, I'm trying to use the powershell script provided here: https://www.adaxes.com/script-repository/move-mailbox-tofrom-microsoft-365-s579.htm Unfortuntately when executing ... credentials but I do not know why this error is happening. Thanks in advance

asked Aug 1, 2023 by curtisa (210 points)
0 votes
1 answer

Hi Team! I'm currently looking for a solution to create an exchange mailbox on-premise, sync it to Office 365 and assign the license in one business rule. I didn't ... solution from our side? Please let me know how to configure this. Best Regards Marco Jandl

asked Apr 6, 2022 by marco_jandl (60 points)
3,326 questions
3,026 answers
7,727 comments
544,678 users