Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

O365Outlook connnector. dont switch account

(0) ShareShare
ReportReport
Posted on by 265

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
    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
    nick9one1 265 on at
    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. 

  • 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
    nick9one1 265 on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard