Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Power Automate not returning the username of users triggering the button. Only the owner's username is returned to the SharePoint List

(0) ShareShare
ReportReport
Posted on by 11
Spoiler (Highlight to read)
Hello, I've been having issues all day with enabling my Power Automate button on Power BI to return the user name of the user triggering the button and saving the output as an item to a SharePoint List. Currently, every time a user aside from the owner/developer of the flow clicks the Automate button in Power BI, it returns the username of the person who built the button instead of the user.  I'm only having this issue with the username along with other identifying info from the flow such as the email and the user id. Other items seem to be working just fine. 

Please let me know if there's any other info I can provide to clarify this technical issue. Many thanks in advance!Screenshot 2023-10-10 173922.pngScreenshot 2023-10-10 173747.png
Hello, I've been having issues all day with enabling my Power Automate button on Power BI to return the user name of the user triggering the button and saving the output as an item to a SharePoint List. Currently, every time a user aside from the owner/developer of the flow clicks the Automate button in Power BI, it returns the username of the person who built the button instead of the user.  I'm only having this issue with the username along with other identifying info from the flow such as the email and the user id. Other items seem to be working just fine. Please let me know if there's any other info I can provide to clarify this technical issue. Many thanks in advance!
  • Verified answer
    Michael E. Gernaey Profile Picture
    41,020 Super User 2025 Season 1 on at
    Re: Power Automate not returning the username of users triggering the button. Only the owner's username is returned to the SharePoint List

    @vanislekahuna 

     

    To me this sounds like you create the connections and gave permission for others to use the connection. THe problem is, if the connection is not authenticated by the User running the app and whether the flow is run as user, it will log the Creator/Owner because it doesn't know anything about the user submitting.

     

    You would need to either pass it to the flow User().Email for instance and save that, or you have to redo the flow to be run as user, and/or change the connections to require the User to Approve their use and it will then run as them.


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow