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

Community site session details

Session Id :
Power Apps - Building 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:
I have the same question (0)
  • CU09100753-0 Profile Picture
    170 on at
    Re: Behalf of user account

    Any Ideas? Nobody knows?

  • v-jefferni Profile Picture
    on at
    Re: Behalf of user account

    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
    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!

  • v-jefferni Profile Picture
    on at
    Re: Behalf of user account

    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
    Re: Behalf of user account

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 714 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard