pac connection

Commands for working with Dataverse connection.

Commands

Command Description
pac connection create Create new Dataverse connection.
pac connection delete Delete Dataverse connection.
pac connection list List all Connections.
pac connection update Update Dataverse connection.

pac connection create

Create new Dataverse connection.

Required Parameters for connection create

--application-id -a

Application Id

--client-secret -cs

Client Secret

--name -n

Connection name.

--tenant-id -t

Tenant Id

Optional Parameters for connection create

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

pac connection delete

Delete Dataverse connection.

Required Parameters for connection delete

--connection-id -id

Connection Id.

Optional Parameters for connection delete

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

pac connection list

List all Connections.

Optional Parameters for connection list

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

pac connection update

Update Dataverse connection.

Required Parameters for connection update

--application-id -a

Application Id

--client-secret -cs

Client Secret

--connection-id -id

Connection Id.

--tenant-id -t

Tenant Id

Optional Parameters for connection update

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview