Read tenant settings
cs_admin_list_tenant_settingsRetrieves tenant-wide Power Platform settings for governance, sharing, support, and licensing. Optionally writes the settings to a JSON file as a reference copy for source control.
Instructions
The tenant-wide Power Platform settings (governance, sharing, support, licensing). With settingsFile, pac writes them as JSON to that path; that file is the reference copy to keep in source control. Runs 'pac admin list-tenant-settings' with the active pac auth profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for pac (for project commands: the solution project folder) | |
| profile | No | pac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles. | |
| background | No | Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status. | |
| settingsFile | No | Write the settings to this .json file | |
| timeoutSeconds | No | Default 600 |