For a more current .NET sample that uses Microsoft Graph, please see the ms-identity-dotnet-native-uwp sample. Microsoft Graph is the recommended API for future development.
If you really wish to view the archived sample, please switch to the archive branch. The required SDK no longer available. This code is no longer, maintained and functionality is not guaranteed.