import * as msRestNodeAuth from "../lib/msRestNodeAuth" ; import * as dotenv from "dotenv" ; dotenv . config ( ) ; async function main ( ) { try { const authres = await msRestNodeAuth . interactiveLogin ( ) ; console . log ( authres ) ; } catch ( err ) { console . log ( err ) ; } } main ( ) ;