Skip to main content

Questions tagged [authentication]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Sharepoint online authentication simply doesn't work

I have a method like this : string siteUrl = "https://yourtenant.sharepoint.com/sites/yoursite"; string userName = "[email protected]"; string password = &...
0 votes
1 answer
1k views

Rest API authentication

I need to use the SharePoint Rest API from a custom JavaScript application (outside from SharePoint). How can I authenticate the user to use the Rest API. I can not deploy a SharePoint app, I need ...
2 votes
1 answer
5k views

Exception of type 'System.ArgumentException' was thrown

I'm on 2010 Sharepoint. some users get the error when they're logged in with "remember me" checked and being inactive for more than 2 days. we have the cookies set to expires after 2 days and it ...
0 votes
1 answer
2k views

How to Sign-In with Sharepoint from the Javascript?

I used the following code to access the sharepoint from javascript var soapDataString = "<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/...
3 votes
1 answer
5k views

SSRS data source: Can't use stored Windows credentials, "SharePoint does not use Windows authentication"

I'm running a single-server deployment of SharePoint 2013 and SQL Server 2014 with SSRS in SharePoint-integrated mode. When trying to set up a subscription for a new report, I get a popup saying: ...
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 ...
2 votes
1 answer
2k views

Get FedAuth when authenticating to SharePoint Online via Office 365 from a remote website

I have a .NET website that allows viewing files located in SharePoint Online, among other clouds. So far we used asked the users for the SharePoint site address, the username and the password in order ...
2 votes
1 answer
3k views

How to connect office 365 site having MFA using c#

I need to connect Office 365 site using console application(c#). but the problem is office 365 tenant having MFA(Multi Factor Authentication) authentication. How can i connect to specific site ...
0 votes
1 answer
8k views

VBA Autheticate to SharePoint Office 365

I tried to follow the base instructions using this post (as it was the only one I could find) http://www.sharepoint-insight.com/2016/03/21/step-by-step-sharepoint-online-authentiaction-process-via-...
1 vote
2 answers
5k 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 ...
0 votes
0 answers
16 views

How to enable HTTP Basic Auth?

Due to having a reverse proxy in front of my SharePoint server, I would like to use HTTP Basic Auth instead of NTLM auth. (I know credentials are transmitted in plain then but I am using SSL and the ...
2 votes
1 answer
3k views

Java Authentication with Office 365 Sharepoint

I have an application that I tested out with a self-created SharepointServer based on an Active Directory environment. For this I used the following code to authenticate with the Sharepoint server(...
0 votes
1 answer
2k views

The Error validating credentials due to invalid username or password comes up when trying to upload files to SharePoint by a python script

I am trying to upload files to a SharePoint folder structure which has been already created, I have used two files for this Config_template: config = dict() config['sp_user'] = '[email protected]' config['...
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 ...
0 votes
1 answer
2k views

PasswordNotMatch error in authentication.asmx web service

I am trying to authenticate to SharePoint site using the authentication.asmx web service. The code is as below. public bool Authenticate() { String username = "......"; String password = ...
1 vote
1 answer
2k views

SharePoint 2016. How to ensure Kerberos authentication is working properly

How to ensure Kerberos authentication for SharePoint 2016 is working properly? HTTP headers show that Kerberos is used, but klist did not show ticket for SharePoint site. What does it mean? Details ...
1 vote
4 answers
6k views

Authentication and Reading Sharepoint online List from C# Code

I would like to read lists and contents in pages folder from SharePoint Online. I come across this post. But this uses Username and password. is there a way to read contents without using username/...
1 vote
3 answers
5k views

Sharepoint Designer 2013 authentication problems

My company uses O365 SharePoint sites that I would like to be able to edit using SharePoint Designer 2013, however I am experiencing some problems making it work. I open SharePoint Designer 2013 and ...
1 vote
1 answer
2k views

Upload File to Sharepoint without storing Username/Password

We want to upload files to SharePoint as part of CI/CD in Github (Actions). I've found how to do this using REST api, but that requires username/password. Also bearer tokens work, but we need a ...
1 vote
1 answer
3k views

Get users from LDAP and authenticate in SharePoint Online

I have a SharePoint Online site, where users are in LDAP but not in SharePoint. How to get users from LDAP and connect to SharePoint Online site. I appreciate if any one have any ideas on this and it ...
0 votes
0 answers
200 views

External Microsoft users in Azure stuck in login loop when attempting to access SharePoint site

For the past 6 weeks or so we’ve had an issue with External users getting stuck in an MFA loop. At first, it appeared to be users that had a Microsoft account (Outlook.com or Hotmail.com). Then it was ...
8 votes
2 answers
48k views

The remote server returned an error: (403) Forbidden

I am developing a C# console application on my local computer running on Windows 8. My target SharePoint server is SharePoint Online on Office 365. I am trying to get the web site name using web.Title ...
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 ...
1 vote
1 answer
3k views

SharePoint API: Invalid Access Token Resource

I am trying to obtain an access token for use with the SharePoint Rest API. For my organizations base site. I am able to obtain a token and use that token to make subsequent requests successfully. ...
0 votes
1 answer
4k 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 ...
1 vote
2 answers
6k views

SharePoint sign out not working in Google Chrome

We have an Extranet SharePoint environment published in Internet for our clients. The issue is that if the user is using the Chrome browser and even if they select "Sign Out" or just close the browser,...
2 votes
2 answers
3k views

- DisableCustomAppAuthentication Parameter not found on Sharepoint Command set-spotenant -DisableCustomAppAuthentication $false

I want to enable custom app authentication by disabling the tenant property -DisableCustomAppAuthentication on SharePoint online I have tried the below commands but I am getting error parameter not ...
2 votes
3 answers
2k views

Equivalent for Authentication.asmx in SharePoint 2013

Everyone knows that SharePoint has a web service (ASMX), called Authentication.asmx, which is a good web service for doing authentication. It has a method called Login, which takes username and ...
8 votes
3 answers
2k views

How to implement 2 factor authentication in Sharepoint 2010?

Can anyone please mention how to implement 2 factor authentication in Sharepoint 2010? I have been reading alot of stuff. but can not figure out what exactly should I do first. Can anyone atleast ...
0 votes
1 answer
313 views

"Everyone except external users" - no results found

Until recently, I was able to grant access to all authenticated users in my tenant through the Everyone except external users role. This morning, I get a No results found message. Anything changed ...
1 vote
0 answers
298 views

Showing a SharePoint site inside a Windows Kiosk session

I would like to display a private SharePoint site on a "public" display inside my company. We're using a solution which requires me to use a Windows Kiosk session. Can I grant the "...
32 votes
6 answers
145k views

SharePoint Online REST API Authentication In POSTMAN

I am trying to authenticate with the REST API for a list in SharePoint Online using POSTMAN. For example, the URL for my site looks something like this: https://mytenantname.sharepoint.com/sites/...
0 votes
0 answers
42 views

Return User Roles from Azure App Registration when Authenticating from SPFX with AadTokenProvider

I have the following code on my web part: import { AadHttpClient, AadHttpClientFactory, AadTokenProviderFactory } from '@microsoft/sp-http'; const factory: AadHttpClientFactory = this.context....
0 votes
0 answers
58 views

Error Connecting to SharePoint 2019 via CSOM

We are getting a 403 error when trying to connect to a SharePoint 2019 site via CSOM in one of our environments. The accounts being used have the correct permissions and I am able to connect to the ...
0 votes
0 answers
115 views

Creating a SharePoint signed URL

The below is the SharePoint URL to access the required document: https://companyName.sharepoint.com/_api/web/GetFileByRelativeUrl(%27/companyName%20ABC/contact/fileName.jpg%27)/$value But pasting the ...
50 votes
5 answers
79k views

NTLM vs Kerberos

I just want to know the difference between NTLM and Kerberos. When to use NTLM and Kerberos and when not to use it? Why do you need to use Kerberos for authenticated feeds? Our admin is asking me why? ...
0 votes
0 answers
240 views

SharePoint 2019 on-premise constant login prompts in Edge

Recently upgraded to SharePoint Server 2019 from 2013 Foundation. All seems to be working ok in Chrome, but when in Edge we can only log in using DOMAIN\username format, otherwise we get constant ...
0 votes
0 answers
167 views

Trying to get access token in SharePoint on-premises 2016 but getting 401 unauthorized error

We are trying to get an access token in SharePoint on-premises 2016 server version. Creating an app successfully using these steps in our SharePoint on-premise 2016: https://learn.microsoft.com/en-us/...
0 votes
0 answers
21 views

How to ask user to reauthenticate for sensitive operation in a SPFX webpart?

I'm building a SPFX webpart that perform some sensitive operation when a button is clicked (document approbation for example). Is there any way to ask the user to reauthenticate to "sign" ...
0 votes
1 answer
233 views

Problem with OneNote and SPO sync,

I have a problem with OneNote and sync (and opening unsynced OneNote) with OneNote File stored in SharePoint Online. I receive this error: Microsoft OneNote We couldn't open that location.[OneNote ...
1 vote
2 answers
194 views

PNP script to get all subsite in a single site collection, please with MFA for SP online

Found plenty of scripts but they are not with MFA. MFA is a standard now, do not understand why people insist of creating scripts not considering that. Can someone help?
0 votes
2 answers
444 views

Service account with MFA enabled , how to transfer the membership/ownership to the client after completing the project

I am working on a project for external client >> and I needed to create some SharePoint lists, solutions & Power automate flows. Now they gave me a service account username/password, and the ...
5 votes
1 answer
291 views

Accessing Graph API from a SharePoint web part without an additional authentication

I am creating a webpart for SharePoint Online which accesse the user's calendar through the Microsoft Graph API. In order to get the access_token, my webpart needs to open a new browser window where ...
6 votes
1 answer
6k views

Use App Password to Authenticate with PowerShell PnP

Suppose you have a tenant with MFA enabled. The same tenant allows users to create private app passwords like on the screenshot below. Question: Is it possible to use this app password to ...
0 votes
1 answer
597 views

How to move from basic to modern authentication in my existing CSOM powershell script?

I have a big CSOM powershell script which is using basic authentication. This script is scheduled to run every day. This script is using credentials of a serviceaccount without MFA. We would like to ...
2 votes
0 answers
49 views

Authentication for REST calls in SharePoint online

We have an external application that makes REST calls to SharePoint on-premises using basic authentication (user and password). This SharePoint have been recently moved to SharePoint Online and since ...
0 votes
2 answers
640 views

How can I know the Powershell credential request username and password?

I've been trying to run different PowerShell scripts to get all or subsites that are into a site collection, however when I run this ask for the Windows PowerShell credential that haven't able to ...
0 votes
2 answers
44 views

Cannot authenticate school user Office 365 account when attempting setup OneDrive on Windows 7 PC

Have downloaded OneDrive to a Windows 7 machine (eventually will be replaced by Windows 10 machine after migrated data to OneDrive). I could migrate data using a USB attached hard drive but I need to ...
0 votes
3 answers
5k views

Claim Based Authentication Error "The value is neither a claim user name nor a claim user name suffix"

In my SharePoint farm, I have form based authentication enabled as well as Windows authentication. All works fine, but in some scenario, when I login, and hit the logout and try to login again at some ...
0 votes
2 answers
4k views

Connect-PnPOnline : AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-

I have this script to connect to a SharePoint online site using username & password: $encpassword = convertto-securestring -String "********" -AsPlainText -Force $cred = new-object -...

1
2 3 4 5
15