0 votes


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 (320 points)

1 Answer

0 votes
by (215k 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

Is it possible to connect to the Microsoft 365 Security & Compliance center through a PowerShell script? We are trying to configure users that belong to a ... department for a retention policy through the use of the Set-RetentionCompliancePolicy command.

asked Jan 3 by scoutcor (100 points)
0 votes
1 answer

I am trying to connect to teams via powershell in adaxes to run the following commands. Set-CsUser -Identity <UPN> -EnterpriseVoiceEnabled $true -HostedVoiceMail $true ... (policyname)" I am not able to run the following though, Connect-MicrosoftTeams

asked Apr 22, 2021 by TJ_Umredkar (130 points)
0 votes
1 answer

Hello, is there a way to save powershell variable to axases attribute and send it via "send email notification" in Scheduled task? for example, check if Office 2016 ... .name) installed"} ` then add $customattrib value to Send email notification. Thank you

asked Feb 13, 2020 by vheper (20 points)
0 votes
1 answer

I have a scheduled task that runs a Powershell script against an AD group, "Group 1". I need to get all of the members of Group 1, and add them to Group 2. The ... identity in the error message start with 'user;'? What is the correct way to accomplish this?

asked Aug 27, 2019 by ngb (70 points)
2,640 questions
2,375 answers
985,804 users