Programmatically create certificate for change notifications

Bryan Foster 0 Reputation points Microsoft Employee
2023-09-05T17:35:38.07+00:00

https://learn.microsoft.com/en-us/graph/webhooks-with-resource-data?tabs=csharp#managing-encryption-keys

The site above demonstrates how to connect to MS Graph for change notifications. However, the documentation is lacking on ways to create a valid certificate. We are trying to create a certificate programmatically, but no matter how we do it, MS Graph will not except it. We are currently using a static cert from a different vendor. Could you I get some sample code snippets (C#) showing how to create an acceptable cert? or be directed to docs demonstrating this.

Thank You!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,826 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.