Del via


Agent 365 CLI-kommandoreference config

Vigtig

Du skal være en del af prøveversionsprogrammet Frontier for at få tidlig adgang til Microsoft Agent 365. Frontier forbinder dig direkte med Microsofts seneste AI-innovationer. Fronteksempler er underlagt de eksisterende prøveversionsbetingelser i dine kundeaftaler. Da disse funktioner stadig er under udvikling, kan deres tilgængelighed og egenskaber ændre sig over tid.

Manage Agent 365 CLI-konfiguration. Kommandoen config indeholder indstillinger til administration af konfigurationsindstillinger for Agent 365 CLI. Du kan initialisere nye konfigurationer interaktivt eller få vist aktuelle konfigurationsindstillinger.

Minimumrolle kræves: Ingen (lokal konfiguration)

Syntax

a365 config [command] [options]

Indstillinger

Valgmulighed Beskrivelse
-?, , , -h--help Vis oplysninger om hjælp og brug

config init

Konfigurer interaktivt Agent 365 CLI eller importér fra en fil.

a365 config init [options]

Med denne kommando kan du konfigurere din Agent 365 CLI-konfiguration via en interaktiv proces eller ved at importere indstillinger fra en eksisterende konfigurationsfil.

config display

Vis den aktuelle agent 365 CLI-konfiguration.

a365 config display [options]

Denne kommando viser de aktuelle konfigurationsindstillinger for Kommandolinjegrænsefladen Agent 365, så du kan gennemse den aktuelle konfiguration.

Struktur af konfigurationsfil

Kommandolinjegrænsefladen bruger en JSON-konfigurationsfil (a365.config.json) med følgende nøgleegenskaber:

{
  "$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"
}