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