0 votes

Hi,

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 (340 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, 2022 by DA-symplr (100 points)
0 votes
1 answer

We are developing a process to mange mailboxes for terminated users. At the time of termination we would like to: convert the mailbox to a shared mailbox. Send an approval ... would run script to grant the manger access to the mailbox. Can this be done?

asked Oct 27, 2023 by mightycabal (1.0k points)
3,542 questions
3,233 answers
8,227 comments
547,808 users