You can customize the SharePoint form in PowerApps and follow these steps
- From the SharePoint list click Integration> PowerApps and select Customize forms to customize this SharePoint form in PowerApps studio.
- In the
Onvisible
property of the form set the formula to get the current logged in user .
The formula is:
UpdateContext({
CurrentUser: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & Lower(User().Email),
Department: "",
DisplayName: User().FullName,
Email: User().Email,
JobTitle: ".",
Picture: "."
}
})
3.Set the DefaultSelectedItems
property of the combo box to be CurrentUser