次の方法で共有


Agent 365 CLI config コマンド リファレンス

Important

Microsoft Agent 365の早期アクセスを得るには、Frontierプレビュープログラムに参加する必要があります。 Frontierはマイクロソフトの最新のAIイノベーションと直接つながります。 Frontierプレビューは既存の顧客契約のプレビュー条件の対象となります。 これらの機能はまだ開発段階であるため、利用可能性や機能は時間とともに変化する可能性があります。

エージェント 365 CLI 構成を管理します。 config コマンドは、Agent 365 CLI 構成設定を管理するためのオプションを提供します。 新しい構成は対話形式で初期化することも、現在の構成設定を表示することもできます。

最低限必要なロール: なし (ローカル構成)

構文

a365 config [command] [options]

オプション

Option Description
-?-h--help ヘルプと使用状況の情報を表示する

config init

エージェント 365 CLI を対話形式で構成するか、ファイルからインポートします。

a365 config init [options]

このコマンドを使用すると、対話型プロセスまたは既存の構成ファイルから設定をインポートすることによって、Agent 365 CLI 構成を設定できます。

config display

現在の Agent 365 CLI 構成を表示します。

a365 config display [options]

このコマンドでは、Agent 365 CLI の現在の構成設定が表示され、現在のセットアップを確認できます。

構成ファイルの構造

CLI では、次の主要なプロパティを含む JSON 構成ファイル (a365.config.json) が使用されます。

{
  "$schema": "./a365.config.schema.json",
  "tenantId": "your-tenant-id",
  "subscriptionId": "your-subscription-id",
  "resourceGroup": "rg-Agent 365-example",
  "location": "westus",
  "appServicePlanName": "asp-Agent 365-example",
  "appServicePlanSku": "B1",
  "webAppName": "webapp-Agent 365-example",
  "agentBlueprintDisplayName": "My Agent 365 Blueprint",
  "agentIdentityDisplayName": "My Agent 365 Agent",
  "agentUserPrincipalName": "agent@contoso.onmicrosoft.com",
  "agentUserDisplayName": "My Agent 365 User",
  "managerEmail": "manager@contoso.onmicrosoft.com",
  "agentUserUsageLocation": "US",
  "agentIdentityScopes": [
    "User.Read",
    "Mail.Send",
    "Calendars.ReadWrite",
    "Files.ReadWrite"
  ],
  "agentApplicationScopes": [
    "Mail.ReadWrite",
    "Chat.ReadWrite",
    "Sites.Read.All"
  ],
  "deploymentProjectPath": ".",
  "deploymentProjectFile": "YourProject.csproj",
  "botName": "my-Agent 365-bot",
  "botDescription": "My AI-powered agent for Microsoft 365 tasks"
}

現在、 location プロパティで使用できるリージョンは制限されています。 これらの一時的な可用性の制限の詳細を確認する