pac org
Work with your Dataverse Organization
Commands
| Command | Description |
|---|---|
| pac org fetch | (Preview) Performs FetchXML query against Dataverse |
| pac org list | Lists all of the Dataverse Organizations the user has access to |
| pac org select | Select default organization for current authentication profile |
| pac org who | Displays information about the current Dataverse Organization |
pac org fetch
(Preview) Performs FetchXML query against Dataverse
Optional Parameters
--xml -x
FetchXML query to run
--xmlFile -xf
File with FetchXML query to run
pac org list
Lists all of the Dataverse Organizations the user has access to
Example
pac org list --filter myorg
The filter parameter is a regular expression based filter.
Optional Parameters
--filter -f
Show only environments containing filter criteria
pac org select
Select default organization for current authentication profile
Examples
The following examples show the use of the pac org select command.
Select org by using environment URL
This example shows how to select an org by using an environment URL.
pac org select --environment "https://contosotest.crm.dynamics.com"
Select org by using environment ID
This example shows how to select an org by using an environment ID.
pac org select --environment 00000000-0000-0000-0000-000000000000
Required Parameters
--environment -env
Default environment (id, url, unique name or partial name)
pac org who
Displays information about the current Dataverse Organization
See also
Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview
Feedback
Submit and view feedback for