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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Single Sign On for Pow...
Power Apps
Unanswered

Single Sign On for PowerApps - SSO

(1) ShareShare
ReportReport
Posted on by 188

Dear Power Users,

 

I am building an activity log type app and will be distributing to the whole org.

The app is built off a SharePoint list. Right now, I have a column of user ID so when user uses the app, they will manually type their ID and that gets recorded to the list. There is an ID field in my form to type that in.

 

I imagine for anyone to run the app, they need to have Power Apps license so the authentication has already happened with Office 365. Can I incorporate the SSO experience into the app that when different people uses this app, their UPN or email address will be automatically recorded into the list each time they create a new row of data (entering activity log).

 

Thanks all!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @nhtkid ,

    The User's name will be recorded in SharePoint if they add a record in the 'Created by' (name) and Created (date and time) columns and will remain there. Is this what you are meaning?

    You could however also have a log file that gets patched with the same data each time a user logs in

    Patch(
     ActivityLog,
     Defaults(ActivityLog),
     {
     OpenedBy:User().Email,
     OpenTime:Now()
     }
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

  • nhtkid Profile Picture
    188 on at

    Hi @WarrenBelz ,

    Thanks for the response.

    Yes that will do, it will solve my issue.

    We can use the "Created By" column to filter out specific users or even generating PowerBI report.

    Thanks.

     

    So if my list did not have that "Created By" column, do I just create it? Or is it something built in to the SP list?

    Cheers,

     

  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @nhtkid 

    'Created by' is an automatically generated field in SharePoint and contains the name of the user whose connection created the file. From Power Apps, this would be the logged-in user.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @nhtkid ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard