I have registered app in Azure Active Directory and given that app the following permissions with Admin consent.
- Delegated Permissions
- Calendars.Read
- Calendars.ReadWrite
- MailboxSettings.Read
- User.Read
- Application Permissions
- Calendars.Read
- Calendars.ReadWrite
- User.Read.All
I have created some test users and developed one feature in Javascript by which User1 can view events scheduled in User2 and User3 calendars by using /me/calendar/getSchedule Graph Api for a particular time range in a day.
The Api works correctly by returning free/busy schedule and event times present in calendar of users. I am using data returned by the Api to show free/busy schedule of User2 and User3 along with the event times present in their calendar in a tabular format to User1. But I need to show this data for each user in a calendar view similar to that of Outlook calendar view in read only mode to User1. The properties of response object returned by /me/calendar/getSchedule does not have a weblink property to view calendar of each user.
Microsoft Graph Apis such as List calendarView
/users/{id | userPrincipalName}/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime} return the weblink property in response object but for that User2 and User3 need to explicitly share the calendar with User1. /me/calendar/getSchedule Api does not require User2 and User3 to share the calendar then also it is able to get events present in calendars of User2 and User3, is it possible to get Outlook calendar view of those users in read only mode?
There is a option to publish calendar for a user, but for that User2 and User3 would need to explicitly publish the calendar and html link of that published calendar is not available via any Microsoft Graph Api. Is there any way by which html link of published calendar can be retrieved instead of copying it manually.
I have checked Microsoft Graph Toolkit and Fluent UI framework but did not find any reusable component for grid based Outlook calendar view.
Is there any Api endpoint in Microsoft Graph that provides same functionality as /me/calendar/getSchedule and returns a html link property in response object to view Outlook calendar of users in read only mode?