Questions tagged [401]

HTTP status code 401 represents Unauthorized access

Filter by
Sorted by
Tagged with
2 votes
0 answers
13 views

Custom Connector is giving 401 error with new connection

I have a custom connector in Power Platform. It is working fine with the older connection which was created last week. All of sudden since yesterday, If I create a new connection and try to access the ...
user avatar
0 votes
1 answer
41 views

SharePoint High Trust 401 after a day

we are experiencing a really difficult problem and TBH could do with a few ideas of things to check over. So we have a high trust SharePoint application that works well however it just seems, most ...
user avatar
0 votes
1 answer
48 views

SharePoint High Trust Application - stopped being trusted - 401

We've got a high trust application which ok, in the mornings seem to 'not work' but then after the first hour was fine. But now it just blankly doesn't work with the non helpful. System.Net....
user avatar
0 votes
0 answers
34 views

SharePoint High Trust some users getting 401

Hi I've created a High Trust application, but some users seem to be getting the 401 from time to time. I've got a hunch that it's down to them not logging off and something not 100% accurate with ...
user avatar
1 vote
1 answer
744 views

SharePoint 2016 high-trust app: getting 401 unauthorized and “Azure Access Control Service is unavailable”

We are trying to deploy our first high-trust SharePoint 2016 app in a non-dev environment but get the common “401 Unauthorized” error. Our environment is as follows: SharePoint 2016 Server Remote ...
user avatar
0 votes
1 answer
243 views

Unauthorized when trying to call Sharepoint 2016 from ASP.NET

I have a piece of code that uses CSOM to get search results from Sharepoint. using (var clientContext = new ClientContext(serverUrl) { Credentials = CredentialCache.DefaultCredentials }) { ...
user avatar
  • 178
1 vote
1 answer
127 views

SharePoint on-premise keep prompt on trusted domain

We have a SP2016 on-premise. It is installed on domain sharepoint.local. One-way trust is established to our company domain company.com. It works fine for last 1 year. Recently we have rollback the ...
user avatar
  • 4,016
2 votes
0 answers
144 views

SharePoint provider hosted add in throwing 401 error on execute query

We have a provider hosted app used by many customers in SharePoint Online, but there is this one new customer who is getting this error whenever he tries to launch the app after installation. ...
user avatar
  • 559
0 votes
1 answer
43 views

Prevent authentication prompt on REST call in javaScript

I am making a custom "Delete item" button for my list. The issue I am facing is that when the user attempting to delete the item does not have the permission to do so, besides the API failing, I think ...
user avatar
1 vote
3 answers
93 views

Accessing Site Contents Causes 401 Error

I have 1 Site Collection that suddenly stopped serving all the pages in the "_layouts" folder; all pages return 401 error. It is the root Site Collection for the Web Application (https://MyDomain....
user avatar
  • 377
2 votes
1 answer
1k views

401 Unauthorized after OAuth 2 authentication

I am developing a native app (WinInet/C++) and after completing OAuth2 as described here and getting auth token, try to send any request to my SharePoint but get 401. The site is SharePoint online (...
user avatar
  • 359
2 votes
0 answers
63 views

Odata query returns 401

I'm working with the SharePoint 2016 OnPremis OData Rest Api. The filter parameter is defined followings: $filter=Art/Value eq 'aString' and year(Received) eq 2019 Art is a choice value and Received ...
user avatar
  • 1,176
0 votes
1 answer
781 views

SharePoint 2016 Anonymous access user 401 unauthorized

I am really baffled by this issue. I have a site with two collections. For instance example.org/pages/home.aspx and example.org/sites/test/pages/hometest.aspx. For the 1st site anonymous users get a ...
user avatar
0 votes
1 answer
390 views

401 Unauthorised access from asp.net Application WebResponse

When I am trying to access(view) a sharepoint image from asp.net application I am getting 401 Unauthorised error. I am using following code: Dim webReq As WebRequest Dim webRes As ...
user avatar
  • 25
3 votes
3 answers
10k views

SharePoint Server 2016 Web App - 401 Unauthorized

I am running SharePoint Server 2016 with two servers: an application and database server. I have created a new web application and site collection (URL is http://mysite.local/sites/site1) in ...
user avatar
0 votes
1 answer
1k views

SharePoint: Https WebClient Request occurred "The remote server returned an error: (401) Unauthorized"

I had the below code in a SharePoint Webpart and it worked properly: using (var wb = new WebClient()) { wb.UseDefaultCredentials = true; var data = wb.DownloadData(@"http://sharepointSite/...
user avatar
5 votes
1 answer
2k views

How to resolve 401 Unauthorized in SharePoint 2013?

I am working with SharePoint On premises environment. I am facing a very strange issue while using the SharePoint site. Whenever I open any URL it automatically insert following string the URL ...
user avatar
1 vote
2 answers
126 views

Does code status 401 slow down page performance? [closed]

I have two identical (well, almost) environments and one is slower than the other one. I have been testing a OOTB site collection on each environment and one performs slower than the other. Using ...
user avatar
  • 1,316
1 vote
2 answers
456 views

401 Unauthorized when attempting to open site in Designer or form in InfoPath

I've got a brand-new 2016 environment that is having some authentication issues. Currently, I cannot open the (only) site in SharePoint Designer, nor can I edit its forms in InfoPath. When I try, I'm ...
user avatar
  • 2,660
0 votes
0 answers
172 views

404, 401, 301, blank pages, People Picker errors on sites created on brand new installation

I just set up a brand new single-server 2016 environment but have run into a puzzling issue with it. Any site collection and sub-site I create have blank home pages with only the SP icon, top nav, and ...
user avatar
  • 2,660
1 vote
1 answer
612 views

Trying to access a list from another web application, but getting an error 401 (Unauthorized)

I'm a Sharepoint beginner, I'm trying to access a list which is in another site collection under another web application in the same farm. I'm working with pnp core js library. new pnp.Web("http://...
user avatar
1 vote
0 answers
194 views

SharePoint prompts for credentials again and again for 1 user only

Ours is a SharePoint 2010 environment. Authentication is based on LDAP. Since few days a user is not able to login into the intranet application. He gets prompt for login again and again. I checked ...
user avatar
  • 653
0 votes
1 answer
579 views

HttpWebRequest Sharepoint API Authentication FedAuth 401

I already asked this question on StackOverflow Question on SO, but now I think I should have ask my question here in the first place. I did some changes since I ask for help on SO, and my question is ...
user avatar
  • 101
1 vote
0 answers
204 views

I received error 401 : unauthorized when accessing my web app API

I'm trying to run one of my web app and it keep prompt me for user and pw thrice. then i tried running the API link by itself, it gives me: "sorry, this site hasn't been shared with you" (access ...
user avatar
  • 71
1 vote
0 answers
373 views

SharePoint IIS/ URL errors

This issue started when we were going to reroute our main site (web app) to a new domain. It didn't on my end so I tried to pull it back - recalling and extending the header, changing bindings, ...
user avatar
  • 109
1 vote
1 answer
1k views

401 Unauthorised error -- css & js files in https site

I have a SharePoint 2013 web application with only one zone in AAM(default configured with https). The application works fine but I see 410 errors for a few css & js files. These files are under ...
user avatar
4 votes
1 answer
8k views

401 Unauthorized when trying to connect to SP 2013 server 90% of the time from a Windows 10 machine

Setup I have a SharePoint 2013 server using what I assume is standard HTTP authorization for access. I have no problem accessing it from the server itself, as well as from various machines outside,...
user avatar
1 vote
0 answers
94 views

Web service reference getting 401 only for non-local request

I am working on an event receiver in SP2010 environment. It is a 2 sp servers and 1 SQL topology. Both sp servers run exactly same services and service applications. Both have MS office installed. ...
user avatar
  • 4,016
0 votes
1 answer
919 views

Unauthorized Error using web api with REST in different site collection the add-in isn't deployed at

I'm trying to write a sharepoint 2013 add-in that reads certain list info from a bunch of site collections i get first and write into an array, however whenever i try to access any sitecollection but ...
user avatar
  • 15
0 votes
1 answer
201 views

Facing Error while accessing SharePoint site list, The remote server returned an error: (401) Unauthorized

I am getting following error "The remote server returned an error: (401) Unauthorized." While I'm trying to read a website hosted in SharePoint. I have tried following code to access my ...
user avatar
0 votes
2 answers
25k views

401 Error Unauthorized when connecting to sharepoint 2013

i have my sharepoint setup, and am rolling it out to the users. on some PCs, i've experienced "401 Unauthorized" when the user is trying to connect. ie I have full access, and have granted access to ...
user avatar
0 votes
1 answer
3k views

(401) Unauthorized SharePoint - C# Console Application Code

Unable to upload the documents in SharePoint Online using a console application. Any solution to this problem? public static void SaveFileToSharePoint(string fileName) { string Url = "...
user avatar
1 vote
0 answers
188 views

Accessing SharePoint 2010 (using TMG/NTLM auth) via CSOM using C#

I can't seem to get past a 401 unauthorized error when using C# to access SP2010 CSOM. The auth of SP2010 is using TMG/NTLM. I have tried this blog, but still getting 401. Anyone have luck with this ...
user avatar
  • 377
2 votes
1 answer
2k views

http:<server>/_api/web/webs 401 unauthorized

i'm using a jquery script embedded in a SharePoint page. i am able to load the results of a /_api/web/webs call to REST as myself (site collection admin). However, anyone that visits the page that is ...
user avatar
1 vote
1 answer
733 views

SharePoint site accessed via AAM url causes 401 Unauthorized error

I have a internet mapping for a SharePoint site that works fine. However, the same site's WCF REST service causes a '401 Unauthorized' error when accessed via a coded functionality. The same code ...
user avatar
  • 1,159
2 votes
0 answers
66 views

SP url - Problem with alias

I have a problem when using an alias to access my Sharepoint (2013) site through code. I want to retrieve a document from a SharePoint library. In my browser address bar I can type either : http://...
user avatar
0 votes
1 answer
111 views

SharePoint 2010 Client Object Model - 401 on SubSite but not root

I am trying to use the CSOM to access data from a root site, then loop through its subsites to get into files that are stored in its lists. When I go to create the ClientContext, it works fine with ...
user avatar
  • 131
0 votes
1 answer
446 views

401 error accessing SharePoint in Firefox on mac

I'm currently getting a 401 error when I try to access my SharePoint site on Firefox on mac. Usually when I login on a windows computer using FF I'm prompted to enter credentials, but for some reason ...
user avatar
  • 769
2 votes
1 answer
160 views

High Trust Provider-Hosted apps on cloudshare

I do not have sufficient resources to create my own SharePoint 2013 farm and hence started using the trial environment from CloudShare (http://www.cloudshare.com). I wanted to get a hands-on on high-...
user avatar
15 votes
3 answers
30k views

Getting 401/403 in High Trust App for Sharepoint 2013

I have this Cloudshare environment consisting on 3 machines: One for Sharepoint 2013 (this is where I develop with VS2012 installed) Another for SQL Server 2012 And another for Active Directory I'm ...
user avatar
  • 761
0 votes
1 answer
675 views

Connecting with SSRS using XML Data Source leads to 401 Unauthorized

I am currently working on Report Builder 2.0 with Reporting Services 2008 and am trying to connect to a SharePoint 2013 site using an XML data source query. SharePoint and Report Builder/Services are ...
user avatar
3 votes
2 answers
4k views

401 Unauthorized before authentication

Environment: SP2010 Enterprise, one server with separate SQL This just cropped up on a server that has been working flawlessly for months. I created an account for a new external user, but when they ...
user avatar
  • 2,660
5 votes
6 answers
13k views

SaveBinaryDirect Throws Unauthorized When the Client Object Model Works fine

I have decided to use the SaveBinaryDirect Method to upload documents to the sharepoint site due to not having the request/file size limitations that the client object model has. The application does ...
user avatar
  • 73
0 votes
1 answer
131 views

Running asp.net app that accesses sharepoint web services on same server - getting 401 Unauthorized

I have an asp.net appliation that makes use of sharepoint web services that is running on the same server as my sharepoint installation. I was using computername:portnumber to access the site, but ...
user avatar
0 votes
2 answers
1k views

Password required? The remote server returned an error: (401) Unauthorized

I'm trying reference a sharepoint list item in my aspx page using the Sharepoint Client Object Model. I have been granted 'Full Control' privileges on this list. The problem is that I can only ...
user avatar
  • 113
2 votes
1 answer
11k views

SharePoint 2013 Workflow Authentication Error 401

I'm trying to let a SharePoint 2013 workflow run as a regular user (not a site collection administrator). When starting the workflow it fails right away with the error: RequestorId": c0c2fcc9-abfb-...
user avatar
  • 4,743
2 votes
1 answer
1k views

ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,

I have a problem understanding how ListData.svc can be debugged using IE8 and IE9. I have a URL that looks like this: hostname:8181/_vti_bin/listdata.svc/ImageBanners?$filter=endswith(Path,'TopLeft'...
user avatar
4 votes
2 answers
5k views

401 Unauthorized caused by custom master page

just customized a master page for the new SP 2013 Foundation. Deployment, activation etc. works fine (i deploy it using a .wsp built with VS2012) but every time im trying to access my sp-page with the ...
user avatar
  • 575
2 votes
1 answer
201 views

Turn on Anonymous blog comments

I've created an anonymous blog subsite. My root site is also anonymous. I can access default.aspx anonymously, but not /Lists/Posts/Post.aspx?ID=1 I've tried breaking permission inheritance and ...
user avatar
  • 305
3 votes
2 answers
12k views

401 - unauthorized on root site collection

Just installed my SP2013 Foundation Preview and i receive a 401 Error if im trying to access the server with a domain account. I added it to the Server Roles as Owner, Member and Site Collection ...
user avatar
  • 575