Skip to main content

Retrieving the UUID for Your Azure VM

  • July 31, 2026
  • 0 replies
  • 10 views

Kam Amir

Your Cribl login password is the UUID of the Azure VM. There are three ways to retrieve it, depending on your access.

## Method 1 — From inside the VM (via SSH), using dmidecode

If you can SSH into the instance, run:

```bash
sudo dmidecode | grep UUID
```

The value returned is your VM's UUID.

## Method 2 — From inside the VM, using the Azure Instance Metadata Service

Alternatively, from within the instance, run:

```bash
curl -H Metadata:true "http://169.254.169.254/metadata/instance/compute/vmId?api-version=2025-04-07&format=text"
```

This returns the same UUID without needing `sudo` or `dmidecode`.

## Method 3 — If you cannot SSH in, use Azure Run Command

From the Azure Portal:

1. Navigate to your VM.
2. In the left-hand menu, go to Operations → Run command.
3. Select RunShellScript.
4. Enter and run:

   ```bash
   sudo dmidecode | grep UUID
   ```

5. The output will contain the UUID.

---

Use that UUID as the password to log in to Cribl.