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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Outlook Calenda...
Power Apps
Answered

Filter Outlook Calendars using CalendarGetTablesV2

(0) ShareShare
ReportReport
Posted on by 64
Hello everyone.
I would like to create an app in powerapps that allows me to view the appointments of some Outlook calendars.
I have done several tests and everything works for me.
 
What I can't do is:

- Filter only a few calendars in my calendar chooser combobox (I want to filter the calendars and NOT the events!)
- Filter Outlook calendars through fields that are not the usual two "id" and "name"
- Filter only 365 calendars that have a certain attributes (entered by the IT department) for example in the CustomAttribute1 field
 
Is it possible to do so?
 

 
When I try to use a Filter formula with CalendarGetTables(V2) I see only name and id (and owner)
 
 
 
For example this works well, but I would need more:
 
 Filter( Office365Outlook.CalendarGetTablesV2().valuename = "Calendar")
 
If I launch this in OnStart:
 
ClearCollect(colCalendars,
             Office365Outlook.CalendarGetTablesV2()
);
 
 then I see this where only see "id" and "name" attributes for my calendars:
 

Thank you in advance
Bye
Categories:
I have the same question (0)
  • Suggested answer
    Artur Stepniak Profile Picture
    1,539 Moderator on at
    Hello,
     
    you receive this output, because the function that you're using outputs only those informations. The only option to get more data is to use a custom Graph API call. Here's an example:
     

    HTTP Request

    To get the properties and relationships of a calendar object, you can use the following HTTP request:

    GET https://graph.microsoft.com/v1.0/me/calendars
    

    Request Headers

    You need to include the following headers in your request:

    • Authorization: Bearer {token}

    Example Request

    Here's an example of a request to get the signed-in user's default calendar:

    GET https://graph.microsoft.com/v1.0/me/calendars
    

    Example Response

    If the request is successful, you'll get a response like this:

    {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#me/calendars",
      "value": [
        {
          "@odata.id": "https://graph.microsoft.com/v1.0/users('user-id')/calendars('calendar-id')",
          "id": "calendar-id",
          "name": "Calendar",
          "color": "auto",
          "changeKey": "change-key",
          "canShare": true,
          "canViewPrivateItems": true,
          "hexColor": "",
          "canEdit": true,
          "allowedOnlineMeetingProviders": ["teamsForBusiness"],
          "defaultOnlineMeetingProvider": "teamsForBusiness",
          "isTallyingResponses": true,
          "isRemovable": false,
          "owner": {
            "name": "Owner Name",
            "address": "owner@example.com"
          }
        }
      ]
    }
    You'd need to explore the API more to get the data that you'd like to have. :-) You can use Graph API explorer for testing: https://developer.microsoft.com/en-us/graph/graph-explorer.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
  • AndreaPRJ Profile Picture
    64 on at
    Thank you for your answer.
    Can you tell me if these calls can be made directly inside the powerapps?
    If so, can they be launched through a Power Automate flow or what?


    PS:however, I fear that this path is difficult to follow: HTTP calls are premium and it would mean licensing all users who will use my application with that license... I don't think they will agree
     
    thanks again
  • Verified answer
    Artur Stepniak Profile Picture
    1,539 Moderator on at
    Hello,
     
    you'd need to use Power Automate flow for that and yes, that's correct, you'd need to use premium connectors. It's not possible to get the data that you want within the standard connectors available.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard