Share via


az communication rooms participant

Note

This reference is part of the communication extension for the Azure CLI (version 2.59.0 or higher). The extension will automatically install the first time you run an az communication rooms participant command. Learn more about extensions.

Commands to manage participants of an existing room.

Commands

Name Description Type Status
az communication rooms participant add-or-update

Add or update participants in a room.

Extension GA
az communication rooms participant get

Get participants of a room.

Extension GA
az communication rooms participant remove

Remove participants from a room.

Extension GA

az communication rooms participant add-or-update

Add or update participants in a room.

az communication rooms participant add-or-update --room
                                                 [--attendee-participants]
                                                 [--connection-string]
                                                 [--consumer-participants]
                                                 [--presenter-participants]

Examples

Add a presenter participant to a room and update an attendee participant in a room

az communication rooms participant add-or-update --room "12345678901234567" --presenter-participants "8:acs:xxxxxx" "8:acs:xxxxxx" --attendee-participants "8:acs:xxxxxx" "8:acs:xxxxxx"

Required Parameters

--room

Room Id.

Optional Parameters

--attendee-participants

Collection of identities to be added to the room as attendee.

--connection-string

Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.

--consumer-participants

Collection of identities to be added to the room as consumer.

--presenter-participants

Collection of identities to be added to the room as presenter.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az communication rooms participant get

Get participants of a room.

az communication rooms participant get --room
                                       [--connection-string]

Examples

Get room's participants

az communication rooms participant get --room "12345678901234567"

Required Parameters

--room

Room Id.

Optional Parameters

--connection-string

Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az communication rooms participant remove

Remove participants from a room.

az communication rooms participant remove --participants
                                          --room
                                          [--connection-string]
                                          [--yes]

Examples

Remove room participants

az communication rooms participant remove --room "12345678901234567" --participants "8:acs:xxxxxx" "8:acs:xxxxxx" "8:acs:xxxxxx"

Required Parameters

--participants

Collection of identities that will be removed from the room.

--room

Room Id.

Optional Parameters

--connection-string

Communication connection string. Environment variable: AZURE_COMMUNICATION_CONNECTION_STRING.

--yes -y

Do not prompt for confirmation.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.