Skip to main content
Community site session details

Community site session details

Session Id : kP/yVBLkeTT1WJP2ilUapn
Power Apps - Building Power Apps
Answered

O365Outlook connnector. dont switch account

Like (0) ShareShare
ReportReport
Posted on 27 Feb 2023 11:45:53 by 287

I'm using the O365 calendar connector to get booking details on resource calendars. 

 

 

 

Office365Outlook.GetEventsCalendarViewV3

 

 

 

 

I had to make myself a delegate on the calendars for it to work. 

When other users use the app they are asked to sign in with their own O365 account to use the outlook connector. 

But as they arent a delegate, GetEventsCalendarViewV3 doesnt work and gives an error. 

nick9one1_0-1677498298158.png

 

Is there a way to force the outlook connector to use the account I set when editing the app, and not ask the user to sign in?
Or maybe another way to accomplish this?



Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    on 02 Mar 2023 at 01:26:47
    Re: O365Outlook connnector. dont switch account

    Hi @nick9one1 ,

     

    The only way is to let your users to switch their accounts with your account.

    vbofengmsft_0-1677720352157.png

    vbofengmsft_1-1677720376729.png

     

    Best Regards,

    Bof

  • nick9one1 Profile Picture
    287 on 01 Mar 2023 at 10:58:30
    Re: O365Outlook connnector. dont switch account

    I think you misunderstood my question. 

     

    How can I achieve this without using flow, but just the 

    Office365Outlook.GetEventsCalendarViewV3

     action inside powertapps. 

  • v-bofeng-msft Profile Picture
    on 28 Feb 2023 at 02:23:20
    Re: O365Outlook connnector. dont switch account

    You could try:

    1.Change the trigger of this Flow to PowerAPPs (V2)

    2. On the details page of the flow, click the "Edit" button next to "Run only users":

     

    vbofengmsft_0-1677550955541.png

     

    3. On the "Manage run-only permissions" panel, make sure to select "Use this connection (...)"(use your credentials) from the "Connection Used" dropdown list.

     

    vbofengmsft_1-1677550955542.png

     

     

    Best Regards,

    Bof

    Hi @nick9one1 ,

  • nick9one1 Profile Picture
    287 on 27 Feb 2023 at 14:26:47
    Re: O365Outlook connnector. dont switch account

    The only way I could think to do this is with Powerautomate. The equavalent Office365Outlook.GetEventsCalendarView action can be performed by a differnt use than has launched the Powerapp. 

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete