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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Authentication for Web Service Integrations Without Azure Client ID

(0) ShareShare
ReportReport
Posted on by 20

Hello, this is about an arbitrary console application or .NET program,

I am looking for guidance on integrating with a cloud based BC environment (Specifically testing against the free demo environment Microsoft provides). I cannot get the basic authentication in HTTP request headers to work (failed credentials response), but I am reading this feature is being deprecated, so maybe I should not pursue basic authentication.

I read an alternative solution in this forum post, but I cannot create an Azure client ID and secret for the demo environment, right? I would need to be an Azure tenant admin for this environment, but I only have access to the environment URL, and various web service endpoint URLs.

Basically, can I integrate with the demo environment as is? Or do you have any examples of a complete HTTP request object including Content Type and Authorization values?

Thanks,

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Does it work with Postman for testing purposes?

    Thanks.

  • RFgenCT Profile Picture
    20 on at

    Postman does not seem to work. Expecting to see the API list from this HTTP GET.

    URL = businesscentral.dynamics.com/<mycompany.com>

    Username = My login name (all lowercase of email before the @<mycompany.com>)

    Password = Web Service Authentication Key

    0334.Capture.PNG

    By the way I've switched to an Azure hosted VM for my environment. Still no luck with the authentication. 

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    It seems to work for me (still) with basic authentication:

    pastedimage1621582099751v1.png


    Listing all endpoints:

    api.businesscentral.dynamics.com/.../

    Or

    https://api.businesscentral.dynamics.com/v2.0/yourdomain.onmicrosoft.com/Production/api/v1.0/

    Hope it helps.

    Thanks.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans