0 votes

Hi

We're runing 2023 and have the Azure AD registered. I'm trying to use the Get-AdmGroup to find groups in the Azure domain, but it doesn't come back with any results, though I know the group exists. Is there a way to get the command to do this?

Thanks

Matt

by (2.0k points)

1 Answer

0 votes
by (272k points)
selected by
Best answer

Hello Matt,

The Get-AdmGroup cmdlet works fine with Azure AD groups when the corresponding domain in registered in Adaxes. Make sure that you specify the parameters correctly. Also, in such cases, the -AdaxesService and -Server parameters are mandatory. Finally, you should have something like the following:

Get-AdmGroup "CN=My Group\0AUID:a5bd42983e9d4947a866cdd1ee43ed29,OU=Groups,DC=azure,DC=onmicrosoft,DC=com" -AdaxesService localhost -Server "azure.onmicrosoft.com"
0

Hi

Thank you, I didn't realise that the AdaxesService needed to be specified for the Azure groups.

Great support as always.

Matt

Related questions

0 votes
1 answer

Using this built in function: There is no option to change the domain on the user account, however this is not the domain we use for UPN. However after creating a user, you can change it but trying to avoid going back into the object.

asked Apr 14, 2023 by mightycabal (1.0k points)
0 votes
1 answer

I'm learning how to use the Adaxes powershell commands. I've tried searching for a group and that fails to find anything but the local domain. ... one domain. Get-AdmGroup -AdaxesService ADAXES01.domain.com -Credential $myCredentials -Identity Administrators

asked Jul 29, 2020 by ComputerHabit (790 points)
0 votes
1 answer

We have some dynamic groups with roughly 1800 members. Get-AdmGroup returns the member property OK for small groups, but for these large groups it returns null ... by calling Get-AdmGroupMember for those groups? Thanks, Randy Lindsey Colorado Springs Utilities

asked Aug 1, 2013 by rlindsey (20 points)
0 votes
1 answer

Will it use 1 license for an Active Directory user and his azure account or 2 licenses?

asked Nov 7, 2023 by johanpr (80 points)
0 votes
1 answer

Hi, We would like to run an AD sync (Start-ADSyncSyncCycle -PolicyType Delta) after a new user is created. Unfortunately, it looks like this script only works for servers that ... in any of the domains. What is the recommended way to achieve this? Thanks, Max

asked Sep 7, 2023 by mcutlyp (40 points)
3,358 questions
3,057 answers
7,805 comments
545,195 users