web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Topics are not added t...
Power Automate
Unanswered

Topics are not added to Viva Engage Post / Yammer

(1) ShareShare
ReportReport
Posted on by 12

Hey,

I want to post on Yammer including some Topics, however it is not working as expected.
In the documentation I just see it should be a string, however its not working.

This is the code in my Flow:

{
 "inputs": {
 "host": {
 "connection": {
 "name": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_yammer']['connectionId']"
 }
 },
 "method": "post",
 "body": {
 "group_id": 12116344832,
 "body": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
 "topic1": "eyJfdHlwZSI6IlRvcGljIiwiaWQiOiJUTF81MTc4MjgxMTY0OCJ9",
 "topic2": "Toolsday",
 "topic3": "\"TuesdayIsToolsday\"",
 "topic4": "@{string('TuesdayIsToolsday')}"
 },
 "path": "/messages.json",
 "queries": {
 "network_id": "Default"
 },
 "authentication": {
 "type": "Raw",
 "value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"
 }
 },
 "runtimeConfiguration": {
 "staticResult": {
 "staticResultOptions": "Disabled",
 "name": "Post_message_20"
 }
 },
 "metadata": {
 "operationMetadataId": "a8b33799-ceed-407a-8bf6-3bbde624a9e8",
 "flowSystemMetadata": {
 "swaggerOperationId": "PostMessage"
 }
 }
}

As you see I try different things to add a Topic her.

However after running the Flow I get following output at this succeeded post step:

[
 {
 "id": 2504243079618560,
 "sender_id": 3391474778112,
 "delegate_id": null,
 "replied_to_id": null,
 "created_at": "2023/10/25 12:05:19 +0000",
 "published_at": "2023/10/25 12:05:19 +0000",
 "network_id": 80410,
 "message_type": "update",
 "sender_type": "user",
 "url": "https://www.yammer.com/api/v1/messages/2504243079618560",
 "web_url": "https://www.yammer.com/mycompany.com/messages/2504243079618560",
 "group_id": 12116344832,
 "body": {
 "parsed": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
 "plain": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
 "rich": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post."
 },
 "thread_id": 2504243079618560,
 "client_type": "Microsoft Power Platform (Europe)",
 "client_url": "http://www.powerapps.com",
 "system_message": false,
 "direct_message": false,
 "chat_client_sequence": null,
 "language": null,
 "notified_user_ids": [],
 "privacy": "public",
 "attachments": [],
 "liked_by": {
 "count": 0,
 "names": []
 },
 "supplemental_reply": false,
 "content_excerpt": "This is an automatic reply from Microsoft Power Automate, that should add Topics to this Post.",
 "group_created_id": 12116344832,
 "topics": []
 }
]

 

as you can see, here topics is an array, which is empty..
so no topics are added to the post. Apart from this everything is working fine.


Any idea how adding topics does work?

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard