Re: Behalf of user account
Thanks for answering 🙂
First of all, I see two options for working with PowerApps,
conditionally:
if the user clicks a button to add a row to the Sharepoint list, then PowerApps adds the row on behalf of the user or administrator.
How can this be configured? So that in some cases it was a user, and in some cases an administrator?
The same, for example, to sending a letter. Can I fine-tune how emails are sent from PowerApp.
This is regulated by setting permissions before first opening, but for some reason it does not always work. For example, right now I have this formula:
MicrosoftTeams.CreateTeamsMeeting(
LookUp(varCalendars;DisplayName="Corporate_Calendar").Name;
Title.Text);
{content: Content.Text; contentType:"html"};
"FLE Standard Time";
{dateTime: Text(LookUp('Corporate_ Calendar';ID=Value(Event_ID);StartTime);"yyyy-mm-ddTHH:mm:ss")};
{dateTime: Text(LookUp('Corporate_ Calendar';ID=Value(Event_ID);EndTime);"yyyy-mm-ddTHH:mm:ss")};
true;
"teamsForBusiness";{
requiredAttendees: LookUp('Dealers event Calendar';ID=Value(Event_ID);Groups_mailings);
responseRequested: false
})
Everything working fine.
But always the meeting is created by the administrator, I want the meetings initiator to be the user who clicks the button.
The situation is very similar with Power Automate, which is launched from PowerApps. Power Automate connectors can run as either an administrator or a user.
If you have some questions please ask! thanks!