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
⚠️
powershell_heavy
⚠️
windows_tools
Summary:
The documentation demonstrates a moderate Windows bias. PowerShell is presented as the first option for deployment steps, and instructions reference running code in PowerShell locally in Visual Studio Code. While Azure CLI examples are provided (which are cross-platform), the repeated mention of PowerShell and the suggestion to use Visual Studio Code (a Microsoft product) for local execution reinforce a Windows-centric workflow. There are no explicit Linux-specific instructions or examples, and the documentation does not mention running commands in a native Linux shell or provide Linux troubleshooting tips.
Recommendations:
- Present Azure CLI examples before PowerShell, as Azure CLI is cross-platform and more familiar to Linux users.
- Explicitly mention that Azure CLI commands can be run in Bash or other Linux shells, not just in Azure Cloud Shell.
- Include notes or examples for running deployment steps in a native Linux environment (e.g., Ubuntu terminal), including any prerequisites or differences.
- Avoid references to Visual Studio Code as the default local environment; instead, mention generic terminals or popular Linux editors where appropriate.
- Add troubleshooting tips or common issues for Linux users, especially around authentication or environment setup.
- Where screenshots or UI references are made, clarify that the steps are platform-agnostic unless there are known differences.
Create pull request
Flagged Code Snippets
### variables
$tenantid="your tenant id"
$subscriptionid="your subscription id"
$resourcegroupname="your resource group name"
$region="your desired region"
$workspacename="your workspace name"
$fhirServiceName="your fhir service name"
$smartAuthorityUrl="your authority (from previous step)"
$smartClientId="your client id (from previous step)"
### login to azure
Connect-AzAccount
#Connect-AzAccount SubscriptionId $subscriptionid
Set-AzContext -Subscription $subscriptionid
Connect-AzAccount -Tenant $tenantid -SubscriptionId $subscriptionid
#Get-AzContext
### create resource group
New-AzResourceGroup -Name $resourcegroupname -Location $region
### deploy the resource
New-AzResourceGroupDeployment -ResourceGroupName $resourcegroupname -TemplateUri https://raw.githubusercontent.com/Azure-Samples/azure-health-data-and-ai-samples/main/samples/fhir-aad-b2c/fhir-service-arm-template.json -tenantid $tenantid -region $region -workspaceName $workspacename -fhirServiceName $fhirservicename -smartAuthorityUrl $smartAuthorityUrl -smartClientId $smartClientId
### variables
$tenantid="your tenant id"
$subscriptionid="your subscription id"
$resourcegroupname="your resource group name"
$b2cName="your b2c tenant name"
### login to azure
Connect-AzAccount -Tenant $tenantid -SubscriptionId $subscriptionid
### create resource group
New-AzResourceGroup -Name $resourcegroupname -Location $region
### deploy the resource
New-AzResourceGroupDeployment -ResourceGroupName $resourcegroupname -TemplateUri https://raw.githubusercontent.com/Azure-Samples/azure-health-data-and-ai-samples/main/samples/fhir-aad-b2c/b2c-arm-template.json -b2cName $b2cNa