Hi,
is it also possible to create a subscription to the exchange calendar of an exchange-resource (meeting room calendar)? Despit full delegated rights on that resource calendar, I receive an "ExtensionError" with Message "Operation: Create; Exception: [Status Code: Forbidden; Reason: Forbidden]".
Thanks in advance
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
It is possible to create a subscription to a shared calendar using application permissions (app-only) with Calendars.Read, but not delegated user permissions. If you would like us to prioritize this scenario, please submit a user voice request. https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/category/101632-microsoft-graph-o365-rest-apis
Re-opening. We should make it clearer in these docs that only app-only is supported for shared calendar.
Error: I am unable to create a subscription as it throws me error as shown below, can you please help?
Code: InvalidRequest Message: Subscription validation request failed. Must respond with 200 OK to this request. Inner error
Can we clarify this in the docs plesae?
@jthake-msft , PR #3656 will contain the doc updates in the subscription CRUD topics to clarify the permissions that support subscribing to Outlook contacts, events, or messages in user mailboxes.
Basically:
@jthake-msft how do we create a subscription to a shared calendar using application permissions (app-only) with Calendars.Read, but not delegated user permissions. ? can we change resource parameter like below ?
{
"changeType": "created,updated",
"resource": "users/[email protected]/events",
"notificationUrl": "https://webhook.azurewebsites.net/api/send/myNotifyClient",
"expirationDateTime":"2016-11-20T18:23:45.9356913Z",
"clientState": "secretClientValue"
}
When using application permissions in this way, ie to allow an application to create a subscription to a rooms calendar, is there a way to granularly decide which calendars an app has access to? for example I want to allow the application to have access to all room calendars but not to any users calendars?
@asith-w , @MarkRBM , would you please post your questions on stackoverflow, making sure to tag your posts with [microsoft-graph]?
There's a better chance your questions would get answers there.
There really should be a way to subscribe to only shared calendars without requiring read permissions to every single calendar in the tenant. Since there already is a Calendars.Read.Shared permission, I can set up this behavior myself by polling the calendars I'm interested in - why can't I also be notified of changes in these calendars using the same permission?
This issue will be closed because we only accept document content feedback through this system. This system is not intended for service issues, questions, or service feedback.
If you have service issues and want to raise a support request, and if one of the following applies:
If you would like to ask a question about Microsoft Graph, please visit Stack Overflow and ask your questions there using the [microsoft-graph] tag.
If you have suggestions or feedback on Microsoft Graph, please submit this at Microsoft Graph Uservoice.
If you are looking to provide feedback or raise issues on Microsoft Graph SDKs, please visit the respective Github repo.
Most helpful comment
When using application permissions in this way, ie to allow an application to create a subscription to a rooms calendar, is there a way to granularly decide which calendars an app has access to? for example I want to allow the application to have access to all room calendars but not to any users calendars?