web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

MS Bookings Sync Setup

(0) ShareShare
ReportReport
Posted on by 335

Hi,

Has anyone configured MS Bookings before ? Please share some steps. Thanks.

I have the same question (0)
  • Suggested answer
    Manish Prasad Profile Picture
    317 on at
    RE: MS Bookings Sync Setup

    Hello KC Lai,

    Go through this video link. Hope it will help you.

    www.youtube.com/watch

    If my answer helped you, maybe it can help others, please verify it, so other users know it worked or helped you.

    Thank you.

  • KC Lai Profile Picture
    335 on at
    RE: MS Bookings Sync Setup

    Hi,

    I created a Booking Page named as "Cronus AU" in O365.

    In Business Central Cloud  >Exchange Sync Setup > Validate Exchange connection. This was successful.

    I proceed to Navigate>Bookings Sync Setup>

    I received the following message .

    Cannot open the Bookings Sync. Setup page. Make sure that your company is set up in the Bookings application in Office 365.

    I search through Business Central Help, but no much information.

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: MS Bookings Sync Setup

    Hello,

    learn.microsoft.com/.../finance-bookings

    www.microsoft.com/.../scheduling-and-booking-app

    Hope it helps.

  • KC Lai Profile Picture
    335 on at
    RE: MS Bookings Sync Setup

    Hi,

    The links did not say much how to setup company in MS Bookings. 

    Look forward for materials to configure the connector within Business Central.

    Regards

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: MS Bookings Sync Setup

    Hello,

    The error is misleading which is a bit unfortunate. The root cause is that the connection string still tries to connect via Exchange Web Services which has been deprecated by Exchange Online team. At least the following code applies to OnPrem:

           BookingsSetupErr: Label 'Cannot open the Bookings Sync. Setup page. Make sure that your company is set up in the Bookings application in Office 365.';

       procedure BuildExchangeConnectionString(var ExchangeSync: Record "Exchange Sync") ConnectionString: Text

       var

           User: Record User;

           Token: Text;

           Password: Text;

       begin

           // Example connection string

           // {UserName}="user@user.onmicrosoft.com";{Password}="1234";{FolderID}="Dynamics NAV";{Uri}=outlook.office365.com/.../Exchange.asmx

           if (not GetUser(User, ExchangeSync."User ID")) or

              (User."Authentication Email" = '') or

              (ExchangeSync."Folder ID" = '') or (not GetPasswordOrToken(ExchangeSync, Password, Token))

           then

               Error(O365RecordMissingErr);

       procedure RegisterBookingsConnection(BookingSync: Record "Booking Sync")

       var

           ExchangeSync: Record "Exchange Sync";

       begin

           if ExchangeConnectionID <> '' then

               UnregisterConnection(ExchangeConnectionID);

           if BookingsConnectionReady(BookingSync) then

               exit;

           if BookingsConnectionID <> '' then

               UnregisterConnection(BookingsConnectionID);

           ExchangeSync.Get(BookingSync."User ID");

           BookingsConnectionID := CreateGuid();

           if RegisterConnection(ExchangeSync, BookingsConnectionID, BookingsConnectionString) then

               SetConnection(ExchangeSync, BookingsConnectionID);

       end;

    I expect that this code for MS Booking also applies to the Cloud release (requiring connection via Exchange web services). Fortunately, we added support for Exchange contact synch allowing OAUTH2 connecting strings but we did not yet do this for the OnPrem world. This will therefore never work until we add support to Exchange Synch to allow OAUTH2 connections for the Exchange contact synch in both OnPrem and Cloud.

    I will add this information to the work item we currently have open.

    Thank you for raising this to us.

  • KC Lai Profile Picture
    335 on at
    RE: MS Bookings Sync Setup

    Hi Marco,

    My setup is Business Central Cloud. Do you mean I need to wait for future release?

    Is there any documentation to share on mapping the fields from Bookings to Business Central - Customers, Sales Invoice etc. ?

    Regards

    KC

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: MS Bookings Sync Setup

    Hello,

    That is correct. Due to deprecation of Basic Authentication in Exchange Online, MS Booking does no longer work in any OnPrem / Cloud release of Dynamics 365 Business Central and you will get the error reported.

    Based on this community posting, I created an internal bug for this issue. At the moment, I cannot tell when the team will get to this due to all the other priorities they have.

    The document you already found is what we have, It should be sufficient but you cannot get past the authentication issue.

    Thank you.

  • Verified answer
    KC Lai Profile Picture
    335 on at
    RE: MS Bookings Sync Setup

    Hi Marco,

    We have a prospect who is looking for Bookings that integrates with BC for billing.  I have to ask them to wait then.

  • DK-17100705-0 Profile Picture
    7 on at
    MS Bookings Sync Setup
    Hi all,
     
    I presume there has been no update to this. I am still getting the same error ( Cannot open the Bookings Sync. Setup page. Make sure that your company is set up in the Bookings application in Office 365. ) - but the bookings sync option is still there. 
    Do I need to do the manual sync using Power Automate? Anyone else had any joy here? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,921

#2
YUN ZHU Profile Picture

YUN ZHU 2,012 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,999 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans