.NET: Update Azure AI Projects to 3.0.0 beta 1 - #7995
Open
Roger Barreto (rogerbarreto) wants to merge 2 commits into
Open
.NET: Update Azure AI Projects to 3.0.0 beta 1#7995Roger Barreto (rogerbarreto) wants to merge 2 commits into
Roger Barreto (rogerbarreto) wants to merge 2 commits into
Conversation
Migrate Foundry consumers to the OpenAI 2.12 response and conversation types while preserving Azure.AI.OpenAI compatibility through scoped package overrides. Refs microsoft#7994 Copilot-Session: 57730879-50c2-46e6-82f6-ddf01a29ba0c
Roger Barreto (rogerbarreto)
requested review from
SergeyMenshykh,
chetantoshniwal,
Peter Ibekwe (peibekwe) and
westey (westey-m)
as code owners
September 1, 2026 14:19
Roger Barreto (rogerbarreto)
deployed
to
github-app-auth
September 1, 2026 14:19 — with
GitHub Actions
Active
Roger Barreto (rogerbarreto)
deployed
to
github-app-auth
September 1, 2026 14:19 — with
GitHub Actions
Active
Roger Barreto (rogerbarreto)
deployed
to
github-app-auth
September 1, 2026 14:19 — with
GitHub Actions
Active
Roger Barreto (rogerbarreto)
temporarily deployed
to
integration
September 1, 2026 14:19 — with
GitHub Actions
Inactive
Roger Barreto (rogerbarreto)
temporarily deployed
to
integration
September 1, 2026 14:19 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
MAF Automated Review — Iteration 1
Result: No findings
Scope: full PR (1 commit(s)): 85d24a395b18
Model: gpt-5.6-sol
Overview
No publishable findings were identified in the reviewed scope.
Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.
Copilot started reviewing on behalf of
Roger Barreto (rogerbarreto)
September 1, 2026 14:30
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Foundry to Azure.AI.Projects 3.0.0-beta.1/OpenAI 2.12 while preserving Azure.AI.OpenAI compatibility.
Changes:
- Migrates conversation, response, memory, and client-option APIs.
- Adds project-level OpenAI 2.10 compatibility pins.
- Updates tests, samples, warnings, and version references.
Reviewed changes
Copilot reviewed 63 out of 63 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
dotnet/Directory.Packages.props |
Updates central SDK versions. |
dotnet/src/Microsoft.Agents.AI.Foundry/ClientHeadersExtensions.cs |
Updates MEAI documentation. |
dotnet/src/Microsoft.Agents.AI.Foundry/ClientHeadersPolicy.cs |
Updates MEAI documentation. |
dotnet/src/Microsoft.Agents.AI.Foundry/Microsoft.Agents.AI.Foundry.csproj |
Configures 3.0 preview dependencies. |
dotnet/src/Microsoft.Agents.AI.Foundry/ServedModelPolicy.cs |
Updates MEAI documentation. |
dotnet/src/Microsoft.Agents.AI.Foundry.Hosting/HostedAgentUserAgentPolicy.cs |
Updates MEAI documentation. |
dotnet/src/Microsoft.Agents.AI.Foundry.Hosting/ServiceCollectionExtensions.cs |
Updates MEAI documentation. |
dotnet/src/Microsoft.Agents.AI.OpenAI/Microsoft.Agents.AI.OpenAI.csproj |
Pins the OpenAI 2.10 line. |
dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Foundry/AzureAgentProvider.cs |
Migrates conversation response types. |
dotnet/tests/Microsoft.Agents.AI.UnitTests/OpenTelemetryAgentTests.cs |
Updates expected MEAI version context. |
dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/PolicyPipelineInvestigationTests.cs |
Fixes namespace and type qualification. |
dotnet/tests/Microsoft.Agents.AI.OpenAI.UnitTests/Microsoft.Agents.AI.OpenAI.UnitTests.csproj |
Pins compatibility dependencies. |
dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/OpenAIResponsesIntegrationTests.cs |
Uses specialized response options. |
dotnet/tests/Microsoft.Agents.AI.Hosting.OpenAI.UnitTests/AgentHostingServiceCollectionExtensionsTests.cs |
Uses specialized response options. |
dotnet/tests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.IntegrationTests/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.IntegrationTests.csproj |
Pins compatibility dependencies. |
dotnet/tests/Microsoft.Agents.AI.Foundry.UnitTests/Microsoft.Agents.AI.Foundry.UnitTests.csproj |
Updates preview warning configuration. |
dotnet/tests/Microsoft.Agents.AI.Foundry.UnitTests/MeaiAutoUserAgentVerificationTests.cs |
Migrates response options and version. |
dotnet/tests/Microsoft.Agents.AI.Foundry.UnitTests/FoundryAgentTests.cs |
Updates expected MEAI version. |
dotnet/tests/Microsoft.Agents.AI.Foundry.UnitTests/AIProjectClientExtensionsTests.cs |
Resolves migrated tool-type ambiguity. |
dotnet/tests/Microsoft.Agents.AI.Foundry.Hosting.UnitTests/HostedOutboundUserAgentTests.cs |
Updates expected user-agent version. |
dotnet/tests/Microsoft.Agents.AI.Foundry.Hosting.UnitTests/FoundryAIToolExtensionsTests.cs |
Uses renamed creation property. |
dotnet/tests/Foundry.IntegrationTests/ResponsesAgentFixture.cs |
Migrates conversation items. |
dotnet/tests/Foundry.IntegrationTests/ResponsesAgentExtensionCreateTests.cs |
Uses ConversationResource. |
dotnet/tests/Foundry.IntegrationTests/FoundryVersionedAgentFixture.cs |
Migrates conversation items. |
dotnet/tests/Foundry.IntegrationTests/Foundry.IntegrationTests.csproj |
Suppresses preview diagnostics. |
dotnet/tests/Foundry.Hosting.IntegrationTests/Foundry.Hosting.IntegrationTests.csproj |
Updates diagnostic suppressions. |
dotnet/tests/Foundry.Hosting.IntegrationTests/Fixtures/HostedAgentFixture.cs |
Migrates conversation items. |
dotnet/samples/05-end-to-end/M365Agent/M365Agent.csproj |
Pins compatibility dependencies. |
dotnet/samples/05-end-to-end/AGUIWebChat/Server/Program.cs |
Removes namespace imports. |
dotnet/samples/05-end-to-end/AGUIWebChat/Server/AGUIWebChatServer.csproj |
Pins compatibility dependencies. |
dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/AGUIDojoServer.csproj |
Pins compatibility dependencies. |
dotnet/samples/05-end-to-end/AgentWithPurview/AgentWithPurview.csproj |
Pins compatibility dependencies. |
dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.Web/OpenAIResponsesAgentClient.cs |
Uses specialized response options. |
dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.AgentHost/AgentWebChat.AgentHost.csproj |
Pins compatibility dependencies. |
dotnet/samples/04-hosting/FoundryHostedAgents/responses/Hosted-Workflow-Resilient/HostedWorkflowResilient.csproj |
Selects SDK by local/package mode. |
dotnet/samples/04-hosting/FoundryHostedAgents/responses/Hosted-Workflow-Handoff/HostedWorkflowHandoff.csproj |
Pins standalone compatibility versions. |
dotnet/samples/04-hosting/FoundryHostedAgents/responses/Hosted-Steering/HostedSteering.csproj |
Selects SDK by local/package mode. |
dotnet/samples/03-workflows/Visualization/Visualization.csproj |
Pins transitive compatibility versions. |
dotnet/samples/03-workflows/Declarative/HostedWorkflow/Program.cs |
Migrates conversation type. |
dotnet/samples/03-workflows/Concurrent/MapReduce/MapReduce.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/ModelContextProtocol/ResponseAgent_Hosted_MCP/ResponseAgent_Hosted_MCP.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/ModelContextProtocol/Agent_MCP_Server/Agent_MCP_Server.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/ModelContextProtocol/Agent_MCP_Server_Auth/Agent_MCP_Server_Auth.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/ModelContextProtocol/Agent_MCP_LongRunningTask_Client/Agent_MCP_LongRunningTask_Client.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/DevUI/DevUI_Step01_BasicUsage/DevUI_Step01_BasicUsage.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/DeclarativeAgents/ChatClient/DeclarativeChatClientAgents.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AGUI/Step05_StateManagement/Server/Server.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AGUI/Step04_HumanInLoop/Server/Server.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AGUI/Step03_FrontendTools/Server/Server.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AGUI/Step02_BackendTools/Server/Server.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AGUI/Step01_GettingStarted/Server/Server.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AgentWithMemory/AgentWithMemory_Step06_MemoryUsingAgentMemory/AgentWithMemory_Step06_MemoryUsingAgentMemory.csproj |
Updates standalone MEAI version. |
dotnet/samples/02-agents/AgentSkills/Agent_Step07_SkillsAutoApproval/Agent_Step07_SkillsAutoApproval.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AgentProviders/foundry/Agent_Step22_MemorySearch/Program.cs |
Uses renamed memory properties. |
dotnet/samples/02-agents/AgentProviders/foundry/Agent_Step22_MemorySearch/Agent_Step22_MemorySearch.csproj |
Suppresses preview diagnostics. |
dotnet/samples/02-agents/AgentProviders/foundry/Agent_Step20_MicrosoftFabric/Agent_Step20_MicrosoftFabric.csproj |
Suppresses preview diagnostics. |
dotnet/samples/02-agents/AgentProviders/foundry/Agent_Step19_SharePoint/Agent_Step19_SharePoint.csproj |
Suppresses preview diagnostics. |
dotnet/samples/02-agents/AgentProviders/foundry/Agent_Step18_BingCustomSearch/Agent_Step18_BingCustomSearch.csproj |
Suppresses preview diagnostics. |
dotnet/samples/02-agents/AgentProviders/foundry/Agent_Step02.2_MultiturnWithServerConversations/Program.cs |
Uses ConversationResource. |
dotnet/samples/02-agents/AgentProviders/azure/Agent_With_AzureOpenAIResponses/Agent_With_AzureOpenAIResponses.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/AgentProviders/azure/Agent_With_AzureOpenAIChatCompletion/Agent_With_AzureOpenAIChatCompletion.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/A2A/A2AAgent_StreamReconnection/A2AAgent_StreamReconnection.csproj |
Pins compatibility dependencies. |
dotnet/samples/02-agents/A2A/A2AAgent_PollingForTaskCompletion/A2AAgent_PollingForTaskCompletion.csproj |
Pins compatibility dependencies. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Restore namespaces required by the Azure OpenAI sample after dependency isolation changes. Copilot-Session: 57730879-50c2-46e6-82f6-ddf01a29ba0c
Roger Barreto (rogerbarreto)
deployed
to
github-app-auth
September 1, 2026 16:36 — with
GitHub Actions
Active
Roger Barreto (rogerbarreto)
temporarily deployed
to
integration
September 1, 2026 16:36 — with
GitHub Actions
Inactive
Roger Barreto (rogerbarreto)
temporarily deployed
to
integration
September 1, 2026 16:36 — with
GitHub Actions
Inactive
westey (westey-m)
approved these changes
Sep 1, 2026
SergeyMenshykh
approved these changes
Sep 2, 2026
Roger Barreto (rogerbarreto)
enabled auto-merge
September 2, 2026 12:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation & Context
Azure.AI.Projects 3.0.0-beta.1 moves its response and conversation models to OpenAI 2.12.0. Agent Framework needs to adopt the new SDK surface while preserving projects that still depend on Azure.AI.OpenAI 2.9.0-beta.1 and its older OpenAI dependency line.
Description & Review Guide
Related Issue
Fixes #7994
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and the title prefix in sync automatically.