In order to install PnP JS for Node use npm i @pnp/graph-commonjs @pnp/nodejs-commonjs @pnp/logging --save In order to install Azure Storage library use npm i azure-storage --save In order to install Graph types use npm i @microsoft/microsoft-graph-types --save-dev Register the AAD application and add the requested permissions according to subscription