Skip to content

Latest commit

 

History

History
155 lines (87 loc) · 4.11 KB

File metadata and controls

155 lines (87 loc) · 4.11 KB
title description keywords ms.subservice author ms.author ms.date ms.reviewer ms.topic contributors
Microsoft Power Platform CLI env command group| Microsoft Docs
Describes commands and parameters for the Microsoft Power Platform CLI env command group.
pac cli
developer
devkeydet
marcsc
5/13/2024
jdaly
reference
JimDaly

pac env

Work with your Dataverse organization.

[!INCLUDE env-intro]

Commands

Command Description
pac env fetch Performs FetchXML query against Dataverse
pac env list Lists all of the Dataverse organizations the user has access to
pac env list-settings List environment settings
pac env select Select default organization for current authentication profile.
pac env update-settings Update environment settings
pac env who Displays information about the current Dataverse organization.

pac env fetch

Performs FetchXML query against Dataverse

[!INCLUDE env-fetch-intro]

Optional Parameters for env fetch

--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.

--xml -x

FetchXML query to run

--xmlFile -xf

File with FetchXML query to run

[!INCLUDE env-fetch-remarks]

pac env list

Lists all of the Dataverse organizations the user has access to

[!INCLUDE env-list-intro]

Optional Parameters for env list

--filter -f

Show only environments containing filter criteria.

[!INCLUDE env-list-remarks]

pac env list-settings

List environment settings

[!INCLUDE env-list-settings-intro]

Optional Parameters for env list-settings

--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.

--filter -f

Show only settings containing filter criteria

[!INCLUDE env-list-settings-remarks]

pac env select

Select default organization for current authentication profile.

[!INCLUDE env-select-intro]

Optional Parameters for env select

--environment -env

Default environment (ID, url, unique name, or partial name).

[!INCLUDE env-select-remarks]

pac env update-settings

Update environment settings

[!INCLUDE env-update-settings-intro]

Required Parameters for env update-settings

--name -n

Name of the setting to update

Optional Parameters for env update-settings

--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.

--value -v

Value to which setting should be updated to

[!INCLUDE env-update-settings-remarks]

pac env who

Displays information about the current Dataverse organization.

[!INCLUDE env-who-intro]

Optional Parameters for env who

--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.

[!INCLUDE env-who-remarks]

[!INCLUDE env-remarks]

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview