HOW TO: Querying an Outlook Calendar using SPFx

%3CLINGO-SUB%20id%3D%22lingo-sub-1772086%22%20slang%3D%22en-US%22%3EHOW%20TO%3A%20Querying%20an%20Outlook%20Calendar%20using%20SPFx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1772086%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20learn%20how%20to%20query%20an%20Outlook%20calendar%20(the%20calendar%20created%20when%20a%20SharePoint%20is%20created)%20using%20SPFx.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20previously%20had%20a%20web%20part%20badge%20on%20our%20SharePoint%20that%20queried%20a%20SharePoint%20calendar%20(not%20Outlook%20calendar)%20to%20display%20which%20tech%20was%20on%20call%20for%20the%20week.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20they%20wanted%20to%20start%20adding%20many%20other%20calendar%20events%20I%20recommended%20that%20we%20switch%20from%20the%20SharePoint%20calendar%20to%20the%20Outlook%20calendar%20that%20was%20created%20and%20linked%20to%20our%20SharePoint%20when%20it%20was%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20found%20documentation%20on%20querying%20the%20Outlook%20calendar%20but%20all%20of%20it%20is%20related%20to%20looking%20at%20MY%20calendar%2C%20not%20the%20group%20calendar.%20I%20have%20found%20some%20things%20in%20the%20Power%20Automate%20about%20this%20but%20that%20calls%20for%20using%20a%20calendar%20guid%20but%20I%20can't%20find%20anything%20that%20tells%20me%20how%20to%20find%20the%20guid%20for%20the%20calendar%20I%20want.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20to%20summarize.%20I%20am%20trying%20to%20query%20an%20Outlook%20calendar%20that%20is%20a%20private%20group%20calendar%20created%20when%20our%20SharePoint%20was%20created%20and%20I%20am%20looking%20for%20instructions%2C%20a%20tutorial%2C%20something%20that%20will%20allow%20me%20to%20create%20a%20badge%20web%20part%20to%20display%20the%20on%20call%20technician%20for%20the%20week%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1772086%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECalendar%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESPFx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

I am trying to learn how to query an Outlook calendar (the calendar created when a SharePoint is created) using SPFx.

 

I previously had a web part badge on our SharePoint that queried a SharePoint calendar (not Outlook calendar) to display which tech was on call for the week.

 

When they wanted to start adding many other calendar events I recommended that we switch from the SharePoint calendar to the Outlook calendar that was created and linked to our SharePoint when it was created.

 

I have found documentation on querying the Outlook calendar but all of it is related to looking at MY calendar, not the group calendar. I have found some things in the Power Automate about this but that calls for using a calendar guid but I can't find anything that tells me how to find the guid for the calendar I want.

 

So, to summarize. I am trying to query an Outlook calendar that is a private group calendar created when our SharePoint was created and I am looking for instructions, a tutorial, something that will allow me to create a badge web part to display the on call technician for the week?

 

Thank you.

 

0 Replies