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...
Suggested Answer

Issue with Authorization of SOAP Webservice

(0) ShareShare
ReportReport
Posted on by 2,274

Hi Community,
Hope you are all well. I am having difficulty in Authorizing SOAP webservice in BC 20 on-premise if I use Username Authentication. It works well using windows authentication. 

I don't understand why but when I try to authorize, it shows me popup to add username and password but even after that, It keep asking again and again. If I click, cancel it gives error on 401, Unauthorized.

Would really appreciate if I can have any clue or code snippet which can make it work. Thanks in advance.

Best,
Zaid Tariq

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Issue with Authorization of SOAP Webservice

    Hello,

    If you do not get further traction from the community, feel free to raise this issue to Microsoft via your partner or CSP.

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Issue with Authorization of SOAP Webservice

    Hi,

    Instead of password did you try with webservice key.

    Put the username as user ID and password as Webservice key. then try

    pastedimage1679408113919v1.png

  • Suggested answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    RE: Issue with Authorization of SOAP Webservice

    Hi, hope the following helps.

    https://yzhums.com/18869/

    Thanks.

    ZHU

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,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans