SOLVED

Custom Fields in Microsoft Bookings

%3CLINGO-SUB%20id%3D%22lingo-sub-1772059%22%20slang%3D%22en-US%22%3ECustom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1772059%22%20slang%3D%22en-US%22%3E%3CP%3EWhere%20are%20the%20custom%20fields%20stored%20for%20the%20past%20services%3F%20Are%20there%20any%20reports%20I%20can%20run%20to%20generate%20these%20info%3F%20Thanks.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1772059%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Bookings%20Question%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1775128%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1775128%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F829325%22%20target%3D%22_blank%22%3E%40Lobsang_aka%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20will%20need%20to%20extract%20custom%20fields%20values%20using%20graph.%20You%20will%20need%20to%20filter%20with%20the%20following%20(use%20the%20exact%20same%20values).%20Then%20the%20returned%20value%20will%20need%20to%20be%20Base64%20Decoded.%20I'm%20using%20this%20with%20Power%20Automate%20that%20start%20whenever%20a%20new%20event%20created%20(Outlook%20new%20event)%2C%20extract%20the%20info%20and%20put%20into%20a%20SharePoint%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fusers%2F%5BBookingMailboxAddress%5D%2Fevents%2F%5Bevent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fusers%2F%5BBookingMailboxAddress%5D%2Fevents%2F%5Bevent%3C%2FA%3E%26nbsp%3BId%5D%3F%24expand%3DsingleValueExtendedProperties(%3CSTRONG%3E%24filter%253Did%20eq%20'Binary%20%7Bccb88e73-951a-4b10-bb49-e6628b8d8494%7D%20Name%20BookingItemAnsweredCustomQuestions'%3C%2FSTRONG%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fuser-list-events%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fuser-list-events%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Foffice%2Foffice-365-api%2Fapi%2Fversion-2.0%2Fextended-properties-rest-operations%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fsinglevaluelegacyextendedproperty-get%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1776106%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1776106%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F24099%22%20target%3D%22_blank%22%3E%40Martin%20Coupal%3C%2FA%3E%26nbsp%3BThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1973883%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1973883%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F24099%22%20target%3D%22_blank%22%3E%40Martin%20Coupal%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20bookings%20that%20return%20the%20standard%20fields%20using%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fusers%2F%5BBookingMailboxAddress%5D%2Fevents%2F%5Bevent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fusers%2F%5BBookingMailboxAddress%5D%2Fevents%2F%5Bevent%3C%2FA%3E%3CSPAN%3E%26nbsp%3BId%5D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWithin%20the%20body%20content%20of%20the%20returned%20data%20I%20can%20see%20there's%20custom%20fields%20e.g.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECustom%20Fields%3CBR%20%2F%3E%3CBR%20%2F%3E----------------------%3CBR%20%2F%3E%3CBR%20%2F%3EQuestion%201-%20...%3CBR%20%2F%3E%3CBR%20%2F%3EAnswer-%20...%3CBR%20%2F%3E%3CBR%20%2F%3EQuestion%202-%20...%3CBR%20%2F%3E%3CBR%20%2F%3EAnswer-%20...%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHowever%2C%20when%20I%20extend%20the%20call%20with%20the%20Extended%20Properties%20it%20doesn't%20return%20the%20additional%20fields%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fusers%2F%5BBookingMailboxAddress%5D%2Fevents%2F%5Bevent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fusers%2F%5BBookingMailboxAddress%5D%2Fevents%2F%5Bevent%3C%2FA%3E%26nbsp%3BId%5D%3F%24expand%3DsingleValueExtendedProperties(%3CSTRONG%3E%24filter%253Did%20eq%20'Binary%20%7Bccb88e73-951a-4b10-bb49-e6628b8d8494%7D%20Name%20BookingItemAnsweredCustomQuestions'%3C%2FSTRONG%3E)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI'm%20simply%20copying%20and%20pasting%20and%20replacing%20the%20mailbox%20and%20event%20ID%20so%20struggling%20to%20see%20what%20I'm%20missing.%26nbsp%3B%20Do%20you%20have%20any%20suggestions%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20very%20much!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2047285%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2047285%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F896389%22%20target%3D%22_blank%22%3E%40jbailiss%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3ESorry%20for%20late%20reply%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20calling%20the%20API%2C%20what%20is%20the%20JSON%20response%3F%20You%20should%20find%20something%20like%20this%20is%20the%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22singleValueExtendedProperties%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22id%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Binary%26nbsp%3B%7Bccb88e73-951a-4b10-bb49-e6628b8d8494%7D%26nbsp%3BName%26nbsp%3BBookingItemAnsweredCustomQuestions%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22value%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22W3siQW.....%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2068969%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2068969%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F896389%22%20target%3D%22_blank%22%3E%40jbailiss%3C%2FA%3E%26nbsp%3BI%20was%20able%20to%20extract%20custom%20field%20data%20successfully%20using%20Power%20Automate.%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F829325%22%20target%3D%22_blank%22%3E%40Lobsang_aka%3C%2FA%3E%26nbsp%3Bin%20case%20you%20have%20future%20needs.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F24099%22%20target%3D%22_blank%22%3E%40Martin%20Coupal%3C%2FA%3E%26nbsp%3Bhere%20is%20another%20approach%20in%20case%20you%20are%20interested.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22fl-DetailsCard-Section-Title%20title-642%22%3EFlow%20Description%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22fl-DetailsCard-Section-Body%20body-643%22%3EThis%20flow%20runs%20nightly%20and%20extracts%20user%20data%20from%20events%20located%20in%20a%20custom%20account%20calendar%20(this%20account%20is%20being%20used%20by%20the%20Bookings%20app%20to%20schedule%20appointments)%20then%20creates%20a%20CSV%20file%20stored%20in%20a%20Shared%20Documents%20team%20library.%26nbsp%3B%20Attached%20are%20the%20details%20of%20my%20solution.%3C%2FDIV%3E%3CDIV%20class%3D%22fl-DetailsCard-Section-Body%20body-643%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fl-DetailsCard-Section-Body%20body-643%22%3EHope%20this%20helps!%3C%2FDIV%3E%3CDIV%20class%3D%22fl-DetailsCard-Section-Body%20body-643%22%3E~Kimberly%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2083842%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2083842%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F308561%22%20target%3D%22_blank%22%3E%40Kimberly_Huffman%3C%2FA%3E%26nbsp%3BWe're%20trying%20to%20extract%20the%20custom%20field%20information%20and%20populate%20excel%20with%20the%20caveat%20being%20we%20have%20multiple%20bookings%20services%20with%20overlapping%20times.%26nbsp%3B%20I%20setup%20the%20multiple%20services%20because%20the%20group%20appointments%20don't%20show%20the%20custom%20data%20in%20the%20calendar%20event.%26nbsp%3B%20In%20theory%20we%20can%20have%20up%20to%20six%20appointments%2C%20with%20six%20services%2C%20all%20at%209am.%26nbsp%3B%20I'm%20totally%20new%20to%20power%20automate%20and%20don't%20have%20a%20clue%20as%20to%20how%20to%20capture%20the%20data.%26nbsp%3B%20Any%20ideas%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2084056%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2084056%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F745973%22%20target%3D%22_blank%22%3E%40ddmurrayjr%3C%2FA%3E%26nbsp%3BTell%20me%20about%20the%20staff%20accounts%20you%20have%20assigned%20to%20each%20service.%26nbsp%3B%20It's%20those%20staff%20account%20calendars%20that%20Power%20Automate%20will%20tap%20into%20to%20capture%20the%20information.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBecause%20I%20don't%20know%20your%20exact%20situation%20I%20could%20be%20very%20wrong%2C%20but%20I%20don't%20think%20you%20need%206%20different%20services%2C%20just%206%20%22staff%22%20accounts.%26nbsp%3B%20Let%20me%20explain%20our%20scenario%20and%20our%20setup.%3CBR%20%2F%3E%3CBR%20%2F%3EOur%20specific%20use%20is%20to%20allow%20employees%20to%20schedule%20vaccination%20appointments.%20We%20have%204%20nursing%20stations%20providing%20vaccinations%20every%205%20minutes.%26nbsp%3B%20With%20our%20setup%20we%20can%20schedule%204%20employees%20every%205%20min%3C%2FP%3E%3CUL%3E%3CLI%3EWe%20created%204%20office%20accounts%2C%201%20for%20each%20nursing%20station%20(Nurse1%2C%20Nurse2%2C%20etc.)%20These%20accounts%20have%20email%20addresses%20and%20outlook%20calendars.%20Make%20sure%20you%20get%20access%20to%20these%20accounts.%3C%2FLI%3E%3CLI%3EWe%20created%20a%20single%20Booking%20service%20(Vaccination)%20with%20a%20default%20duration%20of%205%20min%2C%20max%20attendees%201%2C%20and%20custom%20fields.%26nbsp%3B%3C%2FLI%3E%3CLI%3EWe%20assigned%20the%204%20Nurse%20accounts%20as%20the%20assigned%20staff%20for%20the%20service.%3C%2FLI%3E%3CLI%3ESo%20I%20could%20access%20these%20account's%20calendars%20using%20Power%20Automate%2C%20I%20added%20the%204%20accounts%20to%20my%20Outlook%20account%20by%20selecting%20%3CSTRONG%3EAdd%20Account%3C%2FSTRONG%3E%20on%20the%20%3CSTRONG%3EInfo%3C%2FSTRONG%3E%20page%20of%20Outlook.%3C%2FLI%3E%3CLI%3EWe%20created%20a%20Power%20Automate%20flow%20for%20each%20Nursing%20station%20account%20to%20capture%20the%20appointment%20details%20(I%20have%204%20flows%20running%20nightly%20-%20Nurse1%2C%20Nurse2%2C%20etc.)%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20Power%20Automate%2C%20to%20make%20the%20connection%20to%20the%20staff%20calendar%20(in%20my%20scenario%20the%20nursing%20station%20account)%20do%20the%20following%3A%3C%2FP%3E%3COL%3E%3CLI%3EOnce%20you%20have%20added%20the%20%3CSTRONG%3EGet%20calendar%20view%20of%20events%20(V3)%3C%2FSTRONG%3E%20action%20to%20your%20flow%2C%20click%20on%20the%20action's%20menu%20(the%20ellipsis%20located%20in%20the%20action's%20title%20bar)%3C%2FLI%3E%3CLI%3ESelect%20the%20staff%20account%20under%20%3CSTRONG%3EMy%20connections%3C%2FSTRONG%3E%20or%20if%20necessary%2C%20select%20%3CSTRONG%3E%2BAdd%20new%20connection%3C%2FSTRONG%3E%2C%20select%20the%20staff%20account%20and%20provide%20the%20account%20password.%3C%2FLI%3E%3C%2FOL%3E%3CP%3EUsing%20the%20document%20I%20attached%20to%20the%20original%20post%2C%20add%20the%20remaining%20actions.%26nbsp%3B%20Let%20me%20know%20if%20you%20have%20any%20specific%20questions%20about%20the%20flow%20or%20anything%20else%20I%20can%20do%20to%20help%20you%20get%20started.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E~Kimberly%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2084756%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20Fields%20in%20Microsoft%20Bookings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2084756%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F308561%22%20target%3D%22_blank%22%3E%40Kimberly_Huffman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHey%20Kimberly%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20looks%20like%20we%20went%20down%20parallel%20paths%20for%20the%20bookings%20setup.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOur%20use%20case%20is%20similar%20as%20well%3B%20we%E2%80%99re%20trying%20to%20get%20ready%20to%20schedule%20vaccination%20appointments%20with%20a%20goal%20of%20240%2Fday%20to%20start%20and%20maybe%20ramp%20it%20up%20to%201000%2Fday%20later.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20looked%20at%20another%20power%20automate%20example%20that%20would%20export%20the%20calendar%20events%20to%20an%20html%20table%20and%20email%20it%20every%20morning.%26nbsp%3B%20In%20the%20setup%20for%20that%20flow%2C%20one%20of%20the%20steps%20is%20to%20set%20the%20password%20on%20the%20bookings%20user%20account%20and%20then%20connect%20directly%20to%20that%20calendar.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20the%20goal%20to%20have%20vaccinations%20every%205%20minutes%20I%20setup%20six%20services%2C%20default%20duration%205%20minutes%2C%20max%20attendee%201%2C%20custom%20fields.%26nbsp%3B%20I%20noticed%20we%20couldn%E2%80%99t%20get%20the%20same%205%20minute%20slots%20for%20each%20service%20initially%20so%20I%20created%20%E2%80%98imaginary%E2%80%99%20staff%20and%20that%20seems%20to%20have%20worked%20to%20make.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%E2%80%99m%20not%20assigning%20staff%20to%20any%20service%20and%20turned%20off%20the%20%E2%80%98events%20on%20office%20calendar%20affect%20availability%E2%80%99.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20view%20the%20calendar%20events%20I%20added%20the%20bookings%20calendar%20to%20my%20outlook%20online%2C%20People%E2%80%99s%20calendars.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%E2%80%99m%20liking%20the%20idea%20of%20setting%20up%20%E2%80%98real%E2%80%99%20staff%20accounts%20and%20accessing%20their%20calendars%3B%20that%20might%20be%20more%20elegant%20than%20what%20I%E2%80%99ve%20setup.%26nbsp%3B%20Not%20sure%20if%20we%20have%20the%20licenses%20or%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20trying%20to%20recreate%20the%20flow%20you%20documented%20I%20connect%20to%20the%20bookings%20calendar%20with%20no%20problem%2C%20and%20setup%20the%20html%20to%20text%20from%20the%20body%2C%20but%20after%20that%E2%80%A6I%E2%80%99m%20completely%20lost.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%E2%80%99t%20find%20the%20%E2%80%98trim()%E2%80%99%20function%2Fexpression%20anywhere%20in%20the%20%E2%80%98set%20variable%E2%80%99%20steps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20responding!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDennis%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Where are the custom fields stored for the past services? Are there any reports I can run to generate these info? Thanks. 

25 Replies
best response confirmed by Lobsang_aka (Occasional Contributor)
Solution

@Lobsang_aka ,

 

You will need to extract custom fields values using graph. You will need to filter with the following (use the exact same values). Then the returned value will need to be Base64 Decoded. I'm using this with Power Automate that start whenever a new event created (Outlook new event), extract the info and put into a SharePoint list.

 

https://graph.microsoft.com/beta/users/[BookingMailboxAddress]/events/[event Id]?$expand=singleValueExtendedProperties($filter%3Did eq 'Binary {ccb88e73-951a-4b10-bb49-e6628b8d8494} Name BookingItemAnsweredCustomQuestions')

 

https://docs.microsoft.com/en-us/graph/api/user-list-events?view=graph-rest-beta&tabs=http

https://docs.microsoft.com/en-us/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0...

 

@Martin Coupal Thank you!

@Martin Coupal ,

 

We have bookings that return the standard fields using:

https://graph.microsoft.com/beta/users/[BookingMailboxAddress]/events/[event Id]

 

Within the body content of the returned data I can see there's custom fields e.g.

 

Custom Fields<br>
----------------------<br>
Question 1- ...<br>
Answer- ...<br>
Question 2- ...<br>
Answer- ...<br>
<br>

 

However, when I extend the call with the Extended Properties it doesn't return the additional fields:

https://graph.microsoft.com/beta/users/[BookingMailboxAddress]/events/[event Id]?$expand=singleValueExtendedProperties($filter%3Did eq 'Binary {ccb88e73-951a-4b10-bb49-e6628b8d8494} Name BookingItemAnsweredCustomQuestions')

 

I'm simply copying and pasting and replacing the mailbox and event ID so struggling to see what I'm missing.  Do you have any suggestions?

 

Thanks very much!

@jbailiss ,

Sorry for late reply,

 

When calling the API, what is the JSON response? You should find something like this is the response.

 

 "singleValueExtendedProperties": [
    {
      "id""Binary {ccb88e73-951a-4b10-bb49-e6628b8d8494} Name BookingItemAnsweredCustomQuestions",
      "value""W3siQW....."
    }
  ]

@jbailiss I was able to extract custom field data successfully using Power Automate.  @Lobsang_aka in case you have future needs. @Martin Coupal here is another approach in case you are interested.

 

Flow Description

This flow runs nightly and extracts user data from events located in a custom account calendar (this account is being used by the Bookings app to schedule appointments) then creates a CSV file stored in a Shared Documents team library.  Attached are the details of my solution.
 
Hope this helps!
~Kimberly

@Kimberly_Huffman We're trying to extract the custom field information and populate excel with the caveat being we have multiple bookings services with overlapping times.  I setup the multiple services because the group appointments don't show the custom data in the calendar event.  In theory we can have up to six appointments, with six services, all at 9am.  I'm totally new to power automate and don't have a clue as to how to capture the data.  Any ideas?

@ddmurrayjr Tell me about the staff accounts you have assigned to each service.  It's those staff account calendars that Power Automate will tap into to capture the information.  

 

Because I don't know your exact situation I could be very wrong, but I don't think you need 6 different services, just 6 "staff" accounts.  Let me explain our scenario and our setup.

Our specific use is to allow employees to schedule vaccination appointments. We have 4 nursing stations providing vaccinations every 5 minutes.  With our setup we can schedule 4 employees every 5 min

  • We created 4 office accounts, 1 for each nursing station (Nurse1, Nurse2, etc.) These accounts have email addresses and outlook calendars. Make sure you get access to these accounts.
  • We created a single Booking service (Vaccination) with a default duration of 5 min, max attendees 1, and custom fields. 
  • We assigned the 4 Nurse accounts as the assigned staff for the service.
  • So I could access these account's calendars using Power Automate, I added the 4 accounts to my Outlook account by selecting Add Account on the Info page of Outlook.
  • We created a Power Automate flow for each Nursing station account to capture the appointment details (I have 4 flows running nightly - Nurse1, Nurse2, etc.)

 

In Power Automate, to make the connection to the staff calendar (in my scenario the nursing station account) do the following:

  1. Once you have added the Get calendar view of events (V3) action to your flow, click on the action's menu (the ellipsis located in the action's title bar)
  2. Select the staff account under My connections or if necessary, select +Add new connection, select the staff account and provide the account password.

Using the document I attached to the original post, add the remaining actions.  Let me know if you have any specific questions about the flow or anything else I can do to help you get started.

 

~Kimberly

@Kimberly_Huffman 

Hey Kimberly,

 

It looks like we went down parallel paths for the bookings setup.

 

Our use case is similar as well; we’re trying to get ready to schedule vaccination appointments with a goal of 240/day to start and maybe ramp it up to 1000/day later.

 

I had looked at another power automate example that would export the calendar events to an html table and email it every morning.  In the setup for that flow, one of the steps is to set the password on the bookings user account and then connect directly to that calendar.

 

With the goal to have vaccinations every 5 minutes I setup six services, default duration 5 minutes, max attendee 1, custom fields.  I noticed we couldn’t get the same 5 minute slots for each service initially so I created ‘imaginary’ staff and that seems to have worked to make.

 

I’m not assigning staff to any service and turned off the ‘events on office calendar affect availability’.

 

To view the calendar events I added the bookings calendar to my outlook online, People’s calendars.

 

I’m liking the idea of setting up ‘real’ staff accounts and accessing their calendars; that might be more elegant than what I’ve setup.  Not sure if we have the licenses or not.

 

In trying to recreate the flow you documented I connect to the bookings calendar with no problem, and setup the html to text from the body, but after that…I’m completely lost.

 

I can’t find the ‘trim()’ function/expression anywhere in the ‘set variable’ steps.

 

Thanks for responding!

 

Dennis

@ddmurrayjr When you click in the Value field of your variable, the dynamic content flyout should appear. Select the Expression tab and under the String functions, choose See More, then scroll down and you should see the trim(text) function.  Let me know if you have any other questions.

2021-01-21_16-55-47.png

Just in case, are you using group event scheduling (multiple participants) in your service configuration? If that's the case it will not work.

@Martin Coupal  No I'm not and and you're correct, this will not work for group events.  I noted that in the document I attached to my original post.

@Kimberly_Huffman , I was replying to @jbailiss question...

Thanks.

Oops ... sorry!
No Problem :)
Thanks for that! Found it.

@Kimberly_Huffman well, I found the trim expression and apparently don't know how to use it properly.  Got this on a test:  Unable to process template language expressions in action 'Set_variable' inputs at line '1' and column '16408': 'The template language function 'split' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#split for usage details.'.  <sigh> I know it's english but I still don't know what it means.  :)

Send a copy of your complete expression.

@Kimberly_Huffman Hey Kimberly - I'd already deleted the expression since it didn't work. I suspect I had too many or not enough paren's or some such as I was blindly copying the examples provided and not really understanding the expression...why a comma here, why this type of parens here, etc.

 

I think I'm just going to let this sit until MS comes up with a method to export the data directly.

 

Thanks again for the help!

Hi @Kimberly_Huffman (or anyone else that can help!) wonder if you can help me out.

We are exploring using MS bookings at enterprise level for appointment bookings and i haves few queries which we are trying to get to the bottom of

1) does using MS Graph expose all of the custom data fields that you add to an MS Bookings page? We originally looked at the .TSV extract and it’s very light and doesnt add any of the custom data so looking for a workaround to that.

2) we have read on the MS supporting documentation that there is a limit of 31 calendars when selecting an appointment for a service - can anyone advise if this is correct and how this works in practice as there is little info in the documentation about this - is it that it’s only the first 31 diaries with availability are shown or does it just not support above 31 diaries at all? We will have around 150ish advisers to book in with so the former would be fine but the latter would be a deal breaker

3) finally, when using the MS graph integration, is there any way of assigning customers a unique identifier so that their onwards journey can be tracked?