You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When Pin a message in a channel in MS Teams using MS Graph API, it doesn't show as pinned message in MS Teams channel
To Reproduce
I've created a MS Teams app and as part of it's functionality, it has to pin the message (in both one-on-one chat and in a channel) on behalf of the user
I'm using below API to pin a message in a channel in MS Teams
But when I go that particular channel, I don't see the message as the pinned message in the channel But when I try to get the list of pinned message in a channel using below API, it gives the response that the above message which I pinned. But I don't see it in the channel in MS Teams. And I'm facing this issue only while pinning the message in the channel using MS Graph API. I don't face the same issue with one-on-one chat with the bot I've created.
Expected behavior
When we use the pin message api to pin a message in a channel in MS Teams, it should pin the message and that message should be listed under pinned message section in that channel in MS Teams
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
When Pin a message in a channel in MS Teams using MS Graph API, it doesn't show as pinned message in MS Teams channel
To Reproduce
I've created a MS Teams app and as part of it's functionality, it has to pin the message (in both one-on-one chat and in a channel) on behalf of the user
I'm using below API to pin a message in a channel in MS Teams
[https://graph.microsoft.com/v1.0/chats/<chatID>/pinnedMessages](https://graph.microsoft.com/v1.0/chats/19:....@thread.tacv2/pinnedMessages)
Endpoint: -
POST https://graph.microsoft.com/v1.0/chats/19:....@thread.tacv2/pinnedMessages
Body:
Note: - 19:....@thread.tacv2 is the chatID of the channel
And I get a successful response as below
201 Created
But when I go that particular channel, I don't see the message as the pinned message in the channel But when I try to get the list of pinned message in a channel using below API, it gives the response that the above message which I pinned. But I don't see it in the channel in MS Teams. And I'm facing this issue only while pinning the message in the channel using MS Graph API. I don't face the same issue with one-on-one chat with the bot I've created.
Expected behavior
When we use the pin message api to pin a message in a channel in MS Teams, it should pin the message and that message should be listed under pinned message section in that channel in MS Teams
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: