danxfisher / MeetEasier

MeetEasier is a web application that visualizes meeting room availability. It works using Exchange Web Services (EWS) with Exchange room lists in Office 365.
GNU General Public License v3.0
279 stars 75 forks source link

Error in calling service, error code:401 #32

Open FranBurgos opened 6 years ago

FranBurgos commented 6 years ago

Hello there! When I run the application but the website just loads the navbar: captura de pantalla de 2018-07-25 12-37-56

and the console returns: captura de pantalla de 2018-07-25 12-41-21

I've also checked the exchange organization config and EWS parameters are: captura de pantalla de 2018-07-25 12-44-13

I checked my credentials as well, I don't know what happens... I've spent one week with this problem. Any idea??

Thanks a lot!!

chappers73 commented 6 years ago

Any luck, I am struggling too. I have tried the connectivity tool (https://testconnectivity.microsoft.com/) and it appears to work correctly. I don't have a room list, is this a requirement? Still get 401 every time, not sure what I am missing?

image

chappers73 commented 6 years ago

Any update? I have other services/apps that work but I must be missing something? I have added impersonation etc to the Office365 config, added the RoomList via PowerShell, still no luck, same error 401.

chappers73 commented 6 years ago

Fixed it, 2 things. 1. Removed the code process.env.USERNAME ||, PASSWORD & DOMAIN from auth.js and 2. Added the username I chose as a delegate to the rooms giving then full permissions. Incredible when it works, what great work! Many thanks.

agusmanfajri commented 4 years ago

hello chappers73,

can you capture the auth.js that changed, and do you add roomlist from o365 or powershell?

patrick-schwyter commented 4 years ago

Hello I have the same problem, could you solve the problem in the meantime?

appsectr commented 4 years ago

Is it working on on-prem exchange?