Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How can I use applicaitonimpersonate role on a on-premise application to update calendars in Office 365?

Posted on 2015-02-20
1
Medium Priority
?
76 Views
Last Modified: 2015-03-03
We are in the process of moving to Office 365, currently have Exchange 2013 servers on-premise.
We have an on-premise application that uses the applicationimpersonate role to update user's calendars.
We want to be able to use this same on premise application when we move our mail boxes to O365.
We will retain an on premise Exchange server to relay SMTP email from local servers to O365 mail boxes.

We currently are testing with a MS O365 trial. I have set up an admin role for applicationimpersonate and added a member to this role in O365.
Below is what I put in for the Exchange/impersonation information in my application web.config:

  <add key="ExchangeServerUrl" value="https://onpremise servername/ews/exchange.asmx" />
  <add key="ExchangeServerUserId" value="O365Account name"/>
  <add key="ExchangeServerPassword" value="PW"/>

We are getting 401:Unauthorized message back  from the EWS.

I believe we need to set up a domain/forest trust between our on premise and the O365 environment but not sure.

Any suggestions on what we need to get this applicationimpersonate role to work with our on premise application and O365 will be greatly appreciated.

Thank you,
0
Comment
Question by:swfwmd2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 43

Accepted Solution

by:
Vasil Michev (MVP) earned 1500 total points
ID: 40622866
Just create a O365 account and grant him the Impresonation role in the Exchange Online EAC. I dont think you will be able to make it work in any other way, hybrid or not.

The EWS URL you need is https://outlook.office365.com/EWS/Exchange.asmx
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question