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 for programmatically accessing audit logs, with no equivalent example for Linux or cross-platform environments (such as Bash, curl, or Python). The use of PowerShell and references to Azure Cloud Shell (which supports PowerShell by default) further reinforce a Windows-centric approach. There is no mention of Linux command-line tools or scripts, nor are there instructions for users on non-Windows platforms.
Recommendations:
- Provide a Bash/curl example for accessing the Microsoft Graph API and downloading audit logs, suitable for Linux and macOS users.
- Include a cross-platform example using a language like Python (with the requests library) to demonstrate API access.
- Explicitly mention that the API can be accessed from any platform and provide guidance for users on Linux or macOS.
- Reference Azure Cloud Shell's Bash environment as well as PowerShell, and clarify that both can be used.
- Where possible, use neutral, platform-agnostic language and avoid implying that PowerShell is the only or primary method.
Create pull request