Hey we have a multi-domain AD forest and I'm trying to use powershell to remove computers in the child domains from a universal group in the root domain.

I tried it with naming the group and computer like this: Remove-AdmGroupMember -identity GROUPNAME -members COMPUTERNAME$ -adaxesservice ADAXESSERVERNAME -server ROOTDOMAINFQDN

And I tried with storing the group object and the computer object into variables $group and $computer, using Get-AdmGroup and Get-AdmComputer cmdlets, and then using the Remove-AdmGroupMember cmdlet on those, as I know this is required when working with EntraID objects (and works fine on those) like this: Remove-AdmGroupMember -identity $group -members $computer -adaxesservice ADAXESSERVERNAME -server ROOTDOMAINFQDN

It takes a moment, like it is processing it, and comes back with no error message, as if it succeeded. If I mess something up like using the wrong computername or something like that, I do get error messages.

But the group remains unchanged and the Adaxes logs show no trace of this.

If I do the same thing with a computer in the root domain (same domain in which the group is located) it works fine. We've only just upgraded to Adaxes 2025.1 in September and I'm not sure if it had been working since. But it defently was working with 2023.2.

We're on Adaxes 2025.1 Update 2. I didn't see any of this in the bug fixes list of Update 3, though. It runs on Server 2022 and our domain controllers are Server 2019. We have a multi-server setup with 3 Adaxes servers. I get the same results whether I run this in Ps5.1 or Ps7, from my laptop or from the Adaxes server itself.

ago by (210 points)

1 Answer

ago by (306k points)
0 votes

Hello Felix,

Unfortunately, this is a known issue in Adaxes 2025.1. We will fix it in one of the future releases. Sorry for the inconvenience. As a workaround, you can use the ADSI approach. For examples, have a look at the following article: https://adaxes.com/sdk/SampleScripts.AddingAndRemovingGroupMembers.

ago by (210 points)
0

Thank you, that works. Is that documented somewhere or can you tell me the scope of the issue so I don't have to test and see what works and what doesn't, before going out and updates my scripts?

ago by (306k points)
0

Hello Felix,

Unfortunately, there is nothing we can add to the above. We can only see that removing cross-domain members from groups does not work via the Remove-AdmGroupMember cmdlet through Adaxes.

Related questions

Hi Using Adaxes 3.13.18001.0 on Server 2019 I'm adding a self service option for our domain users to be able to add people to groups they are set as the owner of but ... everywhere? I've checked the config page a number of times and can't see anything. Thanks

asked Jan 22, 2021 by chappers77 (2.0k points)
0 votes
1 answer

Hello, How it works if I have multiple accounts in one domain, and other accounts in others domains managed by Adaxes ? Thank you. Regards. Pierre

asked Jun 9, 2021 by pierre.saucourt (40 points)
0 votes
1 answer

In most situations in Adaxes when multiple members are added or removed from a group the members are processed individually allowing business rules to run for each of them. ... a business rule to get information about the other members added with the cmdlet?

asked Mar 8, 2024 by Carl Bruinsma (120 points)
0 votes
1 answer

When adding Mobile Phone to a custom form, it seems to also inlcude "Mobile Phone (Other)" which we do not want visible in the form. Is there a way to separate the two or simply hide Mobile Phone (Other)?

asked Nov 11, 2024 by msheppard (880 points)
0 votes
1 answer

Users when signing into the adaxes portal, MFA keeps saying invalid. I have had to disable MFA for now till we can get this resolved.

asked Jul 18, 2024 by imagee (20 points)
0 votes
1 answer