Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

"Get Calendars" function works strange

I've got one bug and one issue concerning GetCalendars action.


1. There is a bug, which is when you set view/edit permission on someone's calendar to another person using powershell,

and then that person opens that calendar using outlook365/calendar -> add calendar -> from directory, GetCalendars returns no result even if the person is able to view, add and delete all the events in it.

Only setting 'send notification mail' using powershell and clicking "add and view" in it do the trick.


2. GetCalendars returns only 256 items per account. Unfortunetaly it's absolutely unuseful for the task I'm trying to do.
I'd like it to be at least 4 times more. Like 1024 or smth 😞

Community Support
Community Support

Re: "Get Calendars" function works strange

Hi @gzgenm,


Could you show me how is your flow created? Are you using the action Get calendars in your flow?


When you share the calendar to other people manually on the calendar site, will you get the same issue? Or does it only occur when sharing the calendar using PowerShell?


About 256 items it returns, I don’t have so many calendars to test this issue on my side, it seems that three is no related doc, either.


But from this doc, it seems that flow does have a limitation of 256 for length limit, please check it for more details:


If you need more, please consider submitting a request on Flow Ideas Forum to ask for expanding the limitation:



Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

Re: "Get Calendars" function works strange

1. I'm using Get calendar in my flow.


Screen Shot 2018-07-24 at 10.46.11.png

2. It occurs when I share the calendar using PS without "-SendNotificationToUser:$true" option and thus User adds shared calendars manually. 

If I send notification and user adds it clicking on the add link in the notify email (it works the same way, when we share a calendar using web interface) - "Get Calendars" is able to get everything just fine.

I have done some research and found no way of doing the same action (open&add shared calendar) using PS.

Helpful resources


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,440)