Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Unanswered

post on yammer with the user name from PVA

(0) ShareShare
ReportReport
Posted on by 19

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.  

  • nmk Profile Picture
    nmk 193 on at
    Re: post on yammer with the user name from PVA

    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 Profile Picture
    renatoromao 6,819 on at
    Re: post on yammer with the user name from PVA

    Hi @nmk ,

     

    Maybe will work but the big problem is to pay a Power Automate license just to not wait some weeks.

    When you use a Http request inside the Power Automate you’ll pay a premium license and also you need a technical knowledge.

     

    @EmilB 

  • nmk Profile Picture
    nmk 193 on at
    Re: post on yammer with the user name from PVA

    @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. 

     

     

  • EmilB Profile Picture
    EmilB 19 on at
    Re: post on yammer with the user name from PVA

    @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.

  • renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: post on yammer with the user name from PVA

    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 .

    https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/power-virtual-agents/run-conn...

     

    (I will update this post when this feature make available)

  • nmk Profile Picture
    nmk 193 on at
    Re: post on yammer with the user name from PVA

    This upcoming feature will also help you.

     

    https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/power-virtual-agents/run-connectors-as-end-user

  • nmk Profile Picture
    nmk 193 on at
    Re: post on yammer with the user name from PVA

    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.

  • renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: post on yammer with the user name from PVA

    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.

    Ideas (aka.ms)

    https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/power-virtual-agents/planned-features 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard

Featured topics