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 / Behalf of user account
Power Apps
Unanswered

Behalf of user account

(0) ShareShare
ReportReport
Posted on by 170

Hello guys, 

 

On my app I would like to create an event in calendar, but app creates all events on behalf of admin, not user.

 

How to manage it? 

How to create all events on behalf of user account?

Categories:
  • CU09100753-0 Profile Picture
    170 on at

    Any Ideas? Nobody knows?

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @shnurich ,

     

    I'm not quite aware of what you meant of app creates all events on behalf of admin, not user. Could you please share more details of your scenario? How were you creating events in your App? The formula of the create events button?

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • CU09100753-0 Profile Picture
    170 on at

    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!

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @shnurich ,

     

    If Power Automate could do that while Power Apps can't then you could use the button to call a flow to achieve your need. But generally speaking most of connectors are the same for Power Apps and Power Automate, so which connector and action are you referring to, MS Teams and create teams meeting? 

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • CU09100753-0 Profile Picture
    170 on at

    Hi, @v-jefferni ,

     

    Now I'm interested in MicrosoftTeams.CreateTeamsMeeting and why the invitation to the meeting comes only from the administrator if most of the functions are launched through the user's connection

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard