Logging in to Azure
Authentication and logging-in to Azure
"<TenantId>" is something like "adadadad-adad-adad-adad-adadadadadad"
"<ApplicationId>" is something like "40302010-feda-deaf-beef-deadbeef0123"Setup service principal in Powershell
Install Azure Powershell according the docs
# Install the Azure Resource Manager modules from the PowerShell Gallery
Install-Module AzureRM
Install-AzureRM
Install-Module Azure
Import-AzureRM
Import-Module AzureCreate a certificate using makecert.exe
makecert.exeFiddle with PowerShell
Fill in your Azure details
Powershell / X509
Powershell / Password
Azure XPLAT CLI / X509
Azure XPLAT CLI / Password
Registering Azure Germany under the hood
Setup of a Service Principal in Azure Active Directory (AAD)
Loggin in interactively
A few variables to start with
Get the user's interactive password into the Powershell environment
Login to Azure with the interactive credential
Register the application
Create the Azure AD application
Promote the app to become a service principal
Tell Azure that the service principal can manage my subscription
Use that service principal to log-in to Azure
Use that service principal to log-in to Azure using Powershell
Use that service principal to log-in to Azure using node.js / azure-cli
Add mgmt cert to Azure Germany via ASM API
Update Azure CLI 2.0 (Python) and change cloud
Use fiddler or mitm
Signin via service principal and debug a session
See the latest accessToken
Set Windows Proxy information
Last updated