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
Solved

Query Exchange for unread email count

Posted on 2010-09-15
1
1,129 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 500 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

856 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