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)

Authorization failure on sharepoint online integration to Dynamics 365 online

(0) ShareShare
ReportReport
Posted on by

I have configured this for a week and still no solution on this authorization error.

I have 3 users, one user have O365 roles Service Administrator, User management Administrator, Sharepoint Administrator, and the other 2 user only has role Sharepoint administrator.

I have setup the Dynamics 365 role to system administrator for all of them, and set as owner in sharepoint online, but I still got below error for user who only has role sharepoint administrator. For first user who have 3 roles, is able to upload file to sharepoint online.

"Exception occured while accessing SharePoint: Unhandled Exception: System.Net.WebException: The remote server returned an error: (401) Unauthorized."

Do anyone have experience on setup this integration ? I guess service administrator and user management administrator have no correlation to sharepoint online. I also have filled in the sharepoint email address on systemuser for all of them.

Thanks

Best Regards,

Afin

*This post is locked for comments

I have the same question (0)
  • Johnny Gong Profile Picture
    6,482 Moderator on at

    Hi,

    Once I collect an article about Unauthorized issue occurred in D365 OL Server-Based SharePoint Integration. The following linkage could be your reference.

    https://partnersupport.microsoft.com/en-us/par_onlserv/forum/par_dyn365on/top-issue-server-based-sharepoint-integration/c1d949a4-716c-4212-a577-38805cadaf0b

    heheda.PNG

    Please mark my answer as verified if you found it helpful. This way the community can see there is a valid answer to the thread's topic.

    Regards 

    Johnny

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    To setup server side integration between CRM and SharePoint online, you need to be a global admin in Office 365. Otherwise it will not work.

  • Community Member Profile Picture
    on at

    any updates on that? above link isn't working. i have crm 2016 on prem, followed steps from docs to integrate it with sharepoint online and still getting 401 unauthorized error while connecting.

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