On Fri, 22 Jun 2012 16:46:48 +0000, Troy12n wrote:
>On Thu, 21 Jun 2012 21:02:05 +0000, Troy12n wrote: >I think the publicdelegatesBL AD attribute will get us where we need to be. I don't think so. Right idea, but the wron property. >I was able to get what I need through powershell. Unfortunately since
it's in fully quallified LDAP format, it's going to be a little more work, but hey, it's a start. Thanks for the advice. The publicDelegatesBL contains the name(s) of the mailbox(es) on which this mailbox has been named as a delegate. The publicDelegates contains
the addresses of mailboxes that ARE delegates on this mailbox. If "Mailbox1" had two delegates ("Mailbox2" and "Mailbox3") then: publicDelegates on Mailbox1 contains "Mailbox2" and "Mailbox3" publicDelegatesBL on Mailbox2 contains "Mailbox1" publicDelegatesBL
on Mailbox3 contains "Mailbox1"
>
>While true, you have to realize my issue is that I am looking for bogus delegations for users who no longer exist.
Oh, believe me, I know. I know.
>IE: Their AD account has been deleted, so I cant find the publicDelegates attribute on an AD account that does not exist in my AD can I?
No, but your problem isn't with the presence of the publicDelegates
property on an existing mailbox, it's the *contents* of the
publicDelegates property.
If the delegate's mailbox has been removed the publicDelegates
property is still going to contain the DN of the AD user to which the
mailbox belonged.
When you remove the delegate from the AD the DN will be removed from
the publicDelegates property on the mailbox. The delegate WILL NOT be
removed from the mailbox (note the difference between the
publicDelegate property in the AD and the contents of the mailbox).
>By using publicDelegatesBL, I can find these,
No, I'm afraid you can't. The publicFolderBL property would be on the
AD user that's been removed from the AD (i.e. the missing delegate),
and when the AD user was deleted the contents of the publicDelegateBL
property was used to find all the mailboxes on which that user was a
delegate and then the AD removes the user's DN from the mailbox's
publicDelegates property. At this point the AD is useless for finding
mailboxes that named the deleted AD user as a delegate.
>with a little extra work find who has delegates for deleted users. Which is what is causing my issue.
You can try this:
http://gsexdev.blogspot.com/2006/08/reporting-on-meeting-delegate-forward.html#!/2006/08/reporting-on-meeting-delegate-forward.html The problem here is that you can't install CDO 1.2 on a machine that
has the Exchange 2003 management tools on it, and you can't install
CDO 1.2 on a client machine that has Outlook 2010 on it.
If you find yourself in that situation you can use another version of
the script that uses Redemption:
http://gsexdev.blogspot.com/2005/10/reporting-on-forwarding-rules-in.html#!/2005/10/reporting-on-forwarding-rules-in.html I had to fiddle with this one for a bit to make it work. You may have
to, too. But at least you'll be able to get a list of all the rules
that are either a "Delegate-Forward-Rule" or a "Forward-Rule".
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Need to support users over the internet?
click here try our remote control online beta