microsoftgraph / msgraph-sdk-serviceissues

Tracks service issues for follow up.
5 stars 0 forks source link

Subscribing to presence for multiple users #46

Open tcs-devel opened 3 years ago

tcs-devel commented 3 years ago

Hi,

we are about to implement presence subscriptions using the BETA SDK (v0.32.-preview). During that some issues and questions came up which would require clarification. As we did not find the information in the documentation we opened an SO question - sadly without real useful answers yet. That's why we are trying our luck here, maybe someone can bring light into the darkness. Here the information from the SO question:


Everything is working smoothly when just subscribing for some users. As soon as the number of users gets larger, problems are starting. Basically we are doing it like mentioned here:

Subscription = Client.Subscriptions.Request().AddAsync(new Subscription
{
   Resource = $"/communications/presences?$filter=id in ('<guid>','<guid>',...))",
   ChangeType = "updated",
   ...
}).Result

Issue 1: Two subscriptions, one user/presence on each

After everything was working, we tried to create multiple subscriptions. In our test case two subscriptions with a single contact on each. Trying to create a second subscription does not work with the error "Operation: Create; Exception: [Status Code: Conflict; Reason: A subscription already exists. It must be deleted before a another can be made.]"

Issue 2: One subscription, multiple users/presences

Afterwards we tried to create a single subscription with more than our three test users, which sadly did also not work as expected:

Any information would be helpful. Thanks in advance.

AB#7145

MIchaelMainer commented 3 years ago

@jsandoval-msft Can you take a look at this?

tcs-devel commented 3 years ago

Any updates on this?

andrueastman commented 3 years ago

Ping @jsandoval-msft

kafka-yu commented 2 years ago

Hi Team,

any update on this? We meet same issues like above #1 #2.

Rashad-j commented 1 year ago

Is this solved? we still have a problem here

petrhollayms commented 6 months ago

Thank you for reporting this issue. This appears to be an issue or limitation with the service APIs. Unfortunately, as the Microsoft Graph SDK team, we do not have ownership of the APIs that are causing you issues. We invite you to create a question about the service API to Microsoft Q&A and tagged with one of the [microsoft-graph-*] tags, that way it will get routed to the appropriate team for them to triage:

https://aka.ms/msgraphsupport or directly https://aka.ms/askgraph

For now, we will close the issue on our side but feel free to open it in the relevant repository if you think the issue is specific to SDK. Please let us know if this helps!

Note: We will close this repository on April 19, 2024.