Share via

azure.ai.agents.persistent v1.2.0-beta.9 not compatible with Azure.OpenAI 2.2/OpenAI 2.8?

Barry Briggs 115 Reputation points
2026-03-17T15:44:43.1633333+00:00

My app is blocked because of this. Most of RAG app uses Azure.AI.OpenAI 2.2 but tried to add an agent integration with the above; apparently ...persistent is dependent on an earlier version. Fixed soon?

Azure OpenAI Service
Azure OpenAI Service

An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karnam Venkata Rajeswari 565 Reputation points Microsoft External Staff Moderator
    2026-03-26T10:06:36.01+00:00

    Hello Barry Briggs,

    Welcome to Microsoft Q&A .Thank you for reaching out.

    The observed issue is caused by version misalignment between a preview agent SDK and stable OpenAI SDKs. Aligning package versions or isolating preview functionality resolves the conflict in most cases. Preview SDKs require careful dependency management until general availability.

    The package Azure.AI.Agents.Persistent v1.2.0‑beta.9 is a preview (beta) SDK that is part of the newer Azure AI Agents platform. Preview SDKs are validated against a specific set of dependency versions and do not always stay aligned with the latest stable releases of other SDKs.

    At present, Azure.AI.Agents.Persistent v1.2.0‑beta.9 targets an earlier OpenAI SDK dependency, while many existing RAG applications use Azure.AI.OpenAI 2.2 or later. When both are referenced in the same application, the dependency versions do not align, which can result in build or runtime conflicts. This can appear as the application being blocked.

    Please consider the following workarounds to resolve the issue

    1.Align package versions

    Please use matching SDK versions across the application to avoid dependency conflicts.

    • Downgrade Azure.AI.OpenAI to the version expected by the Agents Persistent beta.
    • Alternatively, use preview builds across the stack where dependencies are aligned.

    2.Isolating the agent functionality

    If existing RAG functionality depends on newer OpenAI SDK versions, then

    • Consider separating agent‑based logic into a different project or service.
    • Keep stable RAG workflows unchanged.
    • Use Agents Persistent only where preview SDK alignment is possible.

    References:

    Thank you!

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.

     

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.