Would it be best to use the standard Powershell to pull the user's group membership and can that be embedded in a notification email after a user is created? Or is there a variable that will do this that I seem to be missing.

ago by (40 points)

1 Answer

ago by (309k points)
0 votes

Hello,

Using a PowerShell script is the only option here. The following script from our repository should be helpful: https://scripts.adaxes.com/get-multivalued-property-values-and-send-mail.

ago by (40 points)
0

This does help but I just want to confirm what multivalued property I would be using in this case. Looking at the list here: https://www.adaxes.com/help/CalculatedProperties/ I'm not seeing a calculated property for group membership. Would this just be a %memberOf% property I would substitude in or something else?

ago by (309k points)
0

Hello,

You will just need to use the memberOf property. It is not present in the list of calculated properties as it a standard AD one. Also, pay attention that you need to set the $propertyName variable to the schema name of a property, not a value reference. As such, the first line of the script in your case should be as follows:

$propertyName = "memberOf" # TODO: modify me
ago by (40 points)
0

Oh AD membership won't cut it. I also need Entra group membership. This property doesn't include cloud only groups the user is a member of.

ago by (309k points)
0

Hello,

In this case, you need use the following approach:

$groupGuids = $Context.TargetObject.GetEx("adm-DirectMemberOfGuid")

It will get you the GUIDs of all the groups the target user is a member of including Microsoft Entra ones. Pay attention that the latter part will only work in case you ahve your Microsoft Entra domain registered in Adaxes (the domain will be visible under the Managed domains node in the Administratoin console).

Related questions

I find it's a good idea to have backups of a user's group membership when they depart so I'd like to be able to do this.

asked 3 days ago by noahphex (40 points)
0 votes
1 answer

Hello, We are currently rolling out a deployment for Windows Hello. For this, we have created a custom automation in Adaxes for users to have to reset their passwords on ... this group? Or, do you have another recommendation for getting this done? Thank you.

asked Mar 26 by aewilliams.324 (20 points)
0 votes
1 answer

Good Morning, Interesting issue, newly created users created in Adaxes don't show AD group membership when viewing in Adaxes but the groups show normally in AD. Users ... idea why users crearted in Adaxes cannot see the groups while other users appear fine?

asked Aug 2, 2023 by curtisa (350 points)
0 votes
0 answers

We would like the membership in a distribution group to be based on a particular M365 license a user has (for example, Microsoft Copilot for Microsoft 365 (SKU part number ... the group. Is there way to do that by making it a rule-based group?

asked Mar 11 by RayBilyk (310 points)
0 votes
1 answer

With Active Directory Users and Computers, I can add group members by copying a list of usernames and pasting them into the Add Members dialog box. This is very quick and easy. How can I do this with Adaxes? It seems that I can only add one member at a time.

asked Feb 24, 2017 by abarker5 (80 points)
0 votes
1 answer