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:
Summary:
The documentation generally provides cross-platform instructions, but in the section about setting the environment variable, the Windows instructions are presented first, followed by macOS and Linux. There are no missing Linux examples or exclusive use of Windows tools, but the ordering may subtly prioritize Windows users.
Recommendations:
- Present OS-specific instructions in a neutral or rotating order (e.g., Linux, macOS, Windows) or group them under expandable tabs without a default 'first' tab.
- Ensure that links to Azure CLI installation instructions are equally visible for all operating systems, not just Windows.
- Consider adding a brief statement at the start clarifying that all major platforms are supported equally.
Create pull request
Flagged Code Snippets
You need to replace `<yourSubscriptionId>` with your actual subscription ID, which you can find in the Subscriptions section in Azure portal.
### (Optional) Use Azure CLI sms operations without passing in a connection string
You can configure the `AZURE_COMMUNICATION_CONNECTION_STRING` environment variable to use Azure CLI sms operations without having to use `--connection_string` to pass in the connection string. To configure an environment variable, open a console window and select your operating system from the below tabs. Replace `<yourConnectionString>` with your actual connection string.
#### [Windows](#tab/windows)
Open a console window and enter the following command:
After you add the environment variable, run `source ~/.bash_profile` from your console window to make the changes effective. If you created the environment variable with your IDE open, you may need to close and reopen the editor, IDE, or shell in order to access the variable.
---
## Operations
## Send a 1:1 SMS message
To send an SMS message to a single recipient, call the `send` method from the sms module with a single recipient phone number.