Today I would like to share an important info about Business Central Online (SaaS). Web Service Access Key (Basic Auth) will stop working after October 1st, 2022. Please note that it does not matter if you are on BC19, BC20 or BC21.
Let’s see some details.
As you might know, when you open the User Card page, the following notication is displayed whether you are using Web Service Access Key or not.
Web Service Access Key is no longer supported in Business Central online. Integrations using this technology will stop working. Please use OAuth instead.
And if you are still using Web Service Access Key, the following message is displayed the Users page
One or more users have still enabled a Web Service Access Key. This is deprecated in Business Central online and integrations using this technology will stop working soon. Please use OAuth instead
Recently when you logged into BC environment, the following message will be displayed in the upper right corner if you are still using Web Service Access Key.
And you can find same info in MS Docs.
Web Service Access Keys (Basic Auth) for Business Central Online:
So the deadline is October 1st, 2022. (10 days left)
There is probably a misconception here that as long as the environment is not upgraded to BC21, we can still continue to use Web Service Access Key.
Here is the information from MS Yammer and Dynamic 365 Community:
MS Yammer (Registration required)
Web Service Access Keys (Basic Auth) for Business Central Online REMOVAL: DEADLINE OCTOBER 1st 2022
So to avoid service disruption, please complete the switch ASAP before October 1.
More details about OAuth:
Using OAuth to Authorize Business Central Web Services (OData and SOAP)
Using OAuth to connect Business Central APIs and Web Service in Postman
PS: In fact, Web Service Access Keys (Basic Auth) was planned to be removed with Business Central 2022 release wave 1.
But to help partners migrate from basic auth to OAuth. Microsoft enable Web Service Access Keys in the July update, this does NOT mean that basic auth is here to stay!
More details: Twitter
Update 2023.04.25: Web Service Access Key (Basic Auth) is no longer available in Business Central SaaS (Cloud) Sandbox
Hope this will help.
Thanks for reading.