Questions tagged [authentication]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
22 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 ...
0
votes
0answers
17 views

Unattended on-premise web application authentication with SharePoint Online not working

We are using an on-premise web application that uses these SharePoint web services: Copy.asmx, Dws.asmx, Lists.asmx and Webs.asmx to access SharePoint to enumerate sites/folders and upload/download ...
0
votes
0answers
18 views

SPFx WebPart in Microsoft Teams tab AAD token error

I have a Microsoft Team's application, that is an SPFx webpart that is installed on the underlying SharePoint site. The app is surfaced on a Tab. For the last few days I am unable to authenticate ...
1
vote
1answer
30 views

Error retrieving items from large list, although the CAML query has a row limit

I'm able to use a console application to connect to a SharePoint Online large list (more than 5,000 items) and retrieve the title. However, even though my CAML query has a row limit, I still get an ...
1
vote
0answers
23 views

How to login via ADFS to SharePoint via REST API

I cannot seem to remotely authenticate via a REST API script for a SharePoint 2016 on premise installation that is using ADFS for authentication. In my case, I am using remote queries using ...
1
vote
0answers
16 views

Leverage azure app appid appsecret on differet sharepoint tenants

I am developing some api running on azure function app. This api may connect to different sharepoint sites ( even on different tenants ) and perform certain actions. Regarding the api authentication,...
3
votes
3answers
46 views

SharePoint Online credential is not working in PowerShell

I am able to log in to my SharePoint online site using my credential but when I am connecting to the same SharePoint online site using the same credentials using PowerShell CSOM - getting the invalid ...
0
votes
1answer
41 views

Authentication methods for SharePoint REST API

Let's say I work in company AAA and want to automatically upload documents to BBB's company SharePoint Online application https://BBB.sharepoint.com using REST API. My email username@AAA.com is ...
0
votes
1answer
20 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 ...
0
votes
1answer
17 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
0answers
42 views

Provisioning Microsoft Teams from azure function via pnp powershell

I am provisioning Teams via PnP powershell and it requires -Scopes. The only way to get -Scope is through interactive log in. This further means (which i am thinking) is that you can not use "Apply-...
0
votes
1answer
17 views

Authenticate to Microsoft Teams

Trying to connect to Microsoft Teams with app only azure AD authentication with the following command: Connect-MicrosoftTeams -ApplicationId GUID -CertificateThumbprint "thumbprint" -TenantId GUID ...
0
votes
0answers
43 views

“Specified method is not supported.” error when trying to log in with ADFS

I am trying to configure a web application in a SharePoint environment to use ADFS as a login provider. I have followed the steps in this TechNet blog post and it all seemed to go well until I try to ...
0
votes
0answers
39 views

How to unlock Microsoft Authenticator

When I start Microsoft Authenticator, the message 'Authenticator locked' appears When I press Unlock, the Verify Identity screen displays Unlock to continue. What should I enter here and what should I ...
0
votes
0answers
20 views

Getting error to connecting power apps on Sharepoint online

I am trying to create a PowerApp using SharePoint online list. But getting below error related to authentication:
1
vote
1answer
20 views

how to avoid hard-coding of client credentials in browser(front-end) for external web application when posting to SharePoint Online

I am able to successfully upload a file from external web application(SAP UI5, a javascript based framework) to SharePoint Online using SharePoint REST services. I have registered the app as a '...
1
vote
3answers
137 views

Connect-SPOService : Could not authenticate to SharePoint Online

I am unable to connect to SPO from SharePoint online management shell using my account. MFA is enabled. I'm executing the following command: Connect-SPOService -url https://[URL].sharepoint.com ...
1
vote
0answers
88 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
11 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 ...
0
votes
0answers
17 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 ...
0
votes
2answers
17 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 ...
1
vote
0answers
29 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 ...
0
votes
1answer
562 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) ...
0
votes
0answers
32 views

I am trying to get Security Token in sharepoint authentication using Java

I am trying to get Security Token in sharepoint authentication using Java. Code I am using: public String buildSecurityTokenRequestEnvelope() { String envelopeTemplate = "<s:Envelope ...
0
votes
0answers
18 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, ...
1
vote
1answer
41 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 ...
0
votes
1answer
305 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 ...
1
vote
1answer
49 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 ...
0
votes
1answer
59 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 ...
0
votes
0answers
49 views

SP 2019 site collection subsites and site settings clicks showing odd errors

I am working with SP on prem 2019. On a web app, I have classic site collection added as root. For some reason, I am seeing odd behavior, see summary below: Sometimes, upon accessing the root site ...
0
votes
1answer
324 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. ...
4
votes
2answers
141 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 ...
1
vote
1answer
52 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 ...
1
vote
1answer
312 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
95 views

Encounter 401 error when try to update a list item using Python

So I am trying to write a Python script that will be able to update a list item in company's SharePoint (intranet), and for some reason in the script when I do the "post request" (for updating item) ...
0
votes
0answers
21 views

Re-authenticate user on a custom button click in a SharePoint Online list form

I have added a custom HTML button on a SharePoint list item edit form. On this button click, I would like to force re-authenticate user by standard SharePoint login process without navigating away ...
0
votes
2answers
22 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 ...
0
votes
1answer
25 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 ...
0
votes
1answer
124 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?
0
votes
1answer
581 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 ...
2
votes
0answers
101 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 ...
0
votes
1answer
348 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. ...
0
votes
0answers
54 views

CSOM SharePoint authentication via cookies

currently i'm working on CSOM SPO, I have requirement not to store account password or app secret for NET Core application. Is there a way to authenticate by using Windows Authentication / ADFS? I ...
0
votes
1answer
36 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. ...
1
vote
2answers
463 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 ...
3
votes
0answers
735 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 ...
3
votes
2answers
617 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 ...
0
votes
2answers
126 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 ?...