Firstly, it's required to install Microsoft’s module ember-cli-azure-deploy. You need to be in your application root directory.
npm install --save-dev -g ember-cli-azure-deploy
azure-deploy init
If you are using Yarn package manager you can simply install by:
yarn global add ember-cli-azure-deploy
azure-deploy init
This will create a deploy.sh in your project's root folder, enabling Azure to follow a set of instructions - including installing all the required Node Modules, running ember build and deploying the resulting dist/ folder to your website's wwwroot.