Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MacOS] Activity Notification are inconsistent and not showing the banner and count above the icon of the [NEW] Ms Teams App #11060

Closed
Chang025 opened this issue Jun 13, 2024 · 6 comments
Assignees
Labels
needs-author-feedback Needs more info from the customer. status-no-recent-activity T2.1 teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@Chang025
Copy link

Steps to reproduce

I am experiencing an issue with Activity Notifications. We are not receiving the notification on the Teams App. We have published the app with StatisTab support, the manifest contains activities needed for the notifications. We have granted TeamsActivity.Send application permission on the azure.

Manifest sample:
.."staticTabs": [ { "entityId": "chat", "name": "Chat", "contentUrl": "https://ourcustomappdomain/test.html", "scopes": [ "personal" ] } ], "activities": { "activityTypes": [ { "type": "taskCreated", "description": "Task created activity", "templateText": "A task created with id: <taskId> for you" }, { "type": "approvalRequired", "description": "Deployment requires your approval", "templateText": "{actor} created a new deployment {deploymentId}" } ] }

Request:
curl --location 'https://graph.microsoft.com/v1.0/teamwork/sendActivityNotificationToRecipients' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {token}' \ --data-raw '{ "topic": { "source": "entityUrl", "value": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{teams-app-id}" }, "activityType": "systemDefault", "previewText": { "content": "New Task Created" }, "recipients": [{ "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "${user-id}" }], "templateParameters": [ { "name": "systemDefaultText", "value": "Iterate 8" } ] }'

NOTE:

  • Notifications are working fine on the mobile Teams app.
  • When we logged-in on the browser's tab, the notifications are properly coming in the bottom right.
  • When using macOS New Teams App, no activity notification banner and count on the Teams App icon is visible.
  • Sometimes the activity notifications feed tile itself is not coming in the activity tab even if the API is returning 202 Accepted.
  • We have tested it for multiple AAD users before raising this issue.

Details:
New MS Teams App: 24124.1412.2911.3341 (24124.1412.2911.3341)
macOS: Sonoma 14.4.1 (23E224)
API doc: https://learn.microsoft.com/en-us/graph/teams-send-activityfeednotifications?tabs=desktop%2Chttp#request-7

Attachments:
Screenshot 2024-06-13 at 8 01 28 PM
No Count on the top of app:
Screenshot 2024-06-13 at 8 01 41 PM
The count on the activity icon inside macOS Teams App is coming silently:
Screenshot 2024-06-13 at 8 02 12 PM
missing notification for This is 4:
Screenshot 2024-06-13 at 8 03 30 PM

Successful notifications on mobile and browser logged-in teams:
Screenshot 2024-06-13 at 8 04 54 PM
edited_browser_teams_app

Expected behavior

  • It should show the count above the App icon.
  • It should have shown the banner notification whenever triggered from the sendActivityNotificationToRecipients API.
  • It should be consistent across the web, Team macOS app, and mobiles applications.

Actual behavior

  • Sometimes it does not show the activity itself in the feed, even after receiving the success (202 Accepted) from the sendActivityNotificationToRecipients API.
  • It is not showing the count on the NewTeamsApp icon.
  • It is only showing the toast notification on the bottom right when I have logged in to the browser, but when only New Teams App is opened or closed, and it is running in the background it is not showing any kind of notification for activity feeds.

Error details

No response

Copy link
Contributor

Hi Chang025! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Dinesh-MSFT
Copy link

Hi @Chang025 - Thanks for raising the query.
We will look into it and let you know the updates.

@Dinesh-MSFT
Copy link

Hi @Chang025,
Could you please share the exact repro steps. Please confirm whether it is working in IOS mobile/ Windows/ Web client/desktop.

@Chang025
Copy link
Author

Chang025 commented Jun 21, 2024

@Dinesh-MSFT - We are running ** sendActivityNotificationToRecipients** request API from Postman(sample attached in the description) and checking the notifications on MS Teams across all devices.

Here are our observations:

  • android app (icon count, banner even when minimized)
  • iOS app (no icon count, banner notification is only showing inside app, not when the app is minimized)
  • Windows (chrome browser, everything is working even on minimize)
  • Windows (MS Teams App, everything is working along with icon count and banner)
  • macOS Chrome Browser (when switched to another tab only sound is coming no banner, but when switched to teams tab both banner and sound)
  • macOS Teams APP (when open, quit, minimized, no banner or sound or icon count is showing, only showing inside count over Activity icon)

@ChetanSharma-msft ChetanSharma-msft added teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label T2.1 labels Jul 2, 2024
@Dinesh-MSFT
Copy link

Hi @Chang025,
Sorry for the delay in the response. Could you please share the exact repro steps. We will look into it and let you know the updates.

@ChetanSharma-msft ChetanSharma-msft added needs-author-feedback Needs more info from the customer. and removed needs-triage 🔍 labels Jul 31, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-author-feedback Needs more info from the customer. status-no-recent-activity T2.1 teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

4 participants