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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

SharePoint Integration (File Location

(0) ShareShare
ReportReport
Posted on by 125

Hello everyone, 

I am new to the group and look forward to learnign and helping as much as possble.

I am currently in the middle of an On-Premise prodcution environment 9.0 upgrade from version 8.2. The CRM install went smoothly but a have gotten in a bit of a snag on the SharePoint integration. I used the SharePoint Wizard and that configured and validated just fine.

Then i went to Document Management and configured that correctly.

When i went to my test account, to add a document i got a 401 error.

pastedimage1621969552804v2.png

My test users account is added to the members permissions group in AD, It has the SharePoint email asme as the CRM Email... 

Am i missing something?

I have the same question (0)
  • Suggested answer
    Carlos Eduardo Fontolan Profile Picture
    on at

    Hello,

    Check on this official documentation about permissions that your user needs to have on SharePoint folders, libraries and related to can use SharePoint Integration: docs.microsoft.com/.../permissions-required-document-management-tasks

    Let me know if something else is needed.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi DLewis777,

    Failed authorization or 401 unauthorized error

    https://docs.microsoft.com/en-us/power-platform/admin/troubleshooting-server-based-authentication#failed-authorization-or-401-unauthorized-error

    This failure can occur when the claims-based authentication types do not match. For example, in a hybrid deployment such as customer engagement apps to SharePoint on-premises, when you use the default claims-based authentication mapping, the Microsoft account email address used by the user must match the SharePoint user’s Work email.

    The solution turned out to be entering the user’s email address on the System User form.

    401 Unauthorized Error When Accessing SharePoint Document Folder - NextLevel Business Systems

    By default, the SharePoint Email Address field is not exposed on the System User main form. You will have to customize the form to expose the field, and then you can populate it.

    pastedimage1622000727687v1.png

    And you can also refer following thread provides the same error, it has been solved by starting User Profile Sync service.

    (+) Server Based Integration with SharePoint - Microsoft Dynamics CRM Forum Community Forum

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • David Lewis Profile Picture
    125 on at

    I have our security group added to members so we definitely have the rights to make edits and access it the site

    5314.Screenshot_5F00_1.png

    I doubled checked to make sure User Sync Service was started and it was.

    pastedimage1622046711527v2.png

  • Community Member Profile Picture
    on at
  • Suggested answer
    David Lewis Profile Picture
    125 on at

    FYI if anyone is experiencing this problem, what fixed it for us was to first download the latest language and core patches for SharePoint and latest CRM Patches. There were bugs that were fixed in the history of both software's that fixed the problems.

    Our previous version of CRM was 9.0.3.7 which was the very first issue, we updated to 9.0.30.xx and it worked instantly.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans