Authentication with MS ADAL getting error for using version 2

I’m using MS ADAL for login authentication in ionic 3. getting error :

We are unable to issue tokens from this API version for microsoft account…
use version 2.0 of the protocol to support this.

my code:

let authContext: AuthenticationContext = this.msAdal.createAuthenticationContext(‘https://login.windows.net/common’);
authContext.acquireTokenAsync(‘https://graph.windows.net’, ‘4324dsad-b5c3’, ‘http://localhost:8000’,“”,“”)
.then((authResponse: AuthenticationResult) => {
console.log(‘Token is’ , authResponse.accessToken);
console.log(‘Token will expire on’, authResponse.expiresOn);
})
.catch((e: any) => console.log(‘Authentication failed’, e));

what i need to change ?