MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
282 stars 505 forks source link

MS Teams New Version Issue: Direct App Opening from Activity Notifications Bypasses Feed View #10373

Open josefbrt opened 7 months ago

josefbrt commented 7 months ago

We implemented some activities for our app in MS Teams. When we send a activity with the topic source set to "entityUrl" and the value pointing to our app, the app will directly be opened instead of showing it to the side of the activity history.

This is only happening in the new MS Teams version.

Behavior in the old MS Teams version:

Behavior in the new MS Teams version:

So in the new version you have no chance to view the "Feed" when a the latest activity in the "Feed" is related to a app (like with the example below)


Example call that we are using:

GraphAPI Call: POST - https://graph.microsoft.com/v1.0/users/{userId}/teamwork/sendActivityNotification Parameter:

{
    "topic": {
        "source": "entityUrl",
        "value": "https://graph.microsoft.com/v1.0/users/{userId}/teamwork/installedApps/{installationId}"
    },
    "activityType": "requestCreated",
    "previewText": {
        "content": "XXXXXXXX want to invite XXXXXXXX to the team XXXXXXXX"
    },
    "templateParameters": [
        {
            "name": "requser",
            "value": "XXXXXXXX"
        }
    ],
    "teamsAppId": "{teamsAppId}"
}
microsoft-github-policy-service[bot] commented 7 months ago

Hi josefbrt! 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

ChetanSharma-msft commented 7 months ago

Hello @josefbrt - Thanks for raising your query. We will investigate your query and let you know.