0 votes

I'm trying to run a find starting at a certain OU of the tree to include only user accounts that are not disabled, and then I want to export that to Excel for someone else to mess with.

I've run into a couple problems.

Problem #1 is that no amount of filtering on User Properties is allowing me to exclude disabled accounts. As best I can tell, I need to set "Account Options" and then "not equals" either "Account is Disabled" or "Account is Locked", but this doesn't work (the results pane still lists accounts that are disabled).

Additionally, when I export to Excel, I am only interested in first/last name, e-mail address, a few other basic attributes ("Company," "Title," etc) plus I need to know what OU the account is located in. During the export process I can specify that I only want certain columns/attributes, but the "ou" attribute is blank on all of the exported records. :? I can obviously look at the DN column in the export, but that also contains the user's name so it isn't easy to sort on that column without first running the column through some scripting to chop off the first portion of the DN entry, which is a pain.

Any thoughts?

by (260 points)

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Hi there, I've a business unit containing all shared mailboxes. In The Admin Console the filter is okay and the affected objects show the accounts: But when ... provide a list of all shared mailboxes (which are disabled aswell). Kind regards Constantin

asked May 28, 2021 by Constey (190 points)
0 votes
1 answer

I'm evaluating Adaxes. I have no business rules enabled. When I create a new user in the web interface the account is disabled after creation. Is this normal for Adaxes? In the management console it is not disabled by default.

asked Aug 7, 2020 by ComputerHabit (790 points)
0 votes
1 answer

https://www.adaxes.com/script-repository/remove-all-group-memberships-for-a-user-account-s33.htm I found this script but it only removes 365 groups, security groups, and ... user from all shared mailboxes they are a member of when disabling a user. Thanks!

asked Sep 8, 2023 by silicondt (60 points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
0 votes
1 answer

I'd like to be able to either send an email report or export a CSV of all of the business rules carried out when a user is disabled. This would be ... Management Activity section but this includes things that weren't part of the disable operation. Thanks

asked Feb 19, 2020 by bavery (250 points)
3,538 questions
3,229 answers
8,224 comments
547,751 users