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 (294k 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

0

This helped me as well, thank you!

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

I'm trying to set the adm-ManagedByList attribute on a few hundred groups via powershell, and found that it's only working for groups in our root domain, but fails for all ... is actually located ##'. Am I missing something here or is this a bug? Thanks Felix

asked Sep 19 by felix (150 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 (120 points)
3,589 questions
3,278 answers
8,303 comments
548,147 users