Can we create Multiple Presence subscription via Graph API with one user/application ?

Amir Sohail 416 Reputation points
2022-12-28T16:52:29.46+00:00

AOA,
I hope all are feeling well!
currently, we have three environments eg (QA, Staging, and Production) we need three subscriptions for mentioned environments.
can we create three subscriptions with one user?
I tried but the create subscription API response shows that "the subscription already exists".
What can I do please help me out.
THANKS

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Gopinath Chennamadhavuni 2,446 Reputation points
    2022-12-30T05:35:24.407+00:00

    Hi @Amir Sohail ,

    Thanks for reaching out.

    Currently a single Graph change subscription to Teams presence can be created. 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".
    You can raise a UserVoice for your specific scenario so that it could be considered for future implementation.

    You may check a similar post for more information here.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.