EWS Outlook 365 when uses 2 pass login RRS feed

  • Question

  • Hi,

    not sure how to put this but I will try, I have the code working in VB for sending emails via EWScore.dll for Outlook 365 where users login the portal system with a email then password.

    The issue I am having is that with my works account when I goto the portal, I use the email address no password, it then re-directs to another login page where I use a different email address and also a password, this then loads up my account and I have to select outlook from available applications to use email.

    when I try and login with either email address and password as credentials I get 401 error.

    Anyone have any ideas

    Tuesday, July 16, 2019 3:45 PM

All replies

  • 1. Choose a different existing account or create a new account on Office 365.

    2. Make sure the account is fully mailbox-enabled, i.e.:
    - Log in to OWA 365 with this account’s credentials.
    - Set the regional settings if prompted to do so.
    - Send an email to yourself or to another account and confirm it was delivered.

    3. Assign the Global administrator role in Office 365 to this account.

    4. Use this new account in our program.

    Hope it works!


    Tuesday, July 16, 2019 5:45 PM
  • Thank you,

    As this is a works account I don't have any control over it and I am not able to create a new account, I also don't have admin privileges.

    Thursday, July 18, 2019 3:06 PM