【问题标题】:Deleting Salesforce Scratch Orgs that do not appear in force:org:list删除未生效的 Salesforce Scratch Orgs:org:list
【发布时间】:2021-11-11 17:01:45
【问题描述】:

我遇到了活动 Scratch Orgs 的最大数量:

ERROR running force:org:create: 注册请求失败,因为此组织已达到其活动临时组织限制

但我只看到 02 个活跃的 Scratch Orgs:

sfdx force:org:list

然后,我运行 SOQL 查询以从 ScratchOrgInfo 对象中提取记录:

sfdx force:data:soql:query --query "SELECT Id, Username, Status, LoginUrl, ExpirationDate FROM ScratchOrgInfo ORDER BY ExpirationDate DESC"

现在,即使使用“隐藏的”Scratch Orgs 的用户名,我也无法删除这些组织:

sfdx force:org:delete -u xxx@xxx.com

ERROR running force:org:delete: No org configuration found for name xxx@xxx.com

我的问题是:有没有办法使用“ORG ID”值删除 Scratch Orgs?

谢谢。

【问题讨论】:

    标签: salesforce sfdx salesforce-sfdx


    【解决方案1】:

    您可以通过登录 Dev Hub 并导航到 Active Scratch Orgs 选项卡来删除这些组织。选择允许您查看相关临时组织的列表视图(或创建一个)。然后删除每个不需要的临时组织的 Active Scratch Org 记录以将其加入队列以进行删除。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-29
      • 1970-01-01
      • 2019-09-09
      • 2014-06-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多