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

Business Central on Cloud Web services 401 Unauthorized

(0) ShareShare
ReportReport
Posted on by 636

Hi all,

I have published customer page as web service on Business central on cloud.

pastedimage1586365258534v1.png

I have generated the web-access key without expiry date.

 pastedimage1586365295702v2.png

I am using Post man to verify end points. It works fine until I am  login in Business central.

pastedimage1586365331311v3.png

After a longing out from Business central web-client  it gives 401 Unauthorized error.

pastedimage1586365402332v4.png

I want to use the OData endpoints in a third party application which will perform CRUD operation for customer.

Any idea If I am missing some thing?

Thanks

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Basic authentication actually works on a SaaS tenant. You should provide username and web service access key (as I think you’ve done). This has nothing to do with login/logout procedure of a user.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Is this a sandbox or production?

  • Rehan Satti Profile Picture
    636 on at

    Hi Stefano Demiliani,

    That's why I am wondering what would be the possible reason for Authentication failure.  

    This is the Microsoft Business central cloud sandbox environment.

  • Rehan Satti Profile Picture
    636 on at

    However one thing that is different, I am accessing the Client Business central sandbox through CSP. This behavior is not seen on cloud sandbox If my account is part of the my primary organization.  

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    I did ask around here internally if there are limitations when using a delegated account and will update this posting as soon as I do hear anything. Meanwhile it is not written here as a imilation:

    docs.microsoft.com/.../delegated-admin

    Maybe one of the CSP in this forum can confirm if that is a limitation?

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans