Share via

How can I send notifications to a user that they can see on the logged in devices, with certain TTL

Sumit Sarkar 0 Reputation points Microsoft Employee
2023-06-08T05:29:30.13+00:00

I have a .NET Core service, in which I want to send notification with custom message to selected users.

These messages need to be shown on the logged in machine (say Windows machine) similar to the teams notification.

This message can have a TTL to it.

How can this be done?
I looked at the Graph notification API, but that is now deprecated.

Any suggestions?

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Mehtab Siddique (MINDTREE LIMITED) 971 Reputation points
    2023-06-14T09:05:40.3766667+00:00

    Hi @Sumit Sarkar,

    To Set up notifications for changes in resource data please check the this document for supported resources, not sure Device is available on the changes notification supported resources: https://learn.microsoft.com/en-us/graph/webhooks#supported-resources

    for setting Change Notifications and Track Changes with Microsoft Graph: https://learn.microsoft.com/en-us/training/modules/msgraph-changenotifications-trackchanges/


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

    Was this answer helpful?

    0 comments No comments

Your answer

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