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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

O365 Group HTTP Request

(0) ShareShare
ReportReport
Posted on by 108
I'm using the O365 Group action to send an HTTP request to get events from a group calendar for a specific date. The query used is:
 
https://graph.microsoft.com/v1.0/groups/<groupID>/events?$filter=start/dateTime gt '2024-11-21T00:00:00.0000000' and start/dateTime lt '2024-11-22T00:00:00.0000000'&$orderby=start/dateTime asc
I notice that this only returns 10 items. I've tried using top=20 but it doesn't seem to work:
 
https://graph.microsoft.com/v1.0/groups/<groupID>/events?$filter=start/dateTime gt '2024-11-21T00:00:00.0000000' and start/dateTime lt '2024-11-22T00:00:00.0000000'&$orderby=start/dateTime&$top=20 asc
and gives a BadRequest error.
 
Is there a way to return more than 10 items using this action?
I have the same question (0)
  • VictorIvanidze Profile Picture
    12,892 on at
    O365 Group HTTP Request
    Looks like wrong syntax. Try this:
     
    https://graph.microsoft.com/v1.0/groups/<groupID>/events?$filter=start/dateTime+gt+'2024-11-21T00:00:00.0000000'+and+start/dateTime+lt+'2024-11-22T00:00:00.0000000'&$orderby=start/dateTime+asc&$top=20
    
     
     
  • Verified answer
    Ellis Karim Profile Picture
    11,478 Super User 2025 Season 2 on at
    O365 Group HTTP Request
    Also, I think the filter should use ge (greater than or equal to) and the dates could be simplified by removing the time stamps to filter for all events on the 2024-11-21:

    $filter=start/dateTime ge '2024-11-21' and start/dateTime lt '2024-11-22'
     
     
    https://graph.microsoft.com/v1.0/groups/<groupID>/events?$filter=start/dateTime ge '2024-11-21' and start/dateTime lt '2024-11-22'&$orderby=start/dateTime asc&$top=20
     


    Ellis

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard