I found no solutions for the "The remote server returned an error: (401) Unauthorized" error. Hence I am providing the solution here for developers reference
Error Message: he remote server returned an error: (401) Unauthorized
Issue Reason: This issue happens if the portals and dynamics are not synced properly
Step 1: Check if SharePoint Integration is enabled in Portal Admin, If No Enable it and test by syncing the changes and clearing the browser cache.
Step 2: If it is Enabled, Disable it, You will recive an alert that the portal will be unavialable for few minutes, Click OK
Step 3: Next Enable it back and test by syncing the changes and clearing the browser cache.
Note: The user must have Global Admin Privilages to perform the above steps
This simple steps will fix the issue. @Binil
Solved! Go to Solution.
Hi @MithunSuresh ,
Thanks for sharing, it's very helpful. You might consider posting the solution in your reply and marking it as 'Solution' to help others better.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.