(預告)管理 Copilot Studio 代理:隔離、重新指派、刪除並評估。
Commands
| 命令 | Description |
|---|---|
| pac copilot-studio delete-copilot-agent | (預告)刪除機器人。 |
| pac copilot-studio download-agent-channel-manifest | (預告)下載指定代理的通道清單套件及通道的壓縮檔。 目前僅支援「M365」頻道。 |
| pac copilot-studio get-bot-quarantine-status | (預告)取得機器人的隔離狀態。 |
| pac copilot-studio get-connector-consent-bypass | (預告)取得機器人管理員連接器同意繞過設定。 |
| pac copilot-studio get-maker-evaluation-test-run | (預告)查詢特定創客評估測試的狀態與結果。 |
| pac copilot-studio get-maker-evaluation-test-set | (預告)取得專門用於機器人製作者評估的測試集。 |
| pac copilot-studio list-maker-evaluation-test-runs | (預告)列出所有機器人的製作者評估測試執行。 |
| pac copilot-studio list-maker-evaluation-test-sets | (預告)取得指定環境中機器人的測試集清單。 |
| pac copilot-studio reassign-copilot-agent | (預告)重新指派機器人的擁有者。 |
| pac copilot-studio run-maker-evaluation-test-set | (預告)針對特定測試集觸發 maker 評估測試。 |
| pac copilot-studio set-bot-as-quarantined | (預告)將機器人的隔離狀態設為 true。 |
| pac copilot-studio set-bot-as-unquarantined | (預告)將機器人的隔離狀態設為假。 |
| pac copilot-studio set-connector-consent-bypass | (預告)為機器人設定管理員連接器同意繞過設定。 |
pac copilot-studio delete-copilot-agent
(預告)刪除機器人。
所需參數 copilot-studio delete-copilot-agent
--bot-id
機器人 ID。
可選參數 copilot-studio delete-copilot-agent
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio download-agent-channel-manifest
(預告)下載指定代理的通道清單套件及通道的壓縮檔。 目前僅支援「M365」頻道。
所需參數 copilot-studio download-agent-channel-manifest
--agent-id
機器人 ID。
--channel-name
頻道名稱。 目前僅支援「M365」。
--out-file
本地檔案路徑,用來寫入下載內容。
可選參數 copilot-studio download-agent-channel-manifest
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
--include-agent-schema
是否要將代理架構納入下載的清單套件中。
pac copilot-studio get-bot-quarantine-status
(預告)取得機器人的隔離狀態。
所需參數 copilot-studio get-bot-quarantine-status
--bot-id
機器人 ID。
可選參數 copilot-studio get-bot-quarantine-status
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio get-connector-consent-bypass
(預告)取得機器人管理員連接器同意繞過設定。
所需參數 copilot-studio get-connector-consent-bypass
--bot-id
機器人 ID。
可選參數 copilot-studio get-connector-consent-bypass
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio get-maker-evaluation-test-run
(預告)查詢特定創客評估測試的狀態與結果。
所需參數 copilot-studio get-maker-evaluation-test-run
--bot-id
機器人 ID。
--test-run-id
測試運行ID。
可選參數 copilot-studio get-maker-evaluation-test-run
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio get-maker-evaluation-test-set
(預告)取得專門用於機器人製作者評估的測試集。
所需參數 copilot-studio get-maker-evaluation-test-set
--bot-id
機器人 ID。
--test-set-id
測試集的 ID。
可選參數 copilot-studio get-maker-evaluation-test-set
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio list-maker-evaluation-test-runs
(預告)列出所有機器人的製作者評估測試執行。
所需參數 copilot-studio list-maker-evaluation-test-runs
--bot-id
機器人 ID。
可選參數 copilot-studio list-maker-evaluation-test-runs
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio list-maker-evaluation-test-sets
(預告)取得指定環境中機器人的測試集清單。
所需參數 copilot-studio list-maker-evaluation-test-sets
--bot-id
機器人 ID。
可選參數 copilot-studio list-maker-evaluation-test-sets
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio reassign-copilot-agent
(預告)重新指派機器人的擁有者。
所需參數 copilot-studio reassign-copilot-agent
--bot-id
機器人 ID。
--new-owner-aad-user-id
新屋主是 Entra ID。
可選參數 copilot-studio reassign-copilot-agent
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio run-maker-evaluation-test-set
(預告)針對特定測試集觸發 maker 評估測試。
所需參數 copilot-studio run-maker-evaluation-test-set
--bot-id
機器人 ID。
--test-set-id
測試集的 ID。
可選參數 copilot-studio run-maker-evaluation-test-set
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
--evaluation-run-name
評估執行的名稱。
--mcs-connection-id
用於執行評估執行或留空以執行評估執行的 MCS 連接器的連線 ID。
--run-on-published-bot
表示該操作是否應該在已發佈的機器人實例上執行。 若設為 false,該操作會在草稿機器人實例上執行。
--tools-connections
執行評估執行時會使用的工具連線。 這是一份工具清單,以及每個工具應該使用的對應使用者連線。 提供 JSON 陣列的值。
pac copilot-studio set-bot-as-quarantined
(預告)將機器人的隔離狀態設為 true。
所需參數 copilot-studio set-bot-as-quarantined
--bot-id
機器人 ID。
可選參數 copilot-studio set-bot-as-quarantined
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio set-bot-as-unquarantined
(預告)將機器人的隔離狀態設為假。
所需參數 copilot-studio set-bot-as-unquarantined
--bot-id
機器人 ID。
可選參數 copilot-studio set-bot-as-unquarantined
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac copilot-studio set-connector-consent-bypass
(預告)為機器人設定管理員連接器同意繞過設定。
所需參數 copilot-studio set-connector-consent-bypass
--admin-consent-bypass
指示是否啟用機器人的管理員連接器同意繞過。
--bot-id
機器人 ID。
可選參數 copilot-studio set-connector-consent-bypass
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
另請參閱
Microsoft Power Platform CLI 指令群組
Microsoft Power Platform CLI 概述