cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Find default Outlook Calendar

Hello,

 

Is there any way to find the mailbox's default calendar in PowerApps? 

I am thinking of something similar to this PowerShell example:

 

$calname = Get-MailboxFolderStatistics -Identity $username  -FolderScope calendar | where-object {$_.FolderType -eq "Calendar"}

 

...but in PowerApps.

 

The problem is that the calendar-folder has different names depending on language settings which means that this will break for some users

 

Office365.GetEventsCalendarView("Calendar";Now();DateAdd(Now();7)).Values

 

It works perfectly as long as the user has English names for the Outlook folders. 

Anyone, that have any ideas on this matter?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,026)