The is_primary is an optional field for many providers, an account may not have a calendar with this attribute as True.
Null is an valid value. This has mostly been noticed for O365 accounts
We suggest having some logic that:
- if is_primary == Null
- then selects the calendar_name
Calendar
- or calendar_name
email@address.com
Or simply present user with all the calendars and ask them to select the correct one.
Updated
Comments
0 comments
Please sign in to leave a comment.