title: Unable to access other users Office 365 inbox using redemption
body: <p>I have a program that uses redemption to access users inbox items.  The program works on in house Exchange server no problem.  However, we are in the process of moving to O365. We are trying to convert the program to connect to Office 365.  It works for the user that is logged into the PC and has Outlook setup.  When I try to access another users mailbox in Exchange online that I have full access permissions to I get an Error in IMAPISession::OpenMsgStore: MAPI_E_LOGON_FAILED".  </p>
  
  <p>Has anyone got this to work?  Are there any permission other then full access I need to assign?  Let me know what experience you have had. </p>
  
  <p>Here is the code for the connecting.</p>
  
  <pre><code>rdsSession.LogonHostedExchangeMailbox("user@domain.com", "user@domain.com", "Password")
  </code></pre>
  
  <p>The error occurs on this line when trying to get the inbox. </p>
  
  <pre><code>rdfFolder = rdsSession.GetDefaultFolder(rdoDefaultFolders.olFolderInbox)
  </code></pre>
  
  <p>If I put my account in there it works. Another users account with full access it doesn't. </p>
  
  <p>Thanks</p>