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 :
Microsoft Dynamics CRM (Archived)

Odd behaviour for users when connecting to Documents (Sharepoint 2016) for two users (out of a lot)

(0) ShareShare
ReportReport
Posted on by

I have the server side integration in place between CRM 2016 (sp1) and Sharepoint 2016 which is working fine for all but two users

When trying to upload documents via CRM > Documents (they can get as far as choosing a document to upload) they get a 401 unauthorised error.

They are in the same CRM security group as other working users (full control of Sharepoint Sites and Document Locations except they do not have delete)

They are in the Site Members role on the relevant sharepoint site (and if you go to the sharepoint site directly they can upload documents without issue)

When they try to upload the documents it raises an error in the Sharepoint Application event log:

An exception occurred when trying to issue security token: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs..

It's claims based so I have checked the email addresses as shown in CRM, Sharepoint and AD (they match).  I'm unsure how to debug this any further.

Any thoughts?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Turns out just setting up the security is not always enough.

    Logging in as (the troublesome) users, going to the relevant Sharepoint Site directly and going to 'About Me' forced the creation of the profile details...

    Security then started working

  • Community Member Profile Picture
    on at

    Thank you man, that worked for our organization also (we had just 2 users that couldn't reach Sharepoint folders from the CRM).

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans