question

ExUser44-0578 avatar image
0 Votes"
ExUser44-0578 asked LucasLiu-MSFT commented

Query on accessing Exchange on-premises mailbox with a profile creating with an Exchange online user

Hi Team,

We are working on analysis/development activities for our archiving solution which is planned to support Hybrid MS Exchange as a source. To achieve communication with the exchange server, our application uses the Outlook profile through MAPI. In the profile, we have added the email of the Exchange Online user. Our solution works fine if the archival source is an exchange online user mailbox. When we changed the source to an on-prem user mailbox, our application failed to process the mailbox. Hence we tried the below steps:
1. Created profile with online user email (say online-user@company.com)
2. Added O365 license and gave full access on the on-prem user (say onprem-user@company.com) to online-user@company.com
3. Added onprem-user@company.com mailbox manually to the created profile and logged in with online-user creds in windows creds pop-up

After performing the above steps, our application was able to process the on-prem user mailbox. We would like to know if the above is the right approach for establishing a connection between online and on-prem users and mailboxes? Or is there any other approach possible? Please advice.

Thanks!

office-exchange-hybrid-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered LucasLiu-MSFT commented

Hi @ExUser44-0578 ,
Does your application work according to using Outlook profile? If so, your solution is feasible, when assigning the "Full access" permission of the on-premises mailbox to the mailbox in Exchange Online. The on-premises Exchange mailbox will be added to the Outlook profile of Exchange online mailbox. Then the mailbox auto-mapping feature uses the Autodiscover to automatically open the mailbox in the delegate’s Outlook profile. But “Full Access” allow the delegate to open the mailbox, and view, add and remove the contents fo the mialbox, so please pay attention to the information security of your on-premises mailbox after assigning permissions.

In addition, considering that you are in an Exchange Hybrid environment, migrating mailboxes to Exchange online is also a solution.



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ExUser44-0578 ,
I am writing here to confirm with you how thing going now? If the above suggestion helps, please click “Accept as answer” to mark helpful reply as an answer.Your action would be helpful to other users who encounter the same issue and read this thread.
Thanks for your understanding.



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·