MSGraph subscription notification not received - microsoft-graph-api

We are using Graph API in our mobile app to subscribe for changes in users calendar items. We use the subscription feature of graph API with webhooks. However we notice that some times (approx 10%) our server webhook is not invoked at all.
What will be the right way to further troubleshoot this?
We have all the necessary details like SubscriptionID, EventID, Timestamp etc but are not sure where we can report/check this?
We would really appreciate any pointers.

Related

MS Graph API - Real time call notifications

I am exploring the MS graph APIs to build integration with MS Teams. In order to do that, I need real-time notifications or information about calling activities like incoming calls, transferred, on hold, hung up etc within.
I read through the MS Graph API documentation a couple of times but couldn't find anything related to it. I came across this Teamwork - Get System messages, and checked how it works. I got a few notifications when the call started in a channel or when a group call started, but it does not send any messages related to a 1-to-1 call.
I also tried the Communication API Call Records APIs, but this is not real-time. It sends the notification 12 mins or so after the call ended.
Has anyone in the community worked with real-time notifications related to calls? If yes, please do share details. Also if it is not possible with MS graph APIs then is there any other way to get real-time updates on calls?
I would really appreciate it if I get any help or pointers on this.
Thank you!

How to send a message from a Microsoft Teams bot using Microsoft Graph?

I a building a bot that should engage a 1 on 1 conversation with every user in a company using teams.
I would like to use the post chat message method:
https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http
However, it is written that it is "Not supported" for Applications.
I am missing something?
PS: I am trying to use Teams as directly as possible without middle stuff like Bot Service.
You'll definitely need a bot for this, and to use something called "Proactive Messaging". Please see some similar questions from earlier just this week that will give you some good reading and background, especially:
Proactive Messaging in MS Teams
Sending proactive messages from an outside process to organizational users via Teams chat bot
In the 2nd question especially I give links to further reading, samples, and a video with some more background.

Microsoft graph notification when new channel created in teams

I would like to receive a webhook notification when a new channel is created in a group in microsoft teams.
I already implemented receiving notifications when user is added to a group through teams (using this API - https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0). Unfortunately, it seems like group subscription is not triggered when a new channel is added.
Is there any other subscription I can use? Thank you in advance.
If you have the possibility to add a bot to the Team, then bots can receive this using the bot event mechanisms. Have a look at Handle bot events, and in particular this section. Once your bot has received the notification, you can of course do whatever you need to do.
Subscribing to channel events is not supported today by Microsoft graph. You can upvote the following idea to help prioritize efforts and also be notified whenever progress is made.
https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests/suggestions/37288522-microsoft-teams-create-channel-with-a-webhook

Want to get the change notification of the online meeting like meeting started/meeting ended in Microsoft Teams(Graph API)

I am developing an application where I want to have the trigger when someone starts, end, the participant added, etc in the online meeting in Microsoft Teams.
For this, I tried by creating a subscription for the resource called me/event (This might not work for the online meeting). I am receiving the change notification trigger for when event created/deleted/updated but not when online meeting starts/ended/participantAdded etc.
I found that we can use delta link to get the changed data but I am looking for the process to get the exact notifications like meeting started/ended etc from MS Teams through Graph API.
Any help would be appreciated.
Today Microsoft Graph change notifications do not support the online meeting resource. You might request that on uservoice. Depending on your scenario your might want to look at Microsoft teams call meetings bots

Editing/Deleting Calendar Events without notifications

We have an Outlook365 integration, which posts events to calendars from an external system via the Graph V1.0 API.
In November, a little bug has snuck about 2,000 events into various peoples calendars over the coming 12 months. We have managed to produce a list of the 2,000 odd Outlook IDs, but we are now super-worried that if we pump in DELETE requests for them all, the attendees are going to get hundreds of e-mail/event notifications telling them "XYZ has been cancelled" or similar.
(this bug was detected when a user told us they had been getting occasional event invites at 4am, so we assume that manipulating events via the API does dispatch notifications/emails to the users)
Is this true, and/or is there anyway to delete the event from Outlook without a notification being dispatched? We do not admin the target calendar, but may be able to get in touch with such a person if it was possible to do this from the Outlook365 side. We were hoping there might just be a silent flag/attribute or otherwise we could put in our request?
As a side note, is there any limit to the frequency/volume we can pump at the Graph V1.0 API in any time frame.
Unfortunately this is not supported on Microsoft Graph right now.
It is available on the Exchange Web Services APIs using SendCancellationsMode SendToNone enum https://learn.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.sendcancellationsmode?view=exchange-ews-api
I would really appreciate it if you could request this on Microsoft Graph Uservoice so we can have signal from our community the demand for this. https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests

Resources