Forum Discussion

Christle_Carabeo's avatar
Christle_Carabeo
Copper Contributor
Jul 23, 2019

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

2 Replies

  • Kevin_Morgan's avatar
    Kevin_Morgan
    Iron Contributor

    Christle_Carabeo 

     

    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

    https://cs.mailstore.com/index.php?/Knowledgebase/Article/View/112/4/ews-error-code-errornonexistentmailbox

    • Christle_Carabeo's avatar
      Christle_Carabeo
      Copper Contributor
      Since the unlicensedexchangeadmin@test.com account doesn't have a license, adding it to the ApplicationImpersonation permission still returns ErrorNonExistentMailbox.

Resources