Forum Discussion
Christle_Carabeo
Jul 23, 2019Copper Contributor
Exchange Web Services - Admin Account but without License
Hi,
Is there a way to call the Exchange Web Services using an unlicensed Exchange Administrator account [unlicensedexchangeadmin@test.com] to list all public folders?
Scenario: Listing Public Folders
1. Using the Exchange Admin Center with the unlicensed Exchange Administrator account, I can list the public folders.
2. Using the EWS.GetFolder with the same credentials, ErrorNonExistentMailbox was returned and no folders were listed.
Thanks,
Christle
- Kevin_MorganIron Contributor
Make sure the Administrator account running the EWS script has ApplicationImpersonation permissions.
Have you checked the below threads :
https://stackoverflow.com/questions/54635471/why-does-ews-api-returns-errornonexistentmailbox-error
- Christle_CarabeoCopper ContributorSince the unlicensedexchangeadmin@test.com account doesn't have a license, adding it to the ApplicationImpersonation permission still returns ErrorNonExistentMailbox.