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
⚠️
missing_linux_example
⚠️
windows_tools
Summary:
The documentation provides only a PowerShell script example for programmatically accessing audit logs, with no equivalent example for Linux or cross-platform tools such as Bash, curl, or Python. The script assumes use of PowerShell (which is native to Windows), and there is no mention of Linux command-line tools or how to perform the same task on non-Windows platforms. This creates a bias towards Windows users and may hinder Linux administrators from following the instructions easily.
Recommendations:
- Provide equivalent Bash/curl and/or Python script examples for accessing the Microsoft Graph API and downloading audit logs, demonstrating how to authenticate and paginate results.
- Explicitly mention that the API can be accessed from any platform, and link to cross-platform SDKs or CLI tools (such as Microsoft Graph CLI, Azure CLI, or REST API usage with curl).
- Add a section or note clarifying that PowerShell Core is available on Linux and macOS, and provide installation instructions or alternatives.
- Ensure that all automation and scripting examples have Linux-friendly equivalents, and present them either alongside or before Windows/PowerShell examples to promote parity.
Create pull request