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 (160 points)
0 votes
1 answer

How do we use a cached Azure AD token to change a user's Distribution List membership on Exchange Online via a PowerShell script, as opposed to always requesting a new token?

asked Nov 4, 2022 by MShep (80 points)
0 votes
1 answer

Hi Adaxes, I'm struggling to create an AD user in Adaxes via PowerShell, here's part of the script I have, the user information is coming from a REST API ... checked the OU and there's no property patterns applied (was thinking there were some requirements)

asked Aug 23, 2022 by richarddewis (260 points)
3,351 questions
3,052 answers
7,791 comments
545,079 users