I have checked this by changing the protocol settings through ADUC several times and results are correct to my understanding!!!!
That will so NOT work if they've ever made any changes to their protocol settings in ADUC. You have to parse the blob to get it right.
Use the below CSVDE query to export a list of users who have OWA enabled…
csvde -f owa.csv -r "(&(objectCategory=person)(homeMDB=*)(protocolSettings=*HTTP§1§1§§§§§§))" -l givenName,sn,initials,displayName,mailnickname,telephoneNumber,mail
From: exchangelist-bounce@xxxxxxxxxxxxx [mailto:exchangelist-bounce@xxxxxxxxxxxxx] On Behalf Of syed faizan
Sent: Saturday, May 19, 2007 12:16 PM
Subject: [ExchangeList] OWA Query
Could some one please help me out with a query which lists all users whose
OWA is enabled in Exchange Server 2003 Ent Edition
This is urgent