posts
Generate OpenAPI Spec for M365 Copilot Declarative Agent
Introduction After encountering issues with creating a To-Do task action in my previous attempt Building a Copilot Agent with Microsoft 365 Agents Toolkit and Microsoft Graph Plugin to list my ToDo Tasks, I explored various methods to generate an OpenAPI specification for M365 Copilot Declarative Agents using the Ms Graph OpenAPI spec. This post outlines the different approaches I tried, the challenges I faced, and the lessons learned.
Methods for Generating OpenAPI Specs 1.
posts
Limitations of OpenAPI Spec with Complex Objects in Copilot Declarative Agents
Introduction In a previous post, I detailed the steps for Building a Copilot Agent with Microsoft 365 Agents Toolkit and Microsoft Graph Plugin to list my ToDo Tasks. However, I encountered issues with the CreateTask function when using an OpenAPI spec generated with Kiota. Upon investigation, I identified the problem as being related to the handling of complex objects, particularly those involving dates. Even after simplifying the object structure, the CreateTask function continued to fail.
posts
Microsoft Graph: Challenges with UserInformationList Search and Filter
Introduction When working with the UserInformationList in SharePoint via Microsoft Graph, you might encounter challenges when trying to search or filter user information. This post highlights the issues I faced while attempting to use $search and $filter queries on the UserInformationList, along with examples and insights within M365 Copilot declarative agent.
Issue 1: Search by Email Did Not Work I attempted to search for a user by their email address using the $search query, but it did not return any results.