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

Community site session details

Session Id : FPDUT2lLeYcB/vN011AiqV
Power Automate - Building Flows
Unanswered

Topics are not added to Viva Engage Post / Yammer

Like (0) ShareShare
ReportReport
Posted on 25 Oct 2023 12:17:53 by 10

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?

 

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2