It was using a preliminary version of MSAL (named ADAL experimental) which is no longer supported.
You'll alternative examples using MSAL here
If you really wish to view the archived sample, please switch to the archive branch. This code is no longer maintained and functionality is not guaranteed.