Exchange Online EWS doesn't work

Problem

Exchange Online EWS doesn't work. The reason for that could be that you use the Exchange Online Kiosk license, which doesn't support EWS Applications. 

Solution

This is quite easy to solve, use an Exchange Online Plan 1/Plan 2 license, and then you shouldn't have any further issues. To learn more about which license supports which functionality, click here.