0 votes

I'd like to run code against the Adaxes service but need to pass my Admin credentials.

How do I send different creds than the current user?

by (790 points)

1 Answer

0 votes
by (226k points)

Hello,

After connecting to Adaxes service, you can call the OpenObject method to bind to an object with the credentials of a specific user. If that is not what you need, please, specify what exactly the script should do and we will help you. If you already have the script and the credentials part is the only thing that requires updating, please, post the script here or send it to us (support[at]adaxes.com).

0

When I run commands like Get-ADMUser I am running it the currently logged in user.

I guess I use the credentials switch.

I was wondering if there was an overall way of connecting to the Adaxes service first then all commands after were for that authenticated user.

0

Hello,

I guess I use the credentials switch.

That should work just fine.

I was wondering if there was an overall way of connecting to the Adaxes service first then all commands after were for that authenticated user.

Unfortunately, there is no such possibility.

Related questions

0 votes
0 answers

You do not need to create a trust between AD domains to manage them with an Adaxes service. When registering an AD domain, an account with administrative permissions ... control the user access to the managed resources, the Adaxes service uses Security Roles.

asked Apr 29, 2009 by Adaxes (380 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)
0 votes
1 answer

Changing the "Forgot your password?" text.

asked Mar 10, 2020 by msylvester (60 points)
0 votes
0 answers

We are in hybrid mode with 365. All the accounts we create have to made with a .com instead of .local. How can I make that change in adaxes? Or is this some default I need to change in AD instead?

asked Apr 11 by LEGIT1 (120 points)
0 votes
0 answers

When the UPN being created is the same as an existing one except for the case. For instance, the new UPN is sally.fields but there's an existing Sally.Fields. The ... but then fails to create the AD account indicating that the UPN is not unique forestwide.

asked Jul 13 by sandramnc (820 points)
2,779 questions
2,512 answers
6,576 comments
26,881 users