0 votes

Hi Forum,

I wan't to connect to the Adaxes Service from outside the Domain. So i try to connect this way:

# Connect to the Adaxes service
$admNS = New-Object "Softerra.Adaxes.Adsi.AdmNamespace"
$admService = $admNS.GetService("hostname", "username", "password")

But i always get:
Exception calling "OpenObject" with "4" argument(s): "No permissions to view this object. You are authenticated as Guest since your domain (adaxeshost) is not managed by the service."

How can i connect to the Adaxes Service from a host outside the domain?

Thanks for your help

by (650 points)


Yes, it is possible to connect to an Adaxes service from outside the domain where it is installed, but only provided that the domain where the service is installed and the domain that you are trying to connect from have trusts between them. Also, in what format are you supplying the username? Is it the DOMAIN\username format?


Hi Support,

the Host i'm trying to connect from doesn't belong to a Domain (it's a host in the DMZ). But i need to execute some Powershell scripts from that host. When i try to connect i'm providing the username in the format: domain\Username or username@domain.tld. But none of this works.

$admService = $admNS.GetService("hostname.fqdn", "domain\username", "password") or
$admService = $admNS.GetService("hostname.fqdn", "username@domain.tld", "password")

Thanks & Cheers

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Hello Is there any way to configure Adaxes Administration Console to automatically connect to the adaxes service after startup? That would be pretty handy. So the console can be ... which sometimes takes some time. I use version 2021.1 update 5 regards pudong

asked Mar 12 by pudong (560 points)
0 votes
1 answer

Hi, We've recently started seeing users get 'Unable to connect to nearest Adaxes service' errors when accessing the Adaxes web portal. It's far too vague\random to have an idea ... last night to see if that fixed it, but we have had the issue again today.

asked Dec 13, 2013 by firegoblin (1.6k points)
0 votes
1 answer

Can I manage the user that is user by Adaxes to connect to Active Directory with Privilege Access Management (PAM)? Since this user can change user's password, ... would like to manage this user so that PAM can change/rotate the password periodically

asked Nov 18, 2021 by fachmi (170 points)
0 votes
1 answer

Hi I'm trying to connect to remote Adaxes service from C# program. Using sample code from "Writing ADSI scripts" page in the docs. Added DLLs, here is my code: static void Main( ... adsNS = new AdmNamespace(); I'm not sure which config file it's asking for. V.

asked Feb 5, 2018 by xirurg (100 points)
0 votes
1 answer

When running a PowerShell script as an action in a custom command, you can set the script to run as a different account and then use the RunAs property in the ... Is there another way to get the Adaxes service account's credentials from within the script?

asked Mar 31 by KelseaIT (320 points)
2,779 questions
2,512 answers
26,891 users