Azure SDK for Python (July 2025)
The Azure SDK team is pleased to announce our July 2025 client library releases.
58 packages released this month.
Stable Packages (31)
-
AI Evaluation
-
Communication Phone Numbers
-
Core - Client - Core
-
Core - Management - Core
-
Key Vault - Administration
-
Key Vault - Certificates
-
Key Vault - Keys
-
Key Vault - Secrets
-
Machine Learning
-
Resource Management - App Configuration
-
Resource Management - App Service
-
Resource Management - Arize AI Observability Eval
-
Resource Management - Azure VMware Solution
-
Resource Management - Compute Schedule
-
Resource Management - Container Service
-
Resource Management - DNS
-
Resource Management - DNS Resolver
-
Resource Management - Hardware Security Modules
-
Resource Management - Key Vault
-
Resource Management - Lambdatesthyperexecute
-
Resource Management - Mongodbatlas
-
Resource Management - Networkcloud
-
Resource Management - Oracle Database
-
Resource Management - Purestorageblock
-
Resource Management - Resources
-
Resource Management - Storage Actions
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Share
-
Storage - Queues
-
Web PubSub
Patch Updates (5)
-
AI Agents
-
Azure AI Search
-
Identity
-
Machine Learning
-
Resource Management - Storage
Beta Packages (18)
-
AI Agents
-
AI Projects
-
Cosmos DB
-
OpenTelemetry Exporter
-
Resource Management - Cloudhealth
-
Resource Management - Containerservicesafeguards
-
Resource Management - Data Migration
-
Resource Management - Event Hubs
-
Resource Management - Hybrid Compute
-
Resource Management - IoT Firmware Defense
-
Resource Management - Kubernetesconfiguration-Privatelinkscopes
-
Resource Management - Monitor
-
Resource Management - Playwright
-
Resource Management - Resource-Bicep
-
Resource Management - Resource-Deployments
-
Resource Management - Resources
-
Resource Management - Service Bus
-
Resource Management - Service Fabric Managed Clusters
Release highlights
AI Agents 1.0.2 Changelog
Bugs Fixed
- Fixed a tracing related bug that caused an error when process was ending if messages or run steps were listed and the resulting list was not iterated completely.
AI Agents 1.1.0b4 Changelog
Bugs Fixed
- Fixed a tracing related bug that caused an error when process was ending if messages or run steps were listed and the resulting list was not iterated completely.
_AgentsClientOperationsMixinnow it is private.
Features Added
- Added support for Deep Research tool. For more information, see https://aka.ms/agents-deep-research.
- Added support for MCP tool. For more information, see https://aka.ms/FoundryAgentMCPDoc.
- New tool_resources parameter added to runs.create method. This parameter represents overridden enabled tool resources that the agent should use to run the thread. Default value is None.
AI Evaluation 1.9.0 Changelog
Bugs Fixed
- Significant improvements to IntentResolution evaluator. New version has less variance, is nearly 2x faster and consumes fewer tokens.
- Fixed MeteorScoreEvaluator and other threshold-based evaluators returning incorrect binary results due to integer conversion of decimal scores. Previously, decimal scores like 0.9375 were incorrectly converted to integers (0) before threshold comparison, causing them to fail even when above the threshold. #41415
- Added a new enum
ADVERSARIAL_QA_DOCUMENTSwhich moves all the “file_content” type prompts away fromADVERSARIAL_QAto the new enum
Features Added
- Added support for Azure Open AI evaluation via
AzureOpenAIScoreModelGraderclass, which serves as a wrapper around Azure Open AI score model configurations. This new grader object can be supplied to the mainevaluatemethod as if it were a normal callable evaluator. - Added new experimental risk categories ProtectedMaterial and CodeVulnerability for redteam agent scan.
AI Projects 1.0.0b12 Changelog
Breaking changes
- These 3 methods on
AIProjectClientwere removed:.inference.get_chat_completions_client(),.inference.get_embeddings_client()and.inference.get_image_embeddings_client(). For guidance on obtaining an authenticatedazure-ai-inferenceclient for your AI Foundry Project, refer to the updated samples in thesamples\inferencedirectory. For example, sample_chat_completions_with_azure_ai_inference_client.py. Alternatively, use the.inference.get_azure_openai_client()method to perform chat completions with an Azure OpenAI client. - Method argument name changes:
- In method
.indexes.create_or_update()argumentbodywas renamedindex. - In method
.datasets.create_or_update()argumentbodywas renameddataset_version. - In method
.datasets.pending_upload()argumentbodywas renamedpending_upload_request.
Bugs Fixed
- Fix to package function
enable_telemetry()to correctly instrumentazure-ai-agents. - Updated RedTeam target type visibility to allow for type being sent in the JSON for redteam run creation.
Azure AI Search 11.5.3 Changelog
Bugs Fixed
- Fixed the issue search operation did not handle 206 correctly.
Communication Phone Numbers 1.3.0 Changelog
Features Added
- GA release of the reservations functionality.
- GA support for automated purchases of phone numbers from countries requiring a do not resell agreement.
- For more information, refer to: https://learn.microsoft.com/azure/communication-services/concepts/numbers/sub-eligibility-number-capability
Core - Client - Core 1.35.0 Changelog
Features Added
- Added a
start_timekeyword argument to thestart_spanandstart_as_current_spanmethods in theOpenTelemetryTracerclass. This allows users to specify a custom start time for created spans. #41106 - Added a
contextkeyword argument to thestart_spanandstart_as_current_spanmethods in theOpenTelemetryTracerclass. This allows users to specify a custom parent context for created spans. #41511 - Added method
as_attribute_dicttoazure.core.serializationfor backcompat migration purposes. Will return a generated model as a dictionary where the keys are in attribute syntax. - Added
is_generated_modelmethod toazure.core.serialization. Returns whether a given input is a model from one of our generated sdks. #41445 - Added
attribute_listmethod toazure.core.serialization. Returns all of the attributes of a given model from one of our generated sdks. #41571
Core - Management - Core 1.6.0 Changelog
Cosmos DB 4.13.0b2 Changelog
Bugs Fixed
- Fixed issue where key error would occur when getting properties from a container using legacy hash v1 as they may not always contain version property in the partition key definition. See PR 41639
Cosmos DB 4.14.0b1 Changelog
Bugs Fixed
- Fixed bug where replacing manual throughput using
ThroughputPropertieswould not work. See PR 41564 - Fixed bug where constantly raising Service Request Error Exceptions would cause the Service Request Retry Policy to indefinitely retry the request during a query or when a request was sent without a request object. See PR 41804
Features Added
- Added option to enable automatic retries for write operations. See PR 41272.
Breaking Changes
- Adds cross region retries when no preferred locations are set. This is only a breaking change for customers using bounded staleness consistency. See PR 39714
Identity 1.23.1 Changelog
Bugs Fixed
- Fixed an issue with
AzurePowerShellCredentialnot working correctly for users still using older versions of PowerShell (e.g., Windows PowerShell 5.1) where-AsPlainTextis not supported in theConvertFrom-SecureStringcmdlet. (#41675) - Fixed an issue with
AzureCliCredentialbeing unable to find the correctazexecutable for certain Python versions on Windows. (#41806)
Key Vault - Administration 4.6.0 Changelog
Breaking Changes
These changes do not impact the API of stable versions such as 4.5.0. Only code written against a beta version such as 4.6.0b1 may be affected.
- Changed the return types of
KeyVaultBackupClient.begin_pre_backupandKeyVaultBackupClient.begin_pre_restoreto be pollers returningNone
Features Added
- Added support for service API version
7.6 - (From 4.6.0b1) Added
KeyVaultBackupClient.begin_pre_backupandKeyVaultBackupClient.begin_pre_restoremethods for checking if it is possible to perform a full key backup or full key restore #37507
Key Vault - Certificates 4.10.0 Changelog
Breaking Changes
These changes do not impact the API of stable versions such as 4.9.0. Only code written against a beta version such as 4.10.0b1 may be affected.
- Renamed the
preserve_certificate_orderkeyword-only argument and property topreserve_order
Features Added
- Added support for service API version
7.6 - Added a
preserve_orderkeyword-only argument when creating or importing certificates to allow preserving a certificate chain’s original order, and a correspondingpreserve_orderproperty toCertificatePropertiesandCertificateOperationmodels (#37507)
Key Vault - Keys 4.11.0 Changelog
Features Added
- Added support for service API version
7.6 - (From 4.11.0b1)
KeyClienthas aget_key_attestationmethod that can be used to retrieve a key along with its attestation blob (stored in a newKeyProperties.attestationproperty) from a managed HSM #37507
Breaking Changes
These changes do not impact the API of stable versions such as 4.10.0. Only code written against a beta version such as 4.11.0b1 may be affected.
- The following enums have been moved:
EncryptionAlgorithm.ckm_aes_key_wrap->KeyWrapAlgorithm.ckm_aes_key_wrapEncryptionAlgorithm.ckm_aes_key_wrap_pad->KeyWrapAlgorithm.ckm_aes_key_wrap_pad
Bugs Fixed
- Fixed a bug where
KeyVaultRSAPublicKeyandKeyVaultRSAPrivateKeywere not correctly implementing thecryptographylibrary’sRSAPublicKeyandRSAPrivateKeyinterfaces, causing instantiation errors. (#41205)
Key Vault - Secrets 4.10.0 Changelog
Features Added
- Added support for service API version
7.6
Machine Learning 1.28.0 Changelog
Features Added
- Added a workflow(action) to check the major version release of dependencies
Machine Learning 1.28.1 Changelog
Features Added
- Added a workflow to create GitHub issues in case a major version of a dependency is released.
OpenTelemetry Exporter 1.0.0b38 Changelog
Features Added
- Add AMW deduplicating flag, SentToAMW, for AKS Attach (#41410)
- Implement APPLICATIONINSIGHTS_METRICS_TO_LOGANALYTICS_ENABLED env var for AKS Attach. (#41383)
Bugs Fixed
- Fix for issue #41470. Added back exception message, removed earlier due to linting errors ([#41512] https://github.com/Azure/azure-sdk-for-python/pull/41512)
- Should leave ingestion to populate Device OS from User Agent ([#41549] https://github.com/Azure/azure-sdk-for-python/pull/41549)
OpenTelemetry Exporter 1.0.0b39 Changelog
Bugs Fixed
- Suppress stdout side effect of add permissions to file for local storage on Windows (#41727)
OpenTelemetry Exporter 1.0.0b40 Changelog
Features Added
- Detect synthetically created telemetry based on the user-agent header (#41733)
- Added customer-facing statsbeat preview. (#41669)
- Customer Facing Statsbeat: Added logic for dropped item count (#41950)
- Customer Facing Statsbeat: Added logic for retry item count (#41971)
Resource Management - App Configuration 5.0.0 Changelog
Resource Management - App Service 9.0.0 Changelog
Resource Management - Arize AI Observability Eval 1.0.0 Changelog
Resource Management - Azure VMware Solution 9.1.0 Changelog
Resource Management - Cloudhealth 1.0.0b1 Changelog
Resource Management - Compute Schedule 1.1.0 Changelog
Resource Management - Container Service 38.0.0 Changelog
Resource Management - Containerservicesafeguards 1.0.0b1 Changelog
Resource Management - DNS 9.0.0 Changelog
Resource Management - DNS Resolver 1.1.0 Changelog
Resource Management - Data Migration 10.1.0b2 Changelog
Resource Management - Event Hubs 12.0.0b1 Changelog
Resource Management - Hardware Security Modules 1.0.0 Changelog
Resource Management - Hybrid Compute 9.1.0b2 Changelog
Resource Management - IoT Firmware Defense 2.0.0b1 Changelog
Resource Management - Key Vault 12.0.0 Changelog
Resource Management - Kubernetesconfiguration-Privatelinkscopes 1.0.0b1 Changelog
Resource Management - Lambdatesthyperexecute 1.0.0 Changelog
Resource Management - Mongodbatlas 1.0.0 Changelog
Resource Management - Monitor 7.0.0b2 Changelog
Resource Management - Networkcloud 2.1.0 Changelog
Resource Management - Oracle Database 2.0.0 Changelog
Resource Management - Playwright 1.0.0b1 Changelog
Resource Management - Purestorageblock 1.0.0 Changelog
Resource Management - Resource-Bicep 1.0.0b1 Changelog
Resource Management - Resource-Deployments 1.0.0b1 Changelog
Resource Management - Resources 24.0.0 Changelog
Resource Management - Resources 25.0.0b1 Changelog
Resource Management - Service Bus 10.0.0b1 Changelog
Resource Management - Service Fabric Managed Clusters 2.1.0b3 Changelog
Resource Management - Storage 23.0.1 Changelog
Resource Management - Storage Actions 1.0.0 Changelog
Storage - Blobs 12.26.0 Changelog
Features Added
- Stable release of features from 12.26.0b1
Bugs Fixed
- Fixed an issue where
BlobClient’sstart_copy_from_urlwithincremental_copy=Trueresults inTypeError.
Storage - Files Data Lake 12.21.0 Changelog
Features Added
- Stable release of features from 12.21.0b1
Storage - Files Share 12.22.0 Changelog
Features Added
- Stable release of features from 12.22.0b1
Storage - Queues 12.13.0 Changelog
Features Added
- Stable release of features from 12.13.0b1
Web PubSub 1.3.0 Changelog
Features Added
- Added new APIs “list_connections”
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.0.2
$> pip install azure-ai-agents==1.1.0b4
$> pip install azure-ai-evaluation==1.9.0
$> pip install azure-ai-ml==1.28.0
$> pip install azure-ai-ml==1.28.1
$> pip install azure-ai-projects==1.0.0b12
$> pip install azure-communication-phonenumbers==1.3.0
$> pip install azure-core==1.35.0
$> pip install azure-cosmos==4.13.0b2
$> pip install azure-cosmos==4.14.0b1
$> pip install azure-identity==1.23.1
$> pip install azure-keyvault-administration==4.6.0
$> pip install azure-keyvault-certificates==4.10.0
$> pip install azure-keyvault-keys==4.11.0
$> pip install azure-keyvault-secrets==4.10.0
$> pip install azure-messaging-webpubsubservice==1.3.0
$> pip install azure-mgmt-appconfiguration==5.0.0
$> pip install azure-mgmt-arizeaiobservabilityeval==1.0.0
$> pip install azure-mgmt-avs==9.1.0
$> pip install azure-mgmt-cloudhealth==1.0.0b1
$> pip install azure-mgmt-computeschedule==1.1.0
$> pip install azure-mgmt-containerservice==38.0.0
$> pip install azure-mgmt-containerservicesafeguards==1.0.0b1
$> pip install azure-mgmt-core==1.6.0
$> pip install azure-mgmt-datamigration==10.1.0b2
$> pip install azure-mgmt-dns==9.0.0
$> pip install azure-mgmt-dnsresolver==1.1.0
$> pip install azure-mgmt-eventhub==12.0.0b1
$> pip install azure-mgmt-hardwaresecuritymodules==1.0.0
$> pip install azure-mgmt-hybridcompute==9.1.0b2
$> pip install azure-mgmt-iotfirmwaredefense==2.0.0b1
$> pip install azure-mgmt-keyvault==12.0.0
$> pip install azure-mgmt-kubernetesconfiguration-privatelinkscopes==1.0.0b1
$> pip install azure-mgmt-lambdatesthyperexecute==1.0.0
$> pip install azure-mgmt-mongodbatlas==1.0.0
$> pip install azure-mgmt-monitor==7.0.0b2
$> pip install azure-mgmt-networkcloud==2.1.0
$> pip install azure-mgmt-oracledatabase==2.0.0
$> pip install azure-mgmt-playwright==1.0.0b1
$> pip install azure-mgmt-purestorageblock==1.0.0
$> pip install azure-mgmt-resource==24.0.0
$> pip install azure-mgmt-resource==25.0.0b1
$> pip install azure-mgmt-resource-bicep==1.0.0b1
$> pip install azure-mgmt-resource-deployments==1.0.0b1
$> pip install azure-mgmt-servicebus==10.0.0b1
$> pip install azure-mgmt-servicefabricmanagedclusters==2.1.0b3
$> pip install azure-mgmt-storage==23.0.1
$> pip install azure-mgmt-storageactions==1.0.0
$> pip install azure-mgmt-web==9.0.0
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b38
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b39
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b40
$> pip install azure-search-documents==11.5.3
$> pip install azure-storage-blob==12.26.0
$> pip install azure-storage-file-datalake==12.21.0
$> pip install azure-storage-file-share==12.22.0
$> pip install azure-storage-queue==12.13.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.