Visit the azure portal and ensure you have an azure account as well as a subscription.
Install the Azure Command Line Interface from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
At this point, ensure the az command is installed:
Login to your Azure account
Get the subscriptionId from the following command:
Create a service principal name for instance sp1 to manage new resources:
Save somewhere the appId and the password