Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Query Exchange for unread email count

Posted on 2010-09-15
1
Medium Priority
?
1,143 Views
Last Modified: 2012-05-10
First thing, I am able to successfully query exchange and retrieve a user's unread email account if I have their user name and password. I pulled the code from a forum post and re-worked it slightly using VB.net and everything is working fine.

Here is the issue: We want to move to dual authentication for our Intranet (Forms & Windows) and I have a solution working, but the users are not required to provide their passwords anymore since we are automatically logging them in with their Windows account, provided they are logged into our network. So I am no longer able to pull their unread counts. If I try to use another account, the server returns authorization errors.

Here is the question: Is there a way to create some sort of account that is able to query any account on the Exchange server?

What are the drawbacks to creating such an account, if one exists?
Will this user have complete access to everyone's email accounts?

Thanks in advance
0
Comment
Question by:dthevis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
Mkris9 earned 2000 total points
ID: 33682861
You can create an account and give it exchange full administrator or exchange organisation administrator role.

http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/exchange-2007-permissions-and-roles-part1.html

once given, the account will have full rights to the users mailboxes. Hence will have to be very careful.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question