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

We would like to be able to export logs from the Adaxes service? Is there a way to do this either through the service or reporting?

asked Oct 31, 2022 by scoutcor (120 points)
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, 2022 by pudong (670 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

We are planning to use Adaxes in our environment and before proceeding, we need to understand the firewall port requirements for Adaxes service to work. What are the firewall ports needed between Adaxes and AD domain controller?

asked Jan 24 by Renugopal (120 points)
3,411 questions
3,108 answers
545,850 users