0 votes

Hi,

I was trying to run the PowerShell code from here https://www.adaxes.com/sdk/IAdmRuleBasedGroupQueries/ and faced this error

Method invocation failed because [Softerra.Adaxes.Adsi.AdmService] does not contain a method named 'GetRemoteObject'.
At line:1 char:1
+ $queries = $service.GetRemoteObject("ADM_SERVICEOBJECTID_RULEBASEDGRO ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound

It seems with version 2025 the command is now called GetServiceObject

If I find more of these outdated examples and scripts, should I post them here? A new question? Or via email better?

ago by (2.1k points)

1 Answer

0 votes
ago by (305k points)

Hello,

It seems with version 2025 the command is now called GetServiceObject

Yes, that is correct. Thank you for pointing out the issue. We will update the documentation shortly.

If I find more of these outdated examples and scripts, should I post them here? A new question? Or via email better?

It is totally up to you. We will reply in either case.

Related questions

0 votes
0 answers

We're having an issue where removing groups from a user object gets executed in AD and also reflected if browsing through the Adaxes Admin Console to the user object, but ... cache, but that didn't make a difference. Does anybody experience this issue, too?

asked Dec 12, 2016 by rsc (40 points)
0 votes
1 answer

In a business rule, I'd like to pass Adaxes variables into a powershell script that I'll run. For example, pass %username% into the script so it can be used inside the script.

asked Sep 5, 2024 by P-Sysadmin (20 points)
0 votes
0 answers

Trying to configure a custom launcher in Thycotic Secret Server that will launch Adaxes on the user's local machine with the username and password passed as parameters. Has anyone made this work?

asked May 20, 2022 by amillard (20 points)
0 votes
1 answer

Is in Adaxes used (soon deprecated) AzureAD module for managing Azure/ Office 365 somewhere? Or is it using Microsoft Graph SDK module completely?

asked Feb 27, 2023 by KIT (1.0k points)
0 votes
1 answer

My role as a developer require a form submission with Adaxes to get JIT (just in time) access to an client environment, I want to need guidance to form submission with the Adaxes PowerShell module.

asked Nov 19, 2020 by spencer.nicol (20 points)
3,733 questions
3,411 answers
8,631 comments
550,226 users