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 (270k 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 (550 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, 2022 by KelseaIT (320 points)
0 votes
1 answer

Changing the "Forgot your password?" text.

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

Using this built in function: There is no option to change the domain on the user account, however this is not the domain we use for UPN. However after creating a user, you can change it but trying to avoid going back into the object.

asked Apr 14, 2023 by mightycabal (1.0k 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, 2022 by sandramnc (870 points)
3,326 questions
3,026 answers
7,727 comments
544,678 users