Hello,
I managed to create a flow that allows the user chatting with my bot post/ask directly a question on Yammer if he/she doesnt find the answer in the bot, so the community can help.
Everything works well, the only problem is that all the posts are created with my name, as if I'm publishing them.
Is there any tips that will allow any user that talks with the bot to post on Yammer but instead of my name he / she will post with its own name.
"Get my profile" connector is always getting my profile, "Get user profile" is always asking for the email of the user, but no way of getting it.
Thanks a lot for help
Thanks a lot.
yep, it's better to wait for the new feature release but I was just wanted to emphasise that there're limitless possibilities.
As per my understanding, premium connectors can be used with PVA license.
Thanks
@renatoromao - What about using yammer api directly?
https://developer.yammer.com/docs/messages-json-post
@EmilB - yes, as @renatoromao suggested, better wait to have the feature in the PVA but if you still like to play then try the yammer api with impersonation token and maybe you would get it working. I can't really try that as I don't have access to Yammer as an admin.
@renatoromao , thanks for the reply, lets hope that soon we will have it.
@nmk , that was my second option. I was thinking that if the user Emil is talking with the bot and he wants to ask the yammer community it will better it the creator of the post will be Emil (with his full name) and not the bot name.
Hi @nmk ,
The unique way is to use Microsoft Graph (calling an HTTP request using Power Automate) but Yammer it's not possible to register a post using graph yet too.
Yammer activity reports - Microsoft Graph v1.0 | Microsoft Docs
I think that it's better to wait this month to use in the user context inside Power Automate, @EmilB .
(I will update this post when this feature make available)
This upcoming feature will also help you.
How are you connecting to yammer? Can you not use a generic id to post the question and keep the user informed via notification (mention)? I am sure this is possible.
Hi @EmilB ,
It's a great idea, but unfortunately, it's not available yet.
Microsoft already identifies this issue, all workflows inside the bot is running on the admin context.