Home

Exchange Web Services - Admin Account but without License

%3CLINGO-SUB%20id%3D%22lingo-sub-768870%22%20slang%3D%22en-US%22%3EExchange%20Web%20Services%20-%20Admin%20Account%20but%20without%20License%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-768870%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20call%20the%20Exchange%20Web%20Services%20using%20an%20unlicensed%20Exchange%20Administrator%20account%20%5Bunlicensedexchangeadmin%40test.com%5D%20to%20list%20all%20public%20folders%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EScenario%3A%20Listing%20Public%20Folders%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E1.%20Using%20the%20Exchange%20Admin%20Center%20with%20the%20unlicensed%20Exchange%20Administrator%20account%2C%20I%20can%20list%20the%20public%20folders.%3C%2FP%3E%3CP%3E2.%20Using%20the%20EWS.GetFolder%20with%20the%20same%20credentials%2C%26nbsp%3BErrorNonExistentMailbox%20was%20returned%20and%20no%20folders%20were%20listed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EChristle%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-768870%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EEWS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-769706%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Web%20Services%20-%20Admin%20Account%20but%20without%20License%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-769706%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F345490%22%20target%3D%22_blank%22%3E%40Christle_Carabeo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EMake%20sure%20the%20Administrator%20account%20running%20the%20EWS%20script%20has%20ApplicationImpersonation%20permissions.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHave%20you%20checked%20the%20below%20threads%20%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54635471%2Fwhy-does-ews-api-returns-errornonexistentmailbox-error%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F54635471%2Fwhy-does-ews-api-returns-errornonexistentmailbox-error%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcs.mailstore.com%2Findex.php%3F%2FKnowledgebase%2FArticle%2FView%2F112%2F4%2Fews-error-code-errornonexistentmailbox%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcs.mailstore.com%2Findex.php%3F%2FKnowledgebase%2FArticle%2FView%2F112%2F4%2Fews-error-code-errornonexistentmailbox%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-770812%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Web%20Services%20-%20Admin%20Account%20but%20without%20License%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-770812%22%20slang%3D%22en-US%22%3ESince%20the%20unlicensedexchangeadmin%40test.com%20account%20doesn't%20have%20a%20license%2C%20adding%20it%20to%20the%20ApplicationImpersonation%20permission%20still%20returns%20ErrorNonExistentMailbox.%3C%2FLINGO-BODY%3E
Christle_Carabeo
Occasional Contributor

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
Since the unlicensedexchangeadmin@test.com account doesn't have a license, adding it to the ApplicationImpersonation permission still returns ErrorNonExistentMailbox.
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies