cancel
Showing results for 
Search instead for 
Did you mean: 

Search() API throws Access denied exception

savari_Raja
Not applicable
I'm trying to search the archives through IndexSearch2.Search() API which throws an UnathorizedAccessException

I found the following error message in the system event log after I invoke the Search() API
Search request refused because the user does not have sufficient permissions to search any folder in the archive.

User: TESTDOMAIN\Administrator
Required Permissions: Read
Archive: ex3user3
Archive Id: 10F7D1CBC20362245A8CD814C59D631B61110000ExchangeVault.testdomain.local

How do I changed the permission for Administrator to access the archive?

thanks
*Savari
1 REPLY 1

Jason_Szeto
Level 6
Have you tried giving permissions to the administrator account for that archive?

Also try changing your code to run your search as an account who has permissions.