Create Your Microsoft Account and Azure Subscription Safely
To start Azure, you need an identity and an Azure subscription. A Microsoft account or organizational work account proves who you are; the subscription defines billing, quotas, and a management boundary. Signup may require a phone and payment card for identity verification even when you choose an eligible free offer.
Time: 15–30 minutes · Cost: signup can be free, but later resources may be billable · Do not do: never share a verification code or let a tutorial submit payment details for you.
Which Azure account option should you choose?
Open azure.microsoft.com/free. Microsoft currently routes this to its Azure account purchase-options page. Read the current offer terms in your country; credits, free-service quantities, eligibility, and dates can change.
Microsoft Azure account page showing Pay as you go and Try Azure for free options
Choose an eligible free account for guided learning when the current terms fit you.
Choose pay as you go if you are not eligible or need continued usage.
Use an Azure for Students offer only if you meet its current requirements.
Use an employer-provided subscription only with permission and within its policy.
The free offer is not a promise that every resource is free. A service can exceed a free quantity, use a paid SKU, create dependent resources, or remain running after a tutorial.
How do you create a Microsoft account?
Select the relevant signup option on the Azure account page.
At Microsoft sign-in, enter an existing Microsoft or organizational account.
If you do not have one, select Create one and follow Microsoft's identity steps.
Use a unique password and enable multifactor authentication.
Record recovery methods in a secure place you control.
Microsoft Azure sign-in page with email field and Create one link
Do not put a shared training subscription under an employee's personal identity. Organizations should establish ownership, at least two emergency-access identities, billing contacts, and a documented handover process.
How do you complete Azure signup?
The exact sequence varies by offer and country, but normally includes:
Profile and contact information.
Phone verification.
Card verification where required.
Agreement to the current subscription terms.
Creation of a directory and subscription, or attachment to an existing tenant.
Read each consent and price statement yourself. This book cannot safely click acceptance, enter a card, or create a paid subscription for you.
How do you confirm that signup worked?
Ways to build
Choose the Azure tool you want to use. The underlying resource stays the same.
Write down its friendly name, not its full ID, in your private lab notes.
Open Microsoft Entra ID → Overview and note the directory's display name.
Azure CLI
The portal can show more than one directory or subscription. Confirm the active subscription before every lab:
bash
az login
az account list --output table
az account show --output table
If several subscriptions appear, select one deliberately:
bash
AZURE_SUBSCRIPTION="Your subscription name or ID"az account set--subscription"$AZURE_SUBSCRIPTION"az account show --query'{name:name,id:id,tenantId:tenantId}'--output table
Azure PowerShell
powershell
Connect-AzAccountGet-AzSubscription|Select-Object Name, Id, TenantId, State
Set-AzContext-Subscription "Your subscription name or ID"Get-AzContext|Select-Object Name, Subscription, Tenant
Subscription and tenant IDs are identifiers, not passwords, but they still reveal environment structure. Do not publish them unnecessarily.
Can signup be done with CLI, PowerShell, Bicep, or Terraform?
Not as an equivalent self-service flow. Identity proof, payment verification, and acceptance of commercial terms are intentionally interactive. Enterprise billing systems expose additional APIs, but automating consumer signup is outside this book and should not be used to bypass eligibility or controls.
After the subscription exists, CLI, PowerShell, Bicep, Terraform, SDKs, and REST are appropriate for resource management.
What security checks should happen immediately?
Enable MFA for the identity.
Review Microsoft Entra ID → Users and remove anything unexpected.
Review Subscriptions → Access control (IAM) → Role assignments.
Avoid using the subscription Owner role for daily work.
Create a budget before the first billable lab.
Never paste an access key into a chat, screenshot, issue, or Git repository.
What if Azure asks for payment details?
Use only the official Microsoft page over HTTPS. Confirm the browser domain. Do not send card details, one-time codes, passwords, or recovery codes to an instructor. If verification fails, use official Azure billing support; do not repeatedly create identities to evade offer limits.
Check your understanding
Is the Microsoft identity the same thing as the subscription? No.
Does a free account make every Azure SKU free? No.
Can Bicep accept subscription commercial terms for you? No.
What should you verify before a lab? The active tenant and subscription.