Questions tagged [401]

HTTP status code 401 represents Unauthorized access

Filter by
Sorted by
Tagged with
0
votes
0answers
25 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 ...
0
votes
1answer
26 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....
0
votes
0answers
24 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 ...
0
votes
0answers
79 views

High Trust App for Sharepoint 2013 access denied in combination with AD group

I use some simple High Trust code to do actions from a remote timerjob (console app) on several sitecollections in my farm. I have simplified the code to just do a executeQuery to get the web title. ...
1
vote
1answer
528 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 ...
0
votes
1answer
126 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 }) { ...
1
vote
1answer
86 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 ...
2
votes
0answers
114 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. ...
0
votes
1answer
35 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 ...
1
vote
3answers
70 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....
2
votes
1answer
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 (...
2
votes
0answers
55 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 ...
0
votes
1answer
622 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 ...
0
votes
1answer
360 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 ...
3
votes
3answers
9k 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 ...
0
votes
1answer
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/...
5
votes
1answer
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 ...
1
vote
2answers
115 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 ...
1
vote
2answers
438 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 ...
0
votes
0answers
167 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 ...
1
vote
1answer
561 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://...
1
vote
0answers
191 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 ...
0
votes
1answer
544 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 ...
1
vote
0answers
195 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 ...
1
vote
0answers
365 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, ...
1
vote
1answer
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 ...
4
votes
1answer
7k 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,...
1
vote
0answers
91 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. ...
0
votes
1answer
898 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 ...
0
votes
1answer
193 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 ...
0
votes
2answers
24k 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 ...
0
votes
1answer
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 = "...
1
vote
0answers
180 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 ...
2
votes
1answer
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 ...
1
vote
1answer
719 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 ...
2
votes
0answers
64 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://...
0
votes
1answer
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 ...
0
votes
1answer
433 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 ...
2
votes
1answer
158 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-...
15
votes
3answers
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 ...
0
votes
1answer
648 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 ...
3
votes
2answers
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 ...
5
votes
6answers
12k 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 ...
0
votes
1answer
130 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 ...
0
votes
2answers
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 ...
2
votes
1answer
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-...
2
votes
1answer
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'...
4
votes
2answers
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 ...
2
votes
1answer
197 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 ...
3
votes
2answers
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 ...