Hi,
I want to add approval for specific groups with temporary membership based on this script: https://www.adaxes.com/script-repository/temporary-group-membrship-s533.htm
I worked in past with $Context.SubmitForApproval and have few questions: Where do I place this command? I want to send an email out, then send approval for adding user and updating group to set records for $memberListProperty
Will the full script be executed until $Context.SubmitForApproval and then the rest is on hold?
Hello,
There is no need to use $Context.SubmitForApproval as it will not do what you need in this case. It should be done using a business rule triggering Before adding a member to a group with the corresponding built-in action. The following tutorial will be helpful: https://www.adaxes.com/help/RequestApprovalForAddingMembersToGroups. Also, you need to replace this line in the script
$Context.SubmitForApproval
$group = $Context.BindToObjectByDN($dn)
with the below one
$group = $Context.BindToObjectByDNEx($dn, $True)
Thanks for the feedback.
In case we modify the command, so we add multiple users to one group - this would trigger for each member an own email, no?
Would it be possible to have only one approval mail send with all added members?
Yes, that is the only way.
Unfortunately, there is no such possibility.
Hi support, We have security groups named like Test-Group--Users, where is different for each group. I have a powershell query which gets a list of those Test-Group--Users" ... only Test-Group-<variable>-User that user is member of but it is an array
We are looking for a way to allow AD users to manage group memberships of groups they have been set as Manager for - and would like to know if we can achieve this with Adaxes? We are thinking a easy to use web portal.
Is it possible using PowerShell to copy group memberships from an already existing user without copying 2 specific groups named for example test and test 1 ? We are currently ... groups are not included. I can share the PowerShell script if needed. KR, Cas
Rule-based membership fails for security enabled distribution group with error "The term 'Add-DistributionGroupMember' is not recognized as the name of a cmdlet, function, ... Exchange Online before running this PowerShell command. Here is rule based set up.
Hi, I'm trying to create a business rule that basically says if a user is a member of group a, they can't be a member of group b. Optionally would also like to ... removed from group a. Can i get some guidance on how I could accomplish this in adaxes?