At the European SharePoint Conference 2017 in the Hackathon results session, Waldek Mastykarz from the PnP team announced the Office365 CLI which gives you the ability to manage an Office 365 on any platform.
We had the idea to run this inside the Azure Shell, giving you the ability to manage the Office 365 platform on any device including mobile Azure app. Awesome!
Initially, this proved to be challenging at the start because running the npm install with the global flag generates an permissions denied error and the command requires elevation.
It doesn’t appear to be a feature of the shell to let the user elevate so we were stuck on installing this package; but we managed to find another Microsoft resource to change the NPM config and run the installation and the Office 365 CLI in the Azure Shell.