Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

The remote server returned an error: (401) Unauthorized.

Posted on by 145

Hi folks,

I'm configuring a Dynamics Portal. Last time I checked the portal everything was working fine however I now get the following error:

The remote server returned an error: (401) Unauthorized.

There are also some source errors stated as below:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Any help would be greatly appreciated. 
J

*This post is locked for comments

  • ASB Profile Picture
    ASB 30 on at
    RE: The remote server returned an error: (401) Unauthorized.

    Just found this after I asked the question.... this might do the trick... Will give it a go

    www.theportalcompany.com/.../

    docs.microsoft.com/.../change-dynamics-instance

  • ASB Profile Picture
    ASB 30 on at
    RE: The remote server returned an error: (401) Unauthorized.

    How was this resolved? Do you have any steps on this? As we have a customer experiencing this exact issue. Any help would be great!

  • Suggested answer
    opticshrew Profile Picture
    opticshrew 145 on at
    RE: The remote server returned an error: (401) Unauthorized.

    Hi all,

    Microsoft investigate the issue and advise that the Portal had disconnected from the Dynamics Instance. We had to restart the portal and update the instance. Don't worry this doesn't update the version just refreshes connections to other applications (e.g. the Portal).

    Thanks,

    J

  • opticshrew Profile Picture
    opticshrew 145 on at
    RE: The remote server returned an error: (401) Unauthorized.

    I've got a further error if that is of any help: "The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was..."

  • opticshrew Profile Picture
    opticshrew 145 on at
    RE: The remote server returned an error: (401) Unauthorized.

    Hi,

    I've raised this with MS. Nothing back yet though. Does anyone have any troubleshooting steps?

    Thanks,

    Jay

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: The remote server returned an error: (401) Unauthorized.

    Hello,

    I would recommend to get in touch with Microsoft and open a support ticket.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans