Questions tagged [authentication]

Validation the identity of the user, usually with username and password authentication.

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

Authenticate a C#/WPF app using CSOM and Client ID / Client Secret

I have developed a desktop application which accesses our company SharePoint Online site in order to utilize multiple lists. Currently, this app is using username/password credentials in order to ...
LightBulb's user avatar
  • 121
0 votes
1 answer
379 views

How to Read SharePoint Online list data from an external HTML page?

I have a requirement to read list data from SharePoint Online and display on an external html page. Most of articles points towards REST API calls But how I can make an authenticated REST API call ...
Binoy R's user avatar
1 vote
1 answer
23 views

Authentication Looping connecting to SharePoint from Secure Network

I have a 2016 SharePoint Farm hosted OnPrem with several hundred contractors offsite on public secured networks. When they try to connect to our SharePoint site, they are prompted to log in. Every ...
Snowburnt's user avatar
  • 351
0 votes
0 answers
81 views

SharePoint 2016: Users forced to re-authenticate unexpectedly

Users are being forced to reauthenticate. We have tried setting a few configurations via PowerShell that we read about online, but nothing seems to change this problem. Any tips would be greatly ...
RZoolander 's user avatar
0 votes
2 answers
85 views

Can't change data in the Host web from a Remote Event Receiver ItemAdding Event

I've build a SharePoint that should modify some information when the user create data. The addin has some pages (asp.mvc) that lists the lists in the host web. The user select one of the list, then ...
Steve B's user avatar
  • 7,488
1 vote
0 answers
56 views

Custom login for two different AD Users

I am using SharePoint 2010 and I want to create custom login page for AD users. There are two different active directory users who are logging everyday to site. Now for login, instead of default ...
Rajesh Joshi's user avatar
  • 1,344
0 votes
2 answers
7k views

The remote server returned an error: (401) Unauthorized (SharePoint Online & C# Application)

I am trying to insert items in SharePoint online list from c# console application using CSOM method, but every time it gives me only one error: "The remote server returned an error: (401) ...
P.Parikh's user avatar
0 votes
0 answers
52 views

Accessing SP List using Rest-APi

var url = serverRelativeUrl + "MyServer/_api/web/lists/GetByTitle('Test')/items"; var httpRequest = $http({ method: 'GET', url: url, crossDomain: true, ...
SPBeginer's user avatar
  • 2,547
1 vote
1 answer
133 views

SharePoint 2013 user login has changed

Wondering if anyone can help please. I have an on premise SharePoint 2013 environment which users used to access using: "DOMAIN\FirstName.LastName" however the organisation recently made a change and ...
Adam13Hylo's user avatar
1 vote
2 answers
12k views

Authenticate to SharePoint using Client Id and Client Secret with python Requests module

I would like to authenticate to SharePoint using Python and the Requests package. This is what I have so fare: from oauthlib.oauth2 import BackendApplicationClient from requests_oauthlib import ...
not_a_comp_scientist's user avatar
1 vote
1 answer
243 views

Getting Errors and have to re add user to members group in order to be able to "contribute" to the task assigned to her

Good day, Recently we been having issues with one user account specific in our environment, when the workflow assign a task to this specific user she receive the email but cannot interact with the ...
Breau's user avatar
  • 65
0 votes
1 answer
504 views

403 Error on REST call in SharePoint Workflow

I have a list called Project Log on a sub-site which need to automatically copy any item created in it to another List on the parent site called Master Project Log. This has to be accomplished using ...
JonS's user avatar
  • 764
0 votes
1 answer
3k views

Using PowerShell to connect to Project Online with CSOM under MFA

I am trying to interact with a PWA on a tenant for which I have no choice but to use MFA. I'm trying to use the OfficeDev-PnP library which supports MFA, but can't get it to work with Project Online. ...
sasfrog's user avatar
  • 314
4 votes
2 answers
6k views

Authentication in SP On-Prem -Postman

We can authenticate SP Online sites via clientid/client secret and generate access token. How can we authenticate in on-prem environment? We don't want to pass username/password to authenticate the ...
Deepmala's user avatar
  • 1,857
1 vote
1 answer
115 views

Can't get in Central Administration

Apparently within the last 3-4 weeks we lost our ability to get into Central Administration. Now when I or the other SA tries to get to the URL with port it asks us to authenticate again and doesn't ...
Ben L's user avatar
  • 21
1 vote
1 answer
2k views

Sharepoint Online Rest API - VBA - 401 unauthorized - SPOIDCRL token

I'm trying to use the rest api to get info about a doc library but keep getting 401 unauthorized - the code below worked for a bit for me but not other users now it doesn't work for me either... I ...
Ben0506's user avatar
  • 11
1 vote
0 answers
51 views

Sharepoint 2016 REST API Authentication mechanism

We have a sharepoint 2016 instance and a C# application connects to it. we need to read documents and upload documents from C# application to Sharepoint using REST Api. Would like to see the industry ...
Badri Prasad's user avatar
0 votes
2 answers
41 views

SharePoint windows Authentication with Custom Authorization

Is there any way to configure windows Authentication with Custom Authorization in SharePoint 2013/2016. We want user to be authenticated with window credentials and SharePoint objects should be ...
Ravikant Sharma's user avatar
0 votes
1 answer
104 views

Authorizing users on an on-premise service from SharePoint Online intranet

I'm reading up on SharePoint Online as a candidate for our upcoming intranet, and have a couple of questions. Let's say I need our users to access some on-premise data, and I write a provider based ...
kenneho's user avatar
  • 163
0 votes
1 answer
622 views

How to access the SharePoint REST API secured by MFA?

I want to access the SharePoint REST API secured by MFA from Powershell, it is not working? How can I achieve this?
Karthikeyan's user avatar
  • 2,548
4 votes
3 answers
7k views

SharePoint Online - Authentication issue with SharePoint Designer

I am not able to open my SharePoint online site in SharePoint Designer 2013. It is giving below authentication error while trying to open the site "Your account is in a bad state. Please sign-in to ...
Heena's user avatar
  • 41
2 votes
0 answers
367 views

Unable to login to SharePoint Online through CLI using Certificate

I am trying to authenticate into a SharePoint Online using the command prompt and Certificate instead of Username and Password. I have read their official documentation here. The command to login ...
Benjamin's user avatar
0 votes
1 answer
3k views

Authentication to SharePoint using secure authentication and CSOM in a .NET application

I'm using CSOM for making REST API calls to a SharePoint list from a C# application. This needs credentials (of course), however I've found that it needs a username and a password in plain text. ...
H. Pauwelyn's user avatar
0 votes
1 answer
45 views

Why we only get the "Stay Singed in?" dialog on IE web browsers & can we allow Single Sign-on to sharepoint online

I want to set our new SharePoint online site as the home page for the users' web browsers. and i want to minimize the number of login the users have to do each time they access the SharePoint site. ...
John John's user avatar
1 vote
2 answers
4k views

Authenticating to SharePoint from fiddler/postman fails with 401

I am trying to follow the guidance in many articles, one by Fabian williams, on how to make queries from Fiddler or Postman, but I keep getting 401 unauthorized. I have SharePoint on prem 2016, with ...
Brittany Rutherford's user avatar
3 votes
0 answers
1k views

Calling ASP.NET Web API 2 from an SPFx webpart

I am facing an issue with authenticating my SPFx webpart against an Azure AD backed Web API. What I have done so far is Created a ASP.NET WEB API 2 project. Added OWIN and configured CORS and OIDC in ...
Tanmay's user avatar
  • 517
3 votes
2 answers
2k views

Project Online CSOM without using SharePointOnlineCredentials

We have a console application running every night which updates some project plans with CSOM. This uses the SharePointOnlineCredentials for authentication. But the IT departments wants to change the ...
nvandeputte's user avatar
0 votes
2 answers
337 views

Sharepoint Online View in File Explorer

I have a client who would like to view in File Explorer, However they do not want to use Internet explorer. Idealy I will be able to make some sort of app which automatically gets the authentication ?...
Michael's user avatar
  • 179
1 vote
1 answer
1k views

Understanding Access's automagic authentication to SharePoint Online

I'm trying to automate SharePoint tasks from Microsoft Access using the REST API (since the CSOM is not available in VBA). This, however, requires me to authenticate. I usually authenticate to ...
Erik A's user avatar
  • 111
2 votes
0 answers
60 views

Login to Sharepoint 2013 programatically

My business scenario is user have logged in .Net application where I'm redirecting user to SharePoint, here I should avoid another login prompt like FBA or windows authentication, so when i redirect ...
Sivanrv's user avatar
  • 91
1 vote
1 answer
2k views

Is there a way to get CSOM ClientContext by having cookies and a Form Digest?

I have been trying to do an interesting proof-of-concept/experiment Get SharePoint user's cookies from the browser Pass these cookies to an Azure Function By having cookies only - determine who the ...
Denis Molodtsov's user avatar
0 votes
2 answers
193 views

SharePoint 2013 is keep prompting

SharePoint 2013 is keep on prompting, I see that user credentials is not being passed while trying to access an image. However, the page itself is getting loaded without any issues. Tried on all the ...
Karthikeyan's user avatar
  • 2,548
5 votes
3 answers
3k views

SharePoint 2016 ADFS authentication, people picker shows AD users and AD group, permissions dont work for AD groups

We are using SharePoint 2016 and ADFS authentication. In AD we have users and groups. In SharePoint it is possible to resolve users and groups from AD. When you share a document to an AD user it is ...
Ola's user avatar
  • 4,395
0 votes
0 answers
60 views

Authenticated users to site collection unable to open some site settings pages and modify settings

HI after recent SharePoint 2013 Cumulative updates installed in production farm authenticated users those users are owner permissions in the site collection and site collection administrators not able ...
adilahmed's user avatar
  • 2,955
1 vote
2 answers
1k views

How To use GetAppOnlyAuthenticatedContext when accessing Sharepoint Online Site?

I want to access an SPO Site without using my username and password but with ClientId And Client Secret, I followed this answer on StackExchange, see reference but when I installed the NuGet I got an ...
Joshua Dominic Sibug's user avatar
1 vote
3 answers
242 views

Windows Security Auto Login

I have this problem that one of our landing page(Wiki) in our sharepoint site has a dashboard that is getting data from a non sharepoint site and you need to login in order to view this. But not all ...
user76768's user avatar
0 votes
1 answer
49 views

Issues with logins from different domains

We currently have two domains in our environment, lets say DomainA and DomainB. Users have IDs in both domains. Userids in DomainA have been given access to our new SharePoint 2016 environment. The ...
RussGove's user avatar
  • 1,254
1 vote
1 answer
467 views

SharePoint 2013 CSOM with Mixed-Mode Authentication help needed

I maintain a Windows application that uses CSOM to allow users to check values in a SharePoint list and update it if necessary. It had been working fine using only Windows authentication. Recently ...
dogwelder's user avatar
0 votes
1 answer
1k views

SharePoint Online Auth Cookie TTL

I am using SharePoint REST web services from a third paty application. In doing so I need to obtain a SPOIDCRL cookie as described here: https://sharepoint.stackexchange.com/a/223602/60157 Once I ...
Nicholas DiPiazza's user avatar
1 vote
1 answer
1k views

Reason for "AADSTS70000: Authentication failed. Delegation blob grant is malformed" error on SharePoint

When trying to get the access_token using the refresh_token for my SharePoint site using WebRequest i get the following error "AADSTS70000: Authentication failed. Delegation blob grant is ...
Karthik Sasidharan's user avatar
0 votes
1 answer
3k views

Aquire access token via HTTP request

I'm writing a Java app that aquires a token via the provided MS utility lib called adal4j. It provides finished methods, I just need to provide the username, password, authority and my clientid. The ...
Franjo Pintarić's user avatar
6 votes
1 answer
891 views

Load / NTLM Auth / cache issue in Firefox and Sharepoint on premises

I am experiencing a very weird issue when trying to access sharepoint on premises from new Firefox version (Quantum >v60.0), (browser runnig on a windows computer). SCENARIO: Firefox is correctly ...
Alberto S.'s user avatar
1 vote
0 answers
48 views

O365 Cloud Accounts Fail To Log On When Accessing SharePoint Online URL Directly

When we try to use a @ourdomain.onmicrosoft.com account to log in directly to a SharePoint Online site we get redirected to our ADFS STS login page. This fails to log in with the correct credentials. ...
motionpotion's user avatar
  • 2,227
1 vote
2 answers
33k views

Accessing company Sharepoint via Python to modify Excel files

I wrote a small script that goes through a bunch of folders and consolidates excel files. Now I would like to use this script with files stored in our company sharepoint. Since getting support from ...
Tim's user avatar
  • 111
3 votes
1 answer
2k views

How to configure SPO to do app-only auth with PFX private key?

We are trying to set up SharePoint online app-only access. We are writing a C# application using https://github.com/SharePoint/PnP-Sites-Core The first thing we did was we (successfully) tested this ...
Nicholas DiPiazza's user avatar
2 votes
0 answers
47 views

Displaying Image on SharePoint page from another SharePoint site (Of different Farm)

We have two different SharePoint server on different farm. We want to take images from one SharePoint site library and display it on another site page. We have given URL of images on page but it is ...
Nafe's user avatar
  • 160
2 votes
3 answers
11k views

Connect-SPOService with OAuth2.0 fails in SharePoint Online PowerShell

anyone knows a solution for Connect-SPOService on SharePoint Online PowerShell. So I need to use Set-SPOSite and before I can use that I need to do Connect-SPOService first. PS C:\WINDOWS\system32&...
Franz Justin Buenaventura's user avatar
1 vote
0 answers
184 views

Question with Authentication

SO I'm looking for a way to force the login screen to sharepoint WITHOUT downloading any list information, I have two methods that I use to pull information via vba to my excel workbook. currently I ...
Mike's user avatar
  • 11
4 votes
1 answer
3k views

What is SharePoint (on-prem) authentication realm?

Could anyone clearly explain what is Sharepoint authentication realm (the one set by Set-SPAuthenticationRealm cmdlet)? In what cases do I need to set this realm equal for 2 (or more) farms, and in ...
Burst's user avatar
  • 223
0 votes
1 answer
205 views

Unable to access the main site collection (inside SharePoint on-premises server) outside the server network

I am facing this problem inside our customer's on-premises sharepoint server 2013:- when i try to access the main site collection using the servername http://serverABC/, from the sharepoint server ...
John John's user avatar

1 2
3
4 5
15