Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
Hello Kwasi Kodie,
Welcome to Microsoft Q&A,
The connection string format you are using (endpoint;subscription=...;resourceGroup=...;projectName=...) is the legacy format from the older AIProjectClient.from_connection_string() method. The from_connection_string factory method has been removed in the newer Azure AI Agents SDK, and the Azure AI Foundry Project endpoint is now required to construct the AIProjectClient. If you are passing the connection string as a semicolon-separated string and the SDK is trying to parse out the subscription field, it may be extracting subscription=<GUID> literally instead of just the <GUID> value, causing the malformed identifier error.
The current AIProjectClient constructor takes a direct endpoint URL in the format https://<resource-name>.services.ai.azure.com/api/projects/<project-name> , not a connection string with individual components.
Please Upvote and accept the answer if it helps!!