runtime Package
Modules
| environment_utils |
Utility logic for environment-related operations. |
| operation_error |
Encapsulates an error from an operation. |
| operation_result |
Represents the result of an operation. |
| power_platform_api_discovery | |
| utility |
Utility functions for Microsoft Agent 365 runtime operations. This module provides utility functions for token handling, agent identity resolution, and other common runtime operations. |
| version_utils |
Version utilities for Microsoft Agent 365 SDK packages. This module is deprecated. Versioning is now handled automatically by setuptools-git-versioning. See versioning/TARGET-VERSION and HOW_TO_SET_A_VERSION.md for details. |
Classes
| OperationError |
Represents an error that occurred during an operation. This class wraps an exception and provides a consistent interface for accessing error information. Initialize a new instance of the OperationError class. |
| OperationResult |
Represents the result of an operation. This class encapsulates the success or failure state of an operation along with any associated errors. Initialize a new instance of the OperationResult class. |
| PowerPlatformApiDiscovery |
Discovery helper for Power Platform API endpoints. |
| Utility |
Utility class providing common runtime operations for Agent 365. This class contains static methods for token processing, agent identity resolution, and other utility functions used across the Agent 365 runtime. |
Functions
get_observability_authentication_scope
Returns the scope for authenticating to the observability service based on the current environment.
The scope can be overridden via the A365_OBSERVABILITY_SCOPE_OVERRIDE environment variable to enable testing against pre-production environments.
get_observability_authentication_scope() -> list[str]
Returns
| Type | Description |
|---|---|
|
The authentication scope for the current environment. |