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
⚠️
windows_first
Summary:
The documentation provides only a PowerShell script example for programmatically accessing Azure AD B2C audit logs, with no equivalent Linux/bash/cURL example. The use of PowerShell and references to Azure Cloud Shell (which supports PowerShell by default) reinforce a Windows-centric approach. There is no mention of Linux-native tools or cross-platform scripting options, and the scripting section is labeled as 'PowerShell script' without alternatives.
Recommendations:
- Add a bash/cURL example for querying the Microsoft Graph API for audit logs, including authentication and pagination.
- Explicitly mention that the API can be accessed from any platform and provide cross-platform code samples.
- Reference Linux tools (such as jq, curl, wget) alongside PowerShell, and clarify that the process is not limited to Windows environments.
- Reorganize the scripting section to present both PowerShell and bash/cURL examples, or provide a language selector for users to choose their preferred scripting environment.
- Update language to avoid implying PowerShell is the only or primary method for automation.
Create pull request