Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Query Exchange for unread email count

Posted on 2010-09-15
1
Medium Priority
?
1,157 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
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

916 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