question

SundasFarooq-8094 avatar image
0 Votes"
SundasFarooq-8094 asked ShwetaChoudhary-8869 edited

MS Graph Multiple Subscription Conflict Error

I am using MS Graph API to get change notification for presence change in MS Teams. For this task I am following this link: https://github.com/microsoftgraph/java-spring-webhooks-sample
It works well but if I try to create more than one subscriptions. I got subscription conflict error(Below)
Error message: Operation: Create; Exception: [Status Code: Conflict; Reason: A subscription already exists. It must be deleted before a another can be made.]

As I want to create multiple subscriptions for multiple clients.
Is it possible to create multiple subscriptions on single HTTPs URL?
How can I create multiple subscriptions?
if there is no solution then is there any possible work around?
Many Thanks.

microsoft-graph-notifications
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShwetaChoudhary-8869 avatar image
0 Votes"
ShwetaChoudhary-8869 answered ShwetaChoudhary-8869 edited

Thank you for reaching out.

When we try to add more subscriptions then we get the conflict error "A subscription already exists. It must be deleted before another can be made", because it supports only one subscription currently.
Being said that, consider filing UserVoice for your specific scenario so that it could be considered for future implementation.

You may also want to check out a similar thread here.

Thanks.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.