Hi Claus,

thanks for opening CAMEL-28112. The draft PR is here:

https://github.com/apache/camel/pull/31394

CI is waiting for approval. Could you or another committer start it?

I have tested it on a real tenant since then, using Microsoft Graph with a
delegated access token: posting to a channel and receiving new messages
both work. That testing also showed a bug on empty channels, which is now
fixed. Client credentials, refresh tokens, the Workflows webhook and HTML
posting are still untested against Microsoft services.

On your suggestions: webhook mode now sends an Adaptive Card to Workflows
webhooks. Storing the delta link in a StateRepository is not done yet.


Thanks,
Piero

On Fri, Dec 04, 2026 03:28 PM, Claus Ibsen <[email protected]> wrote:

> Hi Piero,
>
> There is some hickups in the ASF system so I have created the JIRA ticket
> for you: https://issues.apache.org/jira/browse/CAMEL-28112
>
> Once your JIRA account is ready, we can assign it to you. Until then, you
> can use CAMEL-28112 in the commit message and in the PR title.
>
> I added a few points to the ticket to look at. Posting to a channel through
> Microsoft Graph needs delegated permissions, and Microsoft is retiring the
> Office 365 Connectors webhooks in favour of Workflows.
>
> Looking forward to the PR.
>
> On Fri, Dec 4, 2026 at 2:28 PM Piero Giacomelli <[email protected]>
> wrote:
>
> > Hi Claus,
> >
> > thanks for the feedback. At a high level, the component covers these use
> > cases:
> >
> > - Send notifications from a Camel route to a Teams channel, for example
> > alerts, build results or business events, through Microsoft Graph or a
> > webhook URL.
> > - Receive the new messages of a channel and route them to other systems,
> > for example open a ticket, publish to Kafka or store them in a database.
> > - Combine the two to bridge Teams with other systems.
> >
> > Current limits: chats and thread replies are not covered, and the
> consumer
> > keeps its position in memory, so messages posted while it is stopped are
> > not received.
> >
> > About JIRA: I tried to request the account again, but the self-serve
> portal
> > says a request is already pending for my email address, and I have not
> > received a new verification email. I have written to
> > [email protected]
> > about it. Once I can submit a new request, I will say that I am building
> a
> > new Microsoft Teams component.
> >
> > Thanks,
> > Piero
> >
> > On Fri, Dec 04, 2026 12:07 PM, Claus Ibsen <[email protected]>
> wrote:
> >
> > > Hi
> > >
> > > Thank you that sounds compelling with a connector for MS services.
> > > What use-cases can you do with this component (high level)
> > >
> > > And if you requested a JIRA then do it again and just say you are
> build a
> > > new MS component
> > > We get a fair bit of scams so we deny requests that does not seem legit
> > or
> > > we are in doubt.
> > >
> > >
> > > On Thu, Dec 3, 2026 at 8:00 AM Piero Giacomelli <[email protected]>
> > > wrote:
> > >
> > > > Hi Andrea,
> > > >
> > > > thanks for the quick reply. I will request the JIRA account again and
> > > > mention this thread and the dependency review.
> > > >
> > > > These are the dependencies in the module pom.xml:
> > > >
> > > > Compile:
> > > > - org.apache.camel:camel-support
> > > > - org.apache.camel:camel-util-json
> > > > - com.microsoft.azure:msal4j, version ${msal4j-version} from the
> parent
> > > > (currently 1.26.0), already used by camel-mail-microsoft-oauth. Its
> POM
> > > > brings in slf4j-api and com.azure:azure-json.
> > > >
> > > > Test:
> > > > - org.apache.camel:camel-test-junit6
> > > > - org.assertj:assertj-core
> > > > - org.mockito:mockito-core
> > > >
> > > > HTTP calls use the JDK java.net.http client, and the Microsoft Graph
> > SDK
> > > is
> > > > not used.
> > > >
> > > >
> > > > Thanks,
> > > > Piero
> > > >
> > > > On Wed, Dec 02, 2026 09:58 AM, Andrea Cosentino <[email protected]>
> > > wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I think it is a good addition, but we need to review the
> > dependencies.
> > > > >
> > > > > If you specify this in the request, we could approve the creation.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > Il giorno mer 2 dic 2026 alle ore 09:53 Piero Giacomelli <
> > > > > [email protected]>
> > > > > ha scritto:
> > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > I would like to contribute a new component,
> camel-microsoft-teams.
> > I
> > > > > > requested an ASF JIRA account to file the ticket, but the request
> > was
> > > > > > denied with the reason "this is not a valid reason for asking
> for a
> > > > JIRA
> > > > > > account". I probably did not explain it well enough, so here are
> > the
> > > > > > details.
> > > > > >
> > > > > > The component uses the URI microsoft-teams:teamId/channelId:
> > > > > > - Consumer: polls a channel with the Microsoft Graph delta query,
> > one
> > > > > > exchange per new message.
> > > > > > - Producer: posts to a channel through Microsoft Graph or a
> webhook
> > > > URL.
> > > > > > - Dependencies: a plain HTTP client plus msal4j, without the
> Graph
> > > SDK.
> > > > > >
> > > > > > I have an implementation with 62 passing tests against mock
> > servers.
> > > It
> > > > > has
> > > > > > been verified against a real Teams tenant. Chats and replies are
> > not
> > > > > > covered. It was written with Claude Code (AI-generated), and I am
> > the
> > > > > > operator.
> > > > > >
> > > > > > Would the community be interested? If so, could you approve a
> JIRA
> > > > > account
> > > > > > for me, or create the ticket? I am happy to adjust the design
> > first.
> > > > > >
> > > > > > Thanks,
> > > > > > pgiacome (GitHub)
> > > > > >
> > > > > > pgiacome (Piero Giacomelli) <https://github.com/pgiacome/>
> > > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Claus Ibsen
> > >
> >
>
>
> --
> Claus Ibsen
>

Reply via email to