How to Build Copilot Studio Agents in VS Code Using Natural Language
In this community session, I was joined by Nilüfer Doğan to walk through a fully code-driven approach to building a Copilot Studio agent using GitHub Copilot in VS Code.
Rather than using point-and-click tooling, Nilüfer shows how to use GitHub Copilot to write agent logic in natural language directly inside VS Code. The session covers the full development workflow: setting up the agent, creating Azure resources for a RAG pipeline using Azure OpenAI and Azure AI Search, connecting to Microsoft Dataverse using Managed Identity, and creating custom tools through a Power Platform Custom Connector built with Python and FastAPI.
The agent handles two scenarios: answering questions over company documents using RAG, and reading and writing employee data in Dataverse. The complete solution is deployed to Azure App Service using azd and is available as an open source GitHub repository.
🔗 GitHub Repo: https://github.com/niluferdogan/hragent