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 (215k 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 by john.harding (20 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 by marco_jandl (60 points)
0 votes
1 answer

Hello, We are using adaxes with a M365 hybrid environment and right now we have to manually create a remote mailbox on prem after user creation. ... -Identity "user@mydomain.com" -ExternalEmailAddress "user@mydomain.onmicrosoft.com" Enable-RemoteMailbox "user"

asked Oct 16, 2020 by copatterson (70 points)
2,740 questions
2,474 answers
6,475 comments
1,372,147 users