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:
⚠️
powershell_heavy
⚠️
windows_tools
⚠️
windows_first
Summary:
The documentation provides extensive examples using Azure PowerShell and references to PowerShell scripting, which is primarily a Windows-centric tool. In several cases, PowerShell is presented as a primary or parallel option to Azure CLI, and some code blocks are labeled as 'azurepowershell-interactive' even under CLI sections. There is no explicit mention of Linux shell scripting or Linux-specific command-line environments, and no examples are provided for Bash or other common Linux shells. The documentation assumes familiarity with PowerShell and does not offer parity for Linux users in scripting or tooling guidance.
Recommendations:
- Add explicit Bash or Linux shell script examples alongside PowerShell for all relevant operations, especially for token retrieval and identity management.
- Clarify in each section whether the Azure CLI and PowerShell examples are cross-platform, and provide notes or links for Linux/macOS users where appropriate.
- Avoid labeling CLI examples as 'azurepowershell-interactive' when they are meant for Azure CLI, to reduce confusion.
- Where PowerShell is not supported (e.g., user-assigned identity for App Service), explicitly mention alternative Linux-compatible approaches.
- Include a section or callout for Linux/macOS users, highlighting any differences or additional steps required.
- Ensure that all code samples and instructions are tested and confirmed to work on both Windows and Linux platforms.
Create pull request
Flagged Code Snippets
# [Azure PowerShell](#tab/ps)
#### For App Service
Adding a user-assigned identity in App Service by using Azure PowerShell is currently not supported.
#### For Functions
1. Create a user-assigned identity:
1. Run the `Update-AzFunctionApp -IdentityType UserAssigned -IdentityId` command to assign the identity in Functions:
1. Run the `Update-AzFunctionApp -IdentityType UserAssigned -IdentityId` command to assign the identity in Functions:
You can also remove the system-assigned identity by specifying `[system]` in `--identities`.
# [Azure PowerShell](#tab/ps)
#### For App Service
To remove a system-assigned identity for App Service, run the `Set-AzWebApp -AssignIdentity` command: