This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Bias Types:
⚠️ windows_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows bias by exclusively describing how to connect to the VM using Remote Desktop Protocol (RDP), which is a Windows-centric tool. There are no instructions for connecting to Linux VMs (e.g., via SSH), nor any mention of Linux-based scenarios. The example assumes the deployed VM is running Windows (IIS web server, RDP connection), and does not provide parity for Linux users.
Recommendations:
  • Include parallel instructions for deploying and connecting to a Linux VM (e.g., using SSH instead of RDP).
  • Provide examples for installing and accessing a web server on Linux (such as Apache or Nginx) in addition to IIS.
  • Clarify in the Bicep file review section whether the template supports both Windows and Linux VMs, and if so, provide guidance for both.
  • When listing connection methods, mention SSH and RDP equally, and provide step-by-step instructions for both.
  • Ensure screenshots and walkthroughs reflect both Windows and Linux scenarios where applicable.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

New-AzResourceGroup -Name exampleRG -Location eastus New-AzResourceGroupDeployment -ResourceGroupName exampleRG -TemplateFile ./main.bicep -vmAdminUsername "<admin-user>"
# [PowerShell](#tab/PowerShell)
--- ## Validate the deployment > [!NOTE] > The Bicep file generates a unique name for the virtual machine myConsumerVm<b>{uniqueid}</b> resource. Substitute your generated value for **{uniqueid}**. ### Connect to a VM from the internet Connect to the VM _myConsumerVm{uniqueid}_ from the internet as follows: 1. In the Azure portal search bar, enter _myConsumerVm{uniqueid}_. 2. Select **Connect**. **Connect to virtual machine** opens. 3. Select **Download RDP File**. Azure creates a Remote Desktop Protocol (_.rdp_) file and downloads it to your computer. 4. Open the downloaded .rdp file. a. If prompted, select **Connect**. b. Enter the username and password you specified when you created the VM. > [!NOTE] > You might need to select **More choices** > **Use a different account**, to specify the credentials you entered when you created the VM. 5. Select **OK**. 6. You might receive a certificate warning during the sign-in process. If you receive a certificate warning, select **Yes** or **Continue**. 7. After the VM desktop appears, minimize it to go back to your local desktop. ### Access the http service privately from the VM Here's how to connect to the http service from the VM by using the private endpoint. 1. Go to the Remote Desktop of _myConsumerVm{uniqueid}_. 2. Open a browser, and enter the private endpoint address: `http://10.0.0.5/`. 3. The default IIS page appears. ## Clean up resources When you no longer need the resources that you created with the private link service, delete the resource group. This removes the private link service and all the related resources. # [CLI](#tab/CLI)
# [PowerShell](#tab/PowerShell)