title: How to authenticate to Azure REST API using username and password (no App Id)
body: <p>I need to acquire access token for accessing resources in Azure (<a href="https://management.azure.com" rel="nofollow noreferrer">https://management.azure.com</a> endpoint) using REST API. Every article a have read, was counting with Appliction Id. In my case, the Azure tenant was just created (programatically) and I have to create some resources in it.</p>
  
  <p>Only thing I have is tenant id, subscription id, user name and password of admin account. How can I authenticate using only information I have? How it works in PowerShell, that does not need to use an Application Id?</p>