Forum Discussion
Question about Graph API - changes notification
ChenguangHe - Could you please refer this sample?
Microsoft-Teams-Samples/samples/graph-change-notification at main ยท OfficeDev/Microsoft-Teams-Samples (github.com)
- ChenguangHeJun 16, 2022Brass ContributorPrasad_Das-MSFT that project is written in nodejs, is there any Java example?
In addition, can't I just use Graph API to achieve it?- Prasad_Das-MSFTJun 16, 2022
Microsoft
ChenguangHe - There is no Java sample available for it. However, this thread discusses about similar issue. Please have a look at once which explains:
validationToken will only send to the webhook at the time of Subscription creation, after that Microsoft start sending the change notifications and there won't be any validationToken send with the change notification. This is done just to ensure that the Notification endpoint is valid/active.
Set up notifications for changes in resource data - Microsoft Graph | Microsoft Docs- ChenguangHeJun 16, 2022Brass Contributor
Hi Prasad_Das-MSFT, I used the given sample and still have some issues. When I create request of change notification, how can I get clientState, encryptionCertificate and encryptionCertificateId?