Hey guys,
im having permission issues regarding the pilot test of my calendar app.
Whenever coworkers start my app some sort of error is occurring.
This error is Calendar ID related since the first error stated the following:
Office365Outlook.GetEventsCalendarViewV3 failed: The method 'GetEventsCalendarViewV2' has an invalid value for parameter 'calendarId'
The current error is a bit different, after trying my hardest to get the calendar id of a group calendar the current error looks like this:
Office365Outlook.GetEventsCalendarViewV3 failed: The specified object was not found in the store
The Code which tells my app which calender to get is like this:
Set(_lastDayOfMonth, DateAdd(DateAdd(_firstDayOfMonth, 1, TimeUnit.Months), -1, TimeUnit.Days));
If(_lastDayOfMonth > _maxDate, Set(_maxDate, _lastDayOfMonth); Collect(MyCalendarEvents, Office365Outlook.GetEventsCalendarViewV3("XXXXXXXXXXXXXXXX", Text(_firstDayOfMonth, DateTimeFormat.UTC), Text(_maxDate, DateTimeFormat.UTC)).value))
X = Calendar ID
What i already tried:
- Using V3 instead of V2 since the V2 seems to be outdated
- Different types of ways to get the same result as the code above
- Asked several coworkers who have more experience in power apps but none could provide a solution
Others things you might need to know:
- Two SharePoint lists as data sources
- Office365Outlook, Office365Users, MyCalendarEvents are the connectors
- The code above is being used 5 times in total in my app (Four Times in on select property of back and forward arrows and one time in an invisible calendar dropdown selector)
I'd really appreciate it if one could help me out on this, thanks in advance!