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
⚠️
windows_first
Summary:
The documentation consistently presents Microsoft Graph PowerShell examples before Azure CLI examples in each section, which may suggest a preference for Windows/PowerShell workflows. While Azure CLI examples are provided (which are cross-platform), the ordering and emphasis on PowerShell may make Linux/macOS users feel secondary.
Recommendations:
- Alternate the order of examples, sometimes presenting Azure CLI first to avoid implicit prioritization of PowerShell.
- Explicitly state that Azure CLI commands work on Windows, Linux, and macOS to reassure non-Windows users.
- Consider providing Bash shell examples where relevant, especially for scripting scenarios.
- Add a brief section or note highlighting cross-platform support and recommending tools for each OS.
Create pull request
Flagged Code Snippets
$(Get-MgUser -Filter "UserPrincipalName eq 'myuser@contoso.com'").Id
---
## Find service principal object ID
If you registered a [service client app](register-service-azure-ad-client-app.md) and you want to allow this service client to access the Azure API for FHIR. Find the object ID for the client service principal with a Microsoft Graph PowerShell command or the Azure CLI as follows.
#### [PowerShell](#tab/powershell)
---
## Find a security group object ID
If you would like to locate the object ID of a security group, you can use a Microsoft Graph PowerShell command or the Azure CLI as follows.
#### [PowerShell](#tab/powershell)