Azure SDK for Python (August 2025)
The Azure SDK team is pleased to announce our August 2025 client library releases.
36 packages released this month.
Stable Packages (16)
-
AI Agents
-
AI Evaluation
-
AI Projects
-
Identity
-
Identity Broker
-
Monitor Query
-
Resource Management - Azure AI Search
-
Resource Management - Carbonoptimization
-
Resource Management - Cognitive Services
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Managed Service Identity
-
Resource Management - Monitor
-
Resource Management - NetApp Files
-
Resource Management - Recovery Services Data Replication
-
unknown
Patch Updates (1)
- Azure Monitor OpenTelemetry
Beta Packages (15)
-
AI Agents
-
AI Projects
-
Communication Phone Numbers
-
OpenTelemetry Exporter
-
Resource Management - Application Insights
-
Resource Management - Authorization
-
Resource Management - Compute Schedule
-
Resource Management - Data Box Edge
-
Resource Management - Event Grid
-
Resource Management - Managed Grafana
-
Resource Management - Mongo Cluster
-
Resource Management - Monitor
-
Resource Management - Policy Insights
-
Resource Management - SQL
-
Resource Management - Storagediscovery
Release highlights
AI Agents 1.1.0 Changelog
Breaking Changes
- Version Lineage Change: This stable release is based on
1.0.2
and does not include the experimental features that were introduced in the beta versions1.1.0b1
through1.1.0b5
. This means that any beta-specific functionality you may have been using is not available in this stable release. - Migration Path: If you need to continue using the experimental features from the beta releases, please upgrade to
1.2.0b1
which continues the beta feature development line.
Bugs Fixed
_AgentsClientOperationsMixin
is now private.
AI Agents 1.2.0b1 Changelog
Features Added
- Support
tool_resources
for run async operations.
Breaking Changes
- Version Lineage Change: This beta release continues the experimental feature development from
1.1.0b4
, adding new functionality and improvements. - Important Version Context: The stable release
1.1.0
is based on1.0.2
and does not include beta features. This1.2.0b1
beta release preserves and extends all experimental features from the1.1.0b1
-1.1.0b4
beta series.
Bugs Fixed
AgentsResponseFormatOption
,MessageInputContent
,MessageAttachmentToolDefinition
,AgentsToolChoiceOption
are now public.- Fixed issues where the
runs.create_and_process
API call did not correctly handle theAzureAISearchTool
,FileSearchTool
, andCodeInterpreterTool
when specified in the toolset parameter. - Fixed
update_agent
to execute with body as a keyword parameter.
AI Evaluation 1.10.0 Changelog
Breaking Changes
- Added
evaluate_query
parameter to all RAI service evaluators that can be passed as a keyword argument. This parameter controls whether queries are included in evaluation data when evaluating query-response pairs. Previously, queries were always included in evaluations. When set toTrue
, both query and response will be evaluated; when set toFalse
(default), only the response will be evaluated. This parameter is available across all RAI service evaluators includingContentSafetyEvaluator
,ViolenceEvaluator
,SexualEvaluator
,SelfHarmEvaluator
,HateUnfairnessEvaluator
,ProtectedMaterialEvaluator
,IndirectAttackEvaluator
,CodeVulnerabilityEvaluator
,UngroundedAttributesEvaluator
,GroundednessProEvaluator
, andEciEvaluator
. Existing code that relies on queries being evaluated will need to explicitly setevaluate_query=True
to maintain the previous behavior.
Bugs Fixed
- Fixed red team scan
output_path
issue where individual evaluation results were overwriting each other instead of being preserved as separate files. Individual evaluations now create unique files while the user’soutput_path
is reserved for final aggregated results. - Significant improvements to TaskAdherence evaluator. New version has less variance, is much faster and consumes fewer tokens.
- Significant improvements to Relevance evaluator. New version has more concrete rubrics and has less variance, is much faster and consumes fewer tokens.
Features Added
- Added support for Azure OpenAI Python grader via
AzureOpenAIPythonGrader
class, which serves as a wrapper around Azure Open AI Python grader configurations. This new grader object can be supplied to the mainevaluate
method as if it were a normal callable evaluator. - Added
attack_success_thresholds
parameter toRedTeam
class for configuring custom thresholds that determine attack success. This allows users to set specific threshold values for each risk category, with scores greater than the threshold considered successful attacks (i.e. higher threshold means higher tolerance for harmful responses). - Enhanced threshold reporting in RedTeam results to include default threshold values when custom thresholds aren’t specified, providing better transparency about the evaluation criteria used.
AI Projects 1.0.0 Changelog
Breaking changes
- Features that are still in preview were removed from this stable release. This includes:
- Evaluation operations (property
.evaluations
) - Red-Team operations (property
.red_teams
) - Class
PromptTemplate
. - Package function
enable_telemetry()
- Classes were renamed:
- Class
Sku
was renamedModelDeploymentSku
- Class
SasCredential
was renamedBlobReferenceSasCredential
- Class
AssetCredentialResponse
was renamedDatasetCredential
- Method
.inference.get_azure_openai_client()
was renamed.get_openai_client()
. The.inference
property was removed. The method is documented as returning an object of typeOpenAI
, but it still returns an object of the derived typeAzureOpenAI
. The function implementation has not changed. - Method
.telemetry.get_connection_string()
was renamed.telemetry.get_application_insights_connection_string()
AI Projects 1.1.0b1 Changelog
Features added
- Added methods
cancel
anddelete
to Evaluations.
AI Projects 1.1.0b2 Changelog
Bugs Fixed
Fix regression in Red-Team operations, in the definition of the class AzureOpenAIModelConfiguration
.
Azure Monitor OpenTelemetry 1.6.12 Changelog
Bugs Fixed
- Fix logging formatter breaking change (#42122)
Azure Monitor OpenTelemetry 1.6.13 Changelog
Features Added
- Update to latest OpenTelemetry version after instrumentation breaking change fix. Remove Python 3.8 support. (#42247)
Communication Phone Numbers 1.4.0b1 Changelog
Features Added
- Adds support for mobile number types
- mobile numbers are location associated phone numbers with SMS capabilities
- API version
2025-06-01
is the default.
Communication Phone Numbers 1.4.0b2 Changelog
Features Added
- Added API version
2024-11-15-preview
for SIP routing client
Identity 1.24.0 Changelog
Bugs Fixed
- Fixed an issue where CAE (Continuous Access Evaluation) caches were not properly used by
AuthorizationCodeCredential
and the asynchronousOnBehalfOfCredential
. (#42145)
Identity Broker 1.3.0 Changelog
Features Added
- Allow silent authentication attempts on all platforms. Previously,
use_default_broker_account=True
inInteractiveBrowserBrokerCredential
only applied to Windows/WSL. (#42375)
Monitor Query 2.0.0 Changelog
Bugs Fixed
- Fixed an issue where the package version in operation user agent strings was always set to “unknown” instead of the actual package version. (#39866)
Breaking Changes
MetricsClient
andMetricsQueryClient
have been removed from theazure-monitor-query
package. This is part of the migration to split logs and metrics functionality into separate packages. (#42205)- The
MetricsClient
has been moved to the newazure-monitor-querymetrics
package. - Functionality provided by
MetricsQueryClient
can be access through theazure-mgmt-monitor
package. - For more details, see the migration guide.
OpenTelemetry Exporter 1.0.0b41 Changelog
Features Added
Resource Management - Application Insights 5.0.0b1 Changelog
Resource Management - Authorization 5.0.0b1 Changelog
Resource Management - Azure AI Search 9.2.0 Changelog
Resource Management - Carbonoptimization 1.0.0 Changelog
Resource Management - Cognitive Services 13.7.0 Changelog
Resource Management - Compute 35.0.0 Changelog
Resource Management - Compute Schedule 1.2.0b1 Changelog
Resource Management - Container Service 39.0.0 Changelog
Resource Management - Data Box Edge 3.0.0b1 Changelog
Resource Management - Event Grid 10.5.0b1 Changelog
Resource Management - Managed Grafana 2.0.0b1 Changelog
Resource Management - Managed Service Identity 7.1.0 Changelog
Resource Management - Mongo Cluster 1.1.0b1 Changelog
Resource Management - Monitor 7.0.0b3 Changelog
Resource Management - Monitor 7.0.0 Changelog
Resource Management - Monitor 8.0.0b1 Changelog
Resource Management - NetApp Files 13.6.0 Changelog
Resource Management - Policy Insights 1.1.0b5 Changelog
Resource Management - Recovery Services Data Replication 1.0.0 Changelog
Resource Management - SQL 4.0.0b22 Changelog
Resource Management - Storagediscovery 1.0.0b1 Changelog
unknown 1.0.0 Changelog
Features Added
- Initial release of
azure-monitor-querymetrics
package with core Azure Monitor metrics querying functionality. - Includes the
MetricsClient
for querying metrics from Azure Monitor resources.
Migration from azure-monitor-query
This package extracts the metrics functionality from the azure-monitor-query
package to provide a focused solution for metrics querying.
For existing users of MetricsClient
:
- Migration is straightforward - only import paths need to be updated.
- The API surface remains unchanged.
- Before:
from azure.monitor.query import MetricsClient
- After:
from azure.monitor.querymetrics import MetricsClient
For users of MetricsQueryClient
:
- This functionality is not included in this package.
- Recommended alternative: Use
MonitorManagementClient
from theazure-mgmt-monitor
package. - The management client provides comprehensive Azure Monitor resource management capabilities.
For more details, see the migration guide.
Latest Releases
View all the latest versions of Python packages here.
Installation Instructions
To install the latest beta version of the packages, copy and paste the following commands into a terminal:
$> pip install azure-ai-agents==1.1.0
$> pip install azure-ai-agents==1.2.0b1
$> pip install azure-ai-evaluation==1.10.0
$> pip install azure-ai-projects==1.0.0
$> pip install azure-ai-projects==1.1.0b1
$> pip install azure-ai-projects==1.1.0b2
$> pip install azure-communication-phonenumbers==1.4.0b1
$> pip install azure-communication-phonenumbers==1.4.0b2
$> pip install azure-identity==1.24.0
$> pip install azure-identity-broker==1.3.0
$> pip install azure-mgmt-applicationinsights==5.0.0b1
$> pip install azure-mgmt-authorization==5.0.0b1
$> pip install azure-mgmt-carbonoptimization==1.0.0
$> pip install azure-mgmt-cognitiveservices==13.7.0
$> pip install azure-mgmt-compute==35.0.0
$> pip install azure-mgmt-computeschedule==1.2.0b1
$> pip install azure-mgmt-containerservice==39.0.0
$> pip install azure-mgmt-dashboard==2.0.0b1
$> pip install azure-mgmt-databoxedge==3.0.0b1
$> pip install azure-mgmt-eventgrid==10.5.0b1
$> pip install azure-mgmt-mongocluster==1.1.0b1
$> pip install azure-mgmt-monitor==7.0.0b3
$> pip install azure-mgmt-monitor==7.0.0
$> pip install azure-mgmt-monitor==8.0.0b1
$> pip install azure-mgmt-msi==7.1.0
$> pip install azure-mgmt-netapp==13.6.0
$> pip install azure-mgmt-policyinsights==1.1.0b5
$> pip install azure-mgmt-recoveryservicesdatareplication==1.0.0
$> pip install azure-mgmt-search==9.2.0
$> pip install azure-mgmt-sql==4.0.0b22
$> pip install azure-mgmt-storagediscovery==1.0.0b1
$> pip install azure-monitor-opentelemetry==1.6.12
$> pip install azure-monitor-opentelemetry==1.6.13
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b41
$> pip install azure-monitor-query==2.0.0
$> pip install azure-monitor-querymetrics==1.0.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.