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 Azure AD B2C audit logs, with no equivalent example for Linux or cross-platform environments (such as Bash with curl or Python). The script assumes the use of PowerShell, which is natively available on Windows and Azure Cloud Shell, but not on most Linux distributions by default. No mention is made of Linux tools or alternative scripting approaches, and the only automation example is Windows-centric.
Recommendations:
- Add a Bash (curl/jq) example for querying the Microsoft Graph API and saving audit logs, suitable for Linux and macOS users.
- Provide a Python example script for cross-platform compatibility.
- Explicitly mention that PowerShell Core is available for Linux and macOS, and provide installation instructions or a note about this.
- Ensure that automation and scripting guidance is not limited to Windows/PowerShell, and that Linux-first or cross-platform approaches are equally represented.
- Where possible, use generic HTTP request examples (e.g., with curl or HTTPie) alongside PowerShell to ensure parity.
Create pull request