ews api get folder operation misbehave when using email alias

Joyce Beck 31 Reputation points
2024-02-16T02:47:41.6633333+00:00

We have an outlook licensed account whose mailbox is A, and it's alias mailbox is set as B. Moreover, we have an unlicensed mailbox with same name B. When we use GetFolder operation with impersonation being A and mailbox being B, we can get the archive message folder root of A. However, if we use it with impersonation being B, then we'll get access denied. Is it possible that B is incorrectly linked to A? In our opinion, it should simply show mailbox not enabled or not found error instead of the access denied error. Thank you~!

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,379 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,626 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
521 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
421 questions
{count} votes