Showing results for 
Search instead for 
Did you mean: 
Skilled Sharer
Skilled Sharer

Save Office365 User empl ID to SharePoint

I am trying to save a users ID, save in a variable, to a SharePoint list.  I have numerous methods and it simply does not save.  I have the following:

SharePoint column - 

  • EmpId - Single line of text


  • OnStart - Set(gloThisUserId, Office365Users.MyProfileV2().mailNickname (this is used to store emp id)

For the patch statement, I have tried:

          List name, 
                 {EmpId: gloThisUserId}


I have also tried adding a label populated with the gloThisUserId and modifying Patch to:


          List name, 
                 {EmpId: Label1.Text}

The only why it has worked is when I hard coded the text:

          List name, 
                 {EmpId: "123456"}


Any idea why it won't patch the variable value? Or label text?  Ahhhh - please help!  Seems so simple but I cannot figure this one out.

Skilled Sharer
Skilled Sharer

Raising this to the top - hoping for a resolution.  I have an app I need to release for testing by next week and this is a critical piece.  Any ideas how to resolve.

Any thoughts on this one -- I really need a solution.


This seems to be resolved. No change in my part so not sure what fixed the issue.

Wow! It just started working eh? Ugh! Those are the toughest!

Helpful resources


Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users


We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (16,505)