I raise a subscription request as below and the response is:
Subscription validation request failed. Must respond with 200 OK to this request.
Ho do I do I send this response please in UWP?
var result = await request.AddAsync(
new Subscription
{
ChangeType = "created,updated",
NotificationUrl = "https://webhook.azurewebsites.net/notificationClient",
Resource = "/me/mailfolders('inbox')/messages",
ExpirationDateTime = DateTimeOffset.Now.AddMinutes(20),
ClientState = Guid.NewGuid().ToString()
}
);
Ok, I think i need the webhook and the notificationClient, how/ where do i get these values?