Share via

How can I find out the account associated with my MV?

Sergio Díaz 20 Reputation points
2026-03-04T10:17:08.35+00:00

I'm paying for a virtual machine (VM) that provides a web service, but I don't remember the account associated with it. I have the payment receipts from Azure and the VM's IP address.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manish Deshpande 4,530 Reputation points Microsoft External Staff Moderator
    2026-03-09T06:17:08.8833333+00:00

    Hello @Sergio diaz

    If you have the VM’s public IP address or Azure payment receipts, you can identify the associated Azure subscription and billing account by using the Azure portal, billing information, or Azure tools such as PowerShell, CLI, or the Instance Metadata Service. Azure does not automatically map a VM IP to an account externally, but the steps below will help you trace it accurately.

    If you’re paying for an Azure Virtual Machine but are unsure which Azure account or subscription it belongs to, here are the supported and recommended approaches.

    1.Identify the subscription using Azure billing receipts :
    Azure billing invoices and receipts always reference the subscription name or ID that incurred the charges.

    What to do

    • Sign in to the Azure portal
    • Navigate to Cost Management + Billing
    • Open the invoice or payment receipt
    • Review the Subscription name / Subscription ID listed on the invoice

    This is the most reliable way to identify the account responsible for the VM charges.

    https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/view-all-accounts

    https://learn.microsoft.com/en-us/azure/cost-management-billing/understand/understand-invoice

    2.Locate the VM using its public IP address

    If you have access to the Azure tenant, you can search for the public IP resource and identify which VM or network interface it is attached to.

    https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses

    3.Find the subscription from inside the VM

    If you can sign in to the VM, Azure provides the Instance Metadata Service, which exposes subscription and resource details securely from within the VM.

    What this provides

    • Subscription ID
    • Resource group
    • VM name

    https://learn.microsoft.com/en-us/azure/virtual-machines/instance-metadata-service?tabs=windows

    4.Use Azure PowerShell or CLI.
    If you have access to multiple subscriptions under the same tenant, you can use Azure PowerShell or CLI to identify which subscription contains the VM.

    https://learn.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest

    https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/filter-view-subscriptions

    If you’re still unable to locate the correct Azure account or subscription after following the above steps, we’ll be happy to assist further. Please add your details in the Comments section, and our team will get back to you to help investigate this further.

    Thanks,
    Manish.


  2. Pradeep Kommaraju 1,170 Reputation points Microsoft Employee
    2026-03-05T05:52:18.47+00:00

    Hello Sergio Díaz
    The public IP address alone isn’t sufficient—Azure Support will need verification to identify the tenant or subscription.

    If you’re paying for an Azure VM but don’t know which account it’s under:

    1. Check the payment receipt for the billing account name, subscription ID, invoice number, or Azure AD tenant reference.
    2. Try signing in at https://portal.azure.com using all email addresses you may have used (work, personal, older accounts).
    3. Use account recovery if needed to identify associated Microsoft accounts.
    4. Contact Azure Support and provide any of the following:
      1. Invoice number or subscription ID
      2. VM public IP address
      3. Payment method details Please dont forget to Accept the answer if this was helpful , Or do come back if you have any follow up questions

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.