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.

0

It would be very handy to be able to still use the Old Model permissions on Exchange Calendars. There is no middle ground in the new permissions. Full Details allows Read All permissions and Can Edit is basically Edit All permissions. It would be very handy to be able to add the old permissions if needed. Author comes to mind.

0

Hello Michael,

Thank you for the suggestion. We forwarded it to the corresponding department for consideration.

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

Hello Adaxes Support, I couldn't find a script to enable MessageCopyForSentAsEnabled for a shared mailbox, do you have a script for me to do that?

asked May 22 by dominik.stawny (280 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 (290 points)
3,548 questions
3,238 answers
8,232 comments
547,813 users