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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in calling service, error code:401

FranBurgos opened this issue · comments

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!!

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

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.

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.

hello chappers73,

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

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

Is it working on on-prem exchange?