Community sample - A365 Teams agent with notification functionality#147
Open
adner wants to merge 2 commits intomicrosoft:mainfrom
Open
Community sample - A365 Teams agent with notification functionality#147adner wants to merge 2 commits intomicrosoft:mainfrom
adner wants to merge 2 commits intomicrosoft:mainfrom
Conversation
…de for agent that uses A365 notification functionality.
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request introduces a community-contributed Agent 365 sample demonstrating notification functionality for Word comments and email responses. The sample provides a bare-bones implementation to illustrate A365 notifications with minimal complexity.
Changes:
- Adds a new C# Agent Framework sample in the community contributions folder
- Implements handlers for Word document comment notifications and email notifications
- Includes basic agent configuration with Azure OpenAI integration and MCP tool support
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 29 comments.
Show a summary per file
| File | Description |
|---|---|
| community/adner/Agent365_Notifications/README.md | High-level overview and setup instructions for the notification sample |
| community/adner/Agent365_Notifications/AgentFrameworkNotificationAgent.sln | Visual Studio solution file for the notification agent project |
| community/adner/Agent365_Notifications/.gitignore | Git ignore rules for the sample directory |
| community/adner/Agent365_Notifications/notification-agent/Agent/MyAgent.cs | Main agent implementation with notification handlers for email and Word comments |
| community/adner/Agent365_Notifications/notification-agent/Tools/DateTimeFunctionTool.cs | Simple tool for retrieving current date and time |
| community/adner/Agent365_Notifications/notification-agent/Program.cs | Application startup configuration with DI setup and endpoint mapping |
| community/adner/Agent365_Notifications/notification-agent/AspNetExtensions.cs | Token validation extensions for Azure Bot Service authentication |
| community/adner/Agent365_Notifications/notification-agent/AgentFrameworkNotificationAgent.csproj | Project file with package references and build configuration |
| community/adner/Agent365_Notifications/notification-agent/appsettings.json | Configuration file with AI services, connections, and agent settings |
| community/adner/Agent365_Notifications/notification-agent/ToolingManifest.json | MCP server configuration for mail and Word tools |
| community/adner/Agent365_Notifications/notification-agent/.gitignore | Git ignore rules specific to the notification-agent project |
community/adner/Agent365_Notifications/notification-agent/Agent/MyAgent.cs
Outdated
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/Agent/MyAgent.cs
Outdated
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/Agent/MyAgent.cs
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/appsettings.json
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/Tools/DateTimeFunctionTool.cs
Outdated
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/AspNetExtensions.cs
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/AspNetExtensions.cs
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/AspNetExtensions.cs
Outdated
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/Agent/MyAgent.cs
Show resolved
Hide resolved
community/adner/Agent365_Notifications/notification-agent/AspNetExtensions.cs
Show resolved
Hide resolved
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.
After discussions with @tmlsousa, I here submit a PR for a sample A365 agent that uses notification functionality. The code is placed in a new folder in the repo what will contain community contributions.
This is a "bare bones" agents whose purpose is to as simple as possible illustrate the concept of A365 notifications, with as little additional complexity as possible.