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

Announcements

No record found.

News and Announcements icon
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,

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 757 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 451 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 391 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans