3cx office 365 Impersonated Account

Discussion in '3CX Phone System - General' started by Mickel den Ouden, Mar 20, 2018.

Thread Status:
Not open for further replies.
  1. Mickel den Ouden

    Joined:
    Sep 28, 2017
    Messages:
    4
    Likes Received:
    0
    I have a 3cx version 15.5.93.48.3.

    I want to have my office 365 contacts in 3cx.
    I followed the guidelines in https://www.3cx.com/docs/how-to-create-impersonated-user/

    after that i followed this link https://www.3cx.com/docs/manual/phonebook-directory/

    Configuring the Exchange Connector (MS Exchange Sync)

    But the contacts wil not turn up in my 3cx.

    After i have dowloaded the 3cxSystemService.log i found the following error:

    018/03/20 13:56:49.479|10658|0054|Excpt|Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The remote server returned an error: (401) Unauthorized. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

    Can somebody tell me what the problem is ?
     
  2. Mickel den Ouden

    Joined:
    Sep 28, 2017
    Messages:
    4
    Likes Received:
    0
  3. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,146
    Likes Received:
    85
    Moving back to the General forum, as the question is not related to a CRM plugin, but to the contact synchronization feature.

    You're getting a 401 Unauthorized error, that means a problem with the credentials provided, or the user not having permissions to access the resources you're trying to access...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Mickel den Ouden

    Joined:
    Sep 28, 2017
    Messages:
    4
    Likes Received:
    0
    Do i need to turn off the advanced security in office 365 and use the basic to makes this work on a linux based 3cx ?
     
  5. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,203
    Likes Received:
    82
    this has nothing to do with it, but depending on the user you created or use for the impersonation, I would reuse already a user you have to save on the fee, be sure that the user account is licensed to use the exchange service!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Mickel den Ouden

    Joined:
    Sep 28, 2017
    Messages:
    4
    Likes Received:
    0
    If I have only one user in office 365 do i also need to make a impersonated-user or can i just use that one user with login and credentials ?
     
  7. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,203
    Likes Received:
    82
    you can use any account you have - which is entitled to access exchange.
    This can be a dedicated user (advice for a local exchange) or an existing (advised for office 365 to save $$$). Just note, if you change the password, change it also in the PBX!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.