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.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Your chance to join an engaging competition of Power Platform enthusiasts.