We're using Microsoft.Graph to read /users and get notifications. This is the working example on how we subscribe:
var result = await _client.Subscriptions.Request().AddAsync(new Subscription() {
ChangeType = "updated,deleted",
NotificationUrl = /* skipped */,
ExpirationDateTime = DateTimeOffset.UtcNow.AddMinutes(10),
Resource = "/users",
}, token);
Up until 6th or 7th of December 2018 this was a valid code. Currently it returns:
Code: ExtensionError
Message: Operation: Create; Exception: [Status Code: Forbidden; Reason: Forbidden]
Inner error
Read /users
works.
Read and subscribe to /users/some@email/contacts
works.
Verification request on my callback url is received and properly processed.
I have an application token with Directory.Read.All
and Contacts.Read
application permissions.
Was there a change in permissions or API ?
UPDATE:
It is broken again approx 20th of January 2019. Are there any updates on that?