0 votes

Hi,

I'm not sure if I am missing something simple? Can you please tell me how I view the audit history of changes made to objects performed via the Adaxes PowerShell module.

For example if i run the following;

#Get my user
$me = Get-AdmUser -Identity "CN=Me,OU=Users,DC=my,DC=domain"
#Add to my group
Add-AdmGroupMember -Identity "CN=MyGroup,OU=Groups,DC=my,DC=domain" -Members $me

The addition of my user to my group is not shown in the operation log...

by (370 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello Sam,

The thing is that cmdlets can perform operations in 2 modes: changes can be made directly in AD or via an Adaxes service. If changes are made directly in AD, Adaxes service is not used, and such operations neither appear in Adaxes logs, nor trigger Business Rules. To perform operations via an Adaxes service, pass the service address via the -AdaxesService parameter, for example:

Add-AdmGroupMember -Identity "CN=MyGroup,OU=Groups,DC=my,DC=domain" -Members $me -AdaxesService localhost

Related questions

0 votes
1 answer

I have to generate an Excel sheet populated with some users informations. It works on the server itself, but not when i run it via Custom commands. There is the code that ... it does'nt open and throws an error : How to interact with com objects on Adaxes?

asked Nov 29, 2021 by diaz801 (20 points)
0 votes
1 answer

I would like to know how to connect to Azure AD using Adaxes. I've already followed the instructions to connect to AAD using an application ID for Adaxes, but how can I ... place as the script is executed, much like what you see in a normal Powershell command?

asked Sep 2, 2022 by andreashalkias (50 points)
0 votes
1 answer

I have tried it using the Custom Commands Action "Add the user to a group", which only allows me to add the user to one group at a time, and can't use the multiple DNs that the ... I can't get it to work. Could you assist me in finding the best way to do this?

asked Jan 16 by dominik.stawny (280 points)
0 votes
1 answer

Is it possible to disable the logging of a specific Business Rule on the web interface? I see the option "Show Execution Log", which I've set to "Only if it contains errors or ... to see any of the logs of the Business Rules. Is it possible to turn if off?

asked Feb 13, 2014 by sdavidson (730 points)
0 votes
1 answer

This may sound a little convoluted, but I will try and explain. I'd like to have an operation require approval by a group. And if the initiator is a member of that group, I don ... into it at a new company. I've got to dust off some of the brain cells. Thanks.

asked Jul 17 by wd.swaters (40 points)
3,550 questions
3,241 answers
8,235 comments
547,827 users