Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions python/claude/sample-agent/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,15 @@ ENV_ID=
# AUTHENTICATION OPTIONS
# =============================================================================

# Auth handler name (optional, defaults to "AGENTIC")
# The name of the authentication handler to use for token exchange
# This should match the handler name configured in your agent authentication settings
AGENT_AUTH_HANDLER_NAME=AGENTIC
# Use agentic authentication (optional, defaults to false)
# Set to "true" to use agentic authentication with M365 Agents SDK
USE_AGENTIC_AUTH=false

# Bearer token (required if not using client credentials)
# Use for development/testing without full app registration
BEARER_TOKEN=your_bearer_token_here

# Agentic authentication scope (required for agentic authentication)
# Agentic authentication scope (required if USE_AGENTIC_AUTH=true)
# Example: https://api.powerplatform.com/.default
AGENTIC_AUTH_SCOPE=https://api.powerplatform.com/.default

Expand Down Expand Up @@ -99,25 +98,21 @@ PORT=3978
LOG_LEVEL=INFO

# =============================================================================
# OBSERVABILITY CONFIGURATION
# OBSERVABILITY CONFIGURATION (Optional)
# =============================================================================

# Service name for observability (required)
OBSERVABILITY_SERVICE_NAME=claude-sample-agent

# Service namespace for observability (required)
OBSERVABILITY_SERVICE_NAMESPACE=agent365-samples

# Agent observability attributes (optional but recommended)
# These populate the gen_ai.agent.* attributes in traces
AGENT_AUID=your_agent_auid
# Enable observability tracing (set to true to track agent operations)
ENABLE_OBSERVABILITY=true

# Service name for observability
OBSERVABILITY_SERVICE_NAME=claude-agent

ENABLE_OBSERVABILITY=true
# Service namespace for observability
OBSERVABILITY_SERVICE_NAMESPACE=agent365-samples

# Enable Agent 365 Observability Exporter (optional, defaults to false)
# Set to "true" to export telemetry to Agent 365 backend for production monitoring
# When false, uses ConsoleSpanExporter for local debugging (logs to console only)
# Set to "true" to export telemetry to Agent 365 backend
# When false, uses ConsoleSpanExporter for local debugging
ENABLE_A365_OBSERVABILITY_EXPORTER=false

# Python environment (influences target cluster/category)
Expand Down
Loading
Loading