az communication chat participant
Note
This reference is part of the communication extension for the Azure CLI (version 2.67.0 or higher). The extension will automatically install the first time you run an az communication chat participant command. Learn more about extensions.
Command group 'communication chat' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands to manage participants in a chat thread of a Communication Service resource.
Commands
Name | Description | Type | Status |
---|---|---|---|
az communication chat participant add |
Adds a participant to a chat thread. |
Extension | Preview |
az communication chat participant list |
Gets the participants of a chat thread. |
Extension | Preview |
az communication chat participant remove |
Removes a participant from a chat thread. |
Extension | Preview |
az communication chat participant add
Command group 'communication chat participant' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Adds a participant to a chat thread.
az communication chat participant add --thread
--user
[--access-token]
[--display-name]
[--endpoint]
[--start-time]
Examples
Add participant
az communication chat participant add --thread "19:a-bcd=xyz" --user "8:acs:xxxxxx" --display-name "John Doe" --start-time "2022-07-14T10:21"
Required Parameters
Thread id.
Chat participant identifier.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Communication access token. Environment variable: AZURE_COMMUNICATION_ACCESS_TOKEN.
Property | Value |
---|---|
Parameter group: | Communication Arguments |
Chat participant display name.
Communication endpoint. Environment variable: AZURE_COMMUNICATION_ENDPOINT.
Property | Value |
---|---|
Parameter group: | Communication Arguments |
Start time to share history in ISO8601 format, ex: 2022-07-14T10:21.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az communication chat participant list
Command group 'communication chat participant' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Gets the participants of a chat thread.
az communication chat participant list --thread
[--access-token]
[--endpoint]
[--skip]
Examples
List participants
az communication chat participant list --thread "19:a-bcd=xyz" --skip "4"
Required Parameters
Thread id.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Communication access token. Environment variable: AZURE_COMMUNICATION_ACCESS_TOKEN.
Property | Value |
---|---|
Parameter group: | Communication Arguments |
Communication endpoint. Environment variable: AZURE_COMMUNICATION_ENDPOINT.
Property | Value |
---|---|
Parameter group: | Communication Arguments |
Number of participants to skip.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az communication chat participant remove
Command group 'communication chat participant' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Removes a participant from a chat thread.
az communication chat participant remove --thread
--user
[--access-token]
[--endpoint]
[--yes]
Examples
Remove participant
az communication chat participant remove --thread "19:a-bcd=xyz" --user "8:acs:xxxxxx"
Required Parameters
Thread id.
Chat participant identifier.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Communication access token. Environment variable: AZURE_COMMUNICATION_ACCESS_TOKEN.
Property | Value |
---|---|
Parameter group: | Communication Arguments |
Communication endpoint. Environment variable: AZURE_COMMUNICATION_ENDPOINT.
Property | Value |
---|---|
Parameter group: | Communication Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |