Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Query Calendar ExpandCalendar function via Power Automate

(0) ShareShare
ReportReport
Posted on by 2

There'a Queue Calendar where our user can define the Operating Hours of a group of users, talking about this:

pastedimage1667395674957v1.png

I found that with the following odata query

https://[...]/api/data/v9.0/calendars(08d3aaa7-9453-ed11-bba2-000d3adf73bc)/Microsoft.Dynamics.CRM.ExpandCalendar(Start=@d1,End=@d2)?@d1=2022-11-03T00:00:00.000Z&@d2=2022-11-03T23:59:59.999Z

I can get the working hours, breaks for a given date range [d1,d2] using the following function

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/expandcalendar?view=dataverse-latest

is it possible to query this endpoint in Power Automate?

  • Suggested answer
    a33ik Profile Picture
    84,325 Most Valuable Professional on at
    RE: Query Calendar ExpandCalendar function via Power Automate

    Hello,

    If OOB connector doesn't allow you to call that function you can try to use HTTP request with Azure AD Auth. Check this article - www.itaintboring.com/.../

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,907 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,777 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans