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 Apps / vibe.powerapps.com - U...
Power Apps
Suggested Answer

vibe.powerapps.com - User Context - Dynamic

(1) ShareShare
ReportReport
Posted on by 10

Hello everyone,

I’m currently trying to develop an app using the vibe.powerapps.com experience. The app that the AI generated was great right from the start, but it required a few tweaks to meet my requirements.

At the moment, I’m facing two challenges and have tried several options, but none seem to work so far.

Challenge 1: The app is unable to detect the currently logged-in user. In Canvas Apps, we normally use the User() function, but that doesn’t appear to work here. I assume the app should be using Entra ID to retrieve the user’s profile information, but I haven’t been able to access it yet.

Challenge 2: I’m unable to upload attachments to a SharePoint document library. I understand that without the user context, authentication and authorization may not work correctly, so resolving the first challenge seems critical.

Any advice or suggestions would be greatly appreciated. Thank you!

I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    1,185 on at
     
     Challenge 1: Retrieving the Logged-in User

    Solution: Use the Office 365 Users Connector
    Instead of relying on the built-in function, you should explicitly add the Office 365 Users connector to your app. This is the most reliable way to pull Entra ID (formerly Azure AD) profile data.
     
    Challenge 2: Uploading to SharePoint Document Libraries
    Solution: The Power Automate Bridge
    Since you mentioned that authentication/authorization might be the bottleneck, using a Flow ensures that the "User Context" is handled by the connection itself.
     
  • CU07032239-0 Profile Picture
    10 on at
    Hello Manish! thanks for the input! 

    Can you please provide the steps to add the connector to the code type app please? 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard