Update tenant settings
cs_admin_update_tenant_settingsUpdate tenant-wide Copilot Studio settings from a settings file or a single setting path. Requires confirmation to apply changes; otherwise it returns a dry run.
Instructions
Change tenant-wide settings, either from a settings file or one setting at a time (for example powerPlatform.governance.disableDeveloperEnvironmentCreationByNonAdminUsers). Affects the whole tenant: requires confirm: true. Runs 'pac admin update-tenant-settings' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for pac (for project commands: the solution project folder) | |
| confirm | No | Required to actually perform a change in a live environment. Without it the tool returns a dry run. | |
| 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. | |
| settingName | No | Single setting path | |
| settingValue | No | Value for that setting | |
| settingsFile | No | A .json file of settings (from cs_admin_list_tenant_settings) | |
| timeoutSeconds | No | Default 600 |