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 Platform Community / Forums / Power Automate / O365 Group HTTP Request
Power Automate
Unanswered

O365 Group HTTP Request

(0) ShareShare
ReportReport
Posted on by 110
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?
Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,058 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,653 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard