User Profile
ingmaramzan
Copper Contributor
Joined 6 years ago
User Widgets
Recent Discussions
Best practice on how to renew change notification subscription while the user is not signed in
I am currently developing an app that will have synchronization features for Outlook contacts and messages. Then I noticed that both of these have a maximum expiration time of ~3 days. I need a pointer on how to renew/reauthorize this subscription, I want to use only Delegated permissions because using application permission could be a turndown for our potential user (we don't want to use admin-required permission). We don't want to rely on the user signing into the app because it's possible that the user doesn't log in to the app for more than three days. However, we need the access token to update the subscription. I considered storing the access token and refresh token of the user encrypted in our database, but I don't like this solution since it adds more complexity and may go against some compliances. What options do I have? Also, this https://learn.microsoft.com/en-us/graph/change-notifications-delivery-webhooks?tabs=http#authentication authentication section mentions about access token, but it says that it is only used for validation. This section is a bit confusing, can anyone explain?398Views0likes0CommentsRe: How to send activity feed notification that is tied to a card notification
Hi Sayali-MSFT, thanks for the answer. What is the reason that I can't send both activity and bot framework notifications? According to this doc [https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-and-group-conversations?tabs=typescript#add-mentions-to-your-messages], when sending a message via bot framework I can also make it an activity notification by mentioning the user by including <at>{userId}</at> in the message. Is it not possible to do the same while sending a card notification? So, in my case, I want to send the user a card message and have that message show up in the user's activity feed. Is something like this possible?2.4KViews0likes2CommentsHow to send activity feed notification that is tied to a card notification
Hi, All. I'm developing a Teams Add-On app that uses Adaptive Card to notify the user about the activity and interaction between users that happened in the App. I'm sending this notification via a bot and now I need to expand this notification to also be included in the Activity Feed of the recipient. I have tried using Mention as stated on the docs https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-and-group-conversations?tabs=typescript#add-mentions-to-your-messages but it doesn't work for card notification. I have also come across this docs about https://learn.microsoft.com/en-us/graph/teams-send-activityfeednotifications?tabs=http, but I don't know how to make it tied to the card notification that the bot send. Any help is appreciated.Solved
Recent Blog Articles
No content to show