Forum Discussion

Deleted's avatar
Deleted
May 24, 2018

Microsoft Bookings - Reports

Would love to be able to report on Microsoft Bookings.
Future pipe line, previous appointments  ect.

is this in the roadmap at all?

  • I agree - this would be great. The only way I've found so far to extract data from Bookings is using Excel:

     

    Data>Get Data>From Online Services>From Microsoft Exchange Online> and then entering the email address associated with the booking page of the calendar. This will at least allow you to pull a list of bookings and show cancellations, etc

  • I agree - this would be great. The only way I've found so far to extract data from Bookings is using Excel:

     

    Data>Get Data>From Online Services>From Microsoft Exchange Online> and then entering the email address associated with the booking page of the calendar. This will at least allow you to pull a list of bookings and show cancellations, etc

    • Luis Barrientos's avatar
      Luis Barrientos
      Copper Contributor

      Hi Geoff,

       

      Can you explain me in deep how do you accomplish this???

       

      Thanks in advance,

    • mustikka's avatar
      mustikka
      Copper Contributor

      The export function seems to have been taken off. Any info how to get the data from the bookings? (I'm on a mac computer so no Get Data is working from Excel either.)

    • pbailey1105's avatar
      pbailey1105
      Copper Contributor

      Doesnt this also show all other calendar entries not just Microsoft bookings entries?

  • Christine_Chong's avatar
    Christine_Chong
    Copper Contributor

    Is there a way to include more data like Customer notes or other Custom Fields that are created for the services to the report?

    • brphillips's avatar
      brphillips
      Copper Contributor

      Christine_Chong 

      I have been working on this over the past week and the only way I have found to accomplish this is to pull that information from MSGraph.  I'm not a programmer or powershell advanced user; I just learn by myself, so this was a big learning curve.

      Anyways, there were quite a few steps but the biggest thing is authenticating to MSGraph.  I spent close to 2 days trying to get this right.  I can now pull up all booking appointments for a specific Booking email address.  

      You'll need to have rights to add App registrations in Azure AD as well as have Full Access rights to the Booking Account's mailbox (this is so your account can read/pull the calendar info).  Then in Powershell, you'll need to install 2 modules:

      Microsoft.Graph.Authentication

      Microsoft.Graph.Bookings

       

      Trying to get this to pull all appointments for all Booking accounts and export to excel.  Not quite there yet though.  If you want the specific instructions, just let me know.  Since I just got this working yesterday, I still have to document it for work so I can supply it.

      • Christine_Chong's avatar
        Christine_Chong
        Copper Contributor

        brphillips Thank you! I will have to play around with that some time. I am not too techy myself either! I will definitely reach out to you if I have any questions.

         

        Thanks!

    • Lobsang_aka's avatar
      Lobsang_aka
      Copper Contributor
      Did you find a solution yet? I am also looking to find how to extract these custom field notes.
  • Has anyone got the Dash API setup for Bookings? This seems like it would be the way to go.
  • you can get the data in microsoft graph also. 

    login at Graph Explorer - Microsoft Graph

    assign the proper permission (check screenshot 01 and 02)

    run the below query in GET > beta and copy the id (check screenshot 03)

    https://graph.microsoft.com/beta/bookingBusinesses/

    replace tttttt with id in the below query 

    Now run the below query and you have all the data (check screenshot 04)

    https://graph.microsoft.com/beta/bookingBusinesses/tttttt/appointments

     

    for more details check Microsoft Bookings and Microsoft Graph | Kurt Hatlevik – Dynamics 365 Blog

     

    • Deleted's avatar
      Deleted
      Yes this is now working for me with newly created calendars, but only seems to export data after 1st October 2018
      • Louise Jansen's avatar
        Louise Jansen
        Copper Contributor

        Thanks for the quick reply :-) i did see the option for the CSV file but the link on my homepages doesn't seem to work. I'll check with our admin that we have the latest update as this would be a huge help.

         

    • Rmurray385's avatar
      Rmurray385
      Copper Contributor

      I have been using the bookings for about 1 year now, and it still does not show anything being booked in the home section of bookings, even though we are getting loads of appointments. This being said, when I export to TSV, there is no data. Am I missing a setting or something?

       

      Thanks!

      • SimonWindisch's avatar
        SimonWindisch
        Copper Contributor

        I hope this is helpful

        How to export Bookings to an Excel sheet

        1.  
         
         

         


        • Find out the ID that Bookings uses for a calendar. In our case I defined the business name as “School Primary School” and so so the name it used was
          school@school.com
        1. Go to the MS admin portal and change the password of that user
        2. Log on to https://outlook.office.com/calendar with that user
        3. Go to Settings – View all Outlook Settings -> Shared Calendars – Select the calendar
        4. Check that your own user can view the calendar
        5. Go to the desktop Outlook app
        6. Go to File -> Account Settings -> Account Settings -> Change -> More settings -> Advanced -> Add mailbox and enter your equivalent of 
          school@school.com
        7. Click OK -> Next -> Done -> Close
        8. Click File -> Open and Export – Import/Export -> Export to File -> Next -> Comma Separated Values -> Next
        9. Choose the calendar that matches your business name
        10. Next -> Choose a file name (I chose calendar_output.CSV -> Next -> Finish
        11. Choose a date range – OK
        12. Open the exported CSV and open another new Excel sheet. The new excel sheet needs two rows:
        13. Row one contains the following text fields
          1. Date
          2. Start Time
          3. End Time
          4. Length
          5. Staff Member
          6. Student Email
          7. Join link
          8. Name_Pos
          9. Name-Len
          10. Email_Pos
          11. Email_len
          12. Booking_pos
          13. Join_pos
          14. Join_len
          15. If_you_pos

         

        1. Row two should contain the following formulas
          1. =(calendar_output.CSV!B2)
          2. =(calendar_output.CSV!C2)
          3. =(calendar_output.CSV!E2)
          4. =C2-B2
          5. =(calendar_output.CSV!K2)
          6. =MID(calendar_output.CSV!P2,L2,M2)
          7. =MID(calendar_output.CSV!P2,N2,O2)
          8. =MID(calendar_output.CSV!P2,Q2,R2)
          9. (…blank – for sanity)
          10. =HYPERLINK((MID(calendar_output.CSV!P2,Q2,R2)),"Join link")
          11. =(calendar_output.CSV!A2)
          12. =FIND("Name:",calendar_output.CSV!P2)+6
          13. =N2-L2-6
          14. =FIND("Email:",calendar_output.CSV!P2)+6
          15. =P2-N2-6
          16. =FIND("Booking Info",calendar_output.CSV!P2)+6
          17. =FIND("Join Teams Meeting",calendar_output.CSV!P2)+18
          18. =S2-Q2
          19. =FIND("If you need a local number, get one here",calendar_output.CSV!P2)
        2. Copy/drag row two down to match the number of rows in calendar_output.CSV
        3. You should see your data in an easy to read format.

         

  • pbailey1105's avatar
    pbailey1105
    Copper Contributor

    I would also be interested in this. I was looking for a way to pull it all through into power BI... 

Resources