0 votes


I'm currently working with setting up a new Adaxes solution for a customer at my company.

The customer needs a solution that can add a security group with full access and send ass rights when they create a shared mailbox using Adaxes.

What I've come up with so far is that I've created a function for creating the security groups, and one function for creating the shared mailbox.
My idea is that the create shared mailbox function will execute a powershell script that adds the security group with full access and send as rights to the mailbox.

The last part of the group name attribute for the security group equals the display name for the shared mailbox
$displayname = %displayName%
$groupname = "grp_mail_" + $displayname

Group name security group: grp_mail_mymailbox
Display Name Shared Mailbox: mymailbox

This is a set standard that doesnt differ when they use these functions.

What I need is a powershell script that can add the security group with the required rights (full access/send as) to the shared mailbox, identified by the group name/display name, and if possible with just using AD/Adaxes attributes. If possible I would like to save the hazzle to set up an external powershell session.

To explain this in another way. Out of the box this can be sorted by using the edit exchange properties function, and then adding the security group with the required permissions. But the customer feels that that solution will be to time consuming to have to go through 3 steps to fix this (create sec.group, create mailbox, edit rights). Therefore they want us to combine the creation of the mailbox with adding the access to the sec.group.

I think that this should be possible to solve since the last part of the group name and the display names are always the same. This makes it easy to identify both the mailbox and the sec.group using a script, and then add a command that adds the sec.group. with sufficient access.

Unfortunately I lack the powershell knowledge to solve this matter myself. So I greatly hope that there are someone who can help me out here :-) That would be greatly appreciated.

Best Regards,
Kristoffer Høie.

by (20 points)

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Is is possiable to send Automate an email to go out to the users of a delegated mailbox? We give Full Access and Send As access of disabled accounts to thier replacements for 30days ... then send a email to each one of them? Adaxes version: 2017.2 3.8.14823.0

asked Oct 28, 2019 by hgletifer (1.3k points)
0 votes
1 answer

Ive developed a powershellscript that is able to add this functionality, feel free to improve or use. Iv'e used the msExchExtensionCustomAttribute3 and then renamed the attribute in Adaxes to " ... + ": " + $SamId.SamAccountName, "Information") } else{} } } }

asked Dec 4, 2012 by nevarion (20 points)
0 votes
1 answer

Hi Everyone I want to create a custom command where I can select multiple users and then select a mailbox and give them full access to the mailbox. Is there a way to do it? Thank you for help

asked Nov 2, 2021 by Sandberg94 (320 points)
0 votes
1 answer

I have 18 domains managed by Adaxes and have noticed that Admin (full access) t all objects acts normally, but for piecemeal scopes like Service Desk that scopes to individual ... role (including 16 denies) and expect it to grow as we add more domains.

asked Sep 20 by DA-symplr (40 points)
0 votes
1 answer

Is it possible to script having users added (or removed) from a Security Group based on another AD Attribute? I have found ways to do this in Powershell (something like): ... just utilize the PS script and just run it through Adaxes on a timed fashion? Thanks!

asked Oct 7, 2014 by PunkinDonuts (360 points)
2,884 questions
2,604 answers
119,188 users