Enable or edit managed environments
cs_admin_set_governance_configSet an environment's protection level (Standard/Basic) and governance options: sharing limits, solution checker mode, maker onboarding.
Instructions
Turn managed environments on ('Standard') or off ('Basic') for an environment and set its governance options: sharing limits, solution checker mode, maker onboarding. Changes tenant governance: requires confirm: true. Runs 'pac admin set-governance-config' 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. | |
| environment | Yes | Environment id or URL | |
| cloudFlowsMode | No | Sharing limit mode for solution cloud flows | |
| timeoutSeconds | No | Default 600 | |
| cloudFlowsLimit | No | How many people makers may share solution cloud flows with | |
| excludeAnalysis | No | Exclude this environment from the weekly usage digest | |
| includeInsights | No | Show insights on the admin centre home page | |
| protectionLevel | Yes | Standard enables managed environments, Basic disables them | |
| limitSharingMode | No | Sharing limit mode | |
| makerOnboardingUrl | No | Maker onboarding URL | |
| disableGroupSharing | No | Disable sharing with groups | |
| maxLimitUserSharing | No | How many people makers may share canvas apps with | |
| solutionCheckerMode | No | Solution checker validation mode (None, Warn, Block) | |
| checkerRuleOverrides | No | Solution checker rule overrides | |
| makerOnboardingMarkdown | No | Maker onboarding markdown | |
| suppressValidationEmails | No | Do not send validation emails |