PowerApps: get calendar from Outlook

%3CLINGO-SUB%20id%3D%22lingo-sub-3066864%22%20slang%3D%22en-US%22%3EPowerApps%3A%20get%20calendar%20from%20Outlook%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3066864%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20it%20possible%20in%20PowerApps%20to%20get%20a%20custom%20calendar%20from%20Outlook%3F%3CBR%20%2F%3EWhen%20I%20use%20a%20formula%20to%20get%20a%20calendar%20from%20my%20Outlook%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EClearCollect(%0A%20%20%20%20Calendar_Coll%2C%20%20%20%2F*Calendar_Coll%20is%20my%20custom%20collection*%2F%0A%20%20%20%20Office365Outlook.V4CalendarGetItems(%0A%20%20%20%20%20%20%20%20LookUp(%0A%20%20%20%20%20%20%20%20%20%20%20%20Office365Outlook.CalendarGetTables().value%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20DisplayName%20%3D%20%22Calendar%22%20%2F*%22Calendar%22%20is%20one%20of%20my%20calendars*%2F%0A%20%20%20%20%20%20%20%20).Name%0A%20%20%20%20).value%0A)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BI%20can%20get%20only%20the%20default%20calendars%20when%20I%20change%20a%20value%20for%20the%20%22DisplayName%22%20-%20Calendar%2C%20Birthday...%3CBR%20%2F%3EI%20create%20a%20custom%20calendar%20with%20%22Add%20from%20directory%22%20Outlook%60s%20functionality%20for%20tracking%20meeting%20rooms.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Freenit_0-1642674668897.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F340939i74F3CAA9C00BF10F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Freenit_0-1642674668897.png%22%20alt%3D%22Freenit_0-1642674668897.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIs%20it%20possible%20somehow%20to%20get%20data%20from%20that%20calendar%20into%20the%20PowerApps%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20a%20lot.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3066864%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Hello.

Is it possible in PowerApps to get a custom calendar from Outlook?
When I use a formula to get a calendar from my Outlook:

 

 

ClearCollect(
    Calendar_Coll,   /*Calendar_Coll is my custom collection*/
    Office365Outlook.V4CalendarGetItems(
        LookUp(
            Office365Outlook.CalendarGetTables().value,
            DisplayName = "Calendar" /*"Calendar" is one of my calendars*/
        ).Name
    ).value
)

 

 

 I can get only the default calendars when I change a value for the "DisplayName" - Calendar, Birthday...
I create a custom calendar with "Add from directory" Outlook`s functionality for tracking meeting rooms.

Freenit_0-1642674668897.png

Is it possible somehow to get data from that calendar into the PowerApps?

Thanks a lot.



0 Replies