How Can We Help?

Search for answers or browse about Sintel Forms.

The remote server returned an error: (401) Unauthorized when importing a form template

You are here:


When you attempt to import a form template you receive the following error.

401 Unauthorized


It appears that this issue can occur if your tenant was created after August 2020 and it’s quite easy to resolve by running a single PowerShell command. You simply connect to SPO using the SharePoint Online Management Shell and then run the command. It can take a few minutes to take effect, in our case it took less than 5 minutes.

Connect-SPOService -Url
Set-SPOTenant -DisableCustomAppAuthentication $false


Please note that “yourtenant” will be the word before in the URL of your SharePoint site. Press the Enter key after each line to run the commands.

Set-SPOTenant DisableCustomAppAuthentication $false


Was this article helpful?
1.5 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 100%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents