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 page provides only a PowerShell script example for programmatically accessing Azure AD B2C audit logs, with no equivalent example for Linux users (e.g., Bash, curl, or Python). The use of PowerShell and references to Azure Cloud Shell (which supports PowerShell by default) implicitly favors Windows environments and tools, potentially excluding or inconveniencing Linux and macOS users.
Recommendations:
- Add a Bash/curl example for querying the Microsoft Graph API to retrieve audit logs, showing how to authenticate and download logs using common Linux tools.
- Provide a Python script example using the requests library to demonstrate cross-platform access to the API.
- Explicitly mention that the API can be accessed from any platform, and link to platform-agnostic Microsoft Graph API documentation.
- If referencing Azure Cloud Shell, clarify that both Bash and PowerShell environments are available, and provide examples for both.
- Review other automation or scripting sections to ensure parity between Windows/PowerShell and Linux/Bash tooling.
Create pull request