Questions tagged [authentication]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

Modern Authentication, do we need to change something in C# CSOM?

I heard that MS will use only "modern authentication" later. We have some apps on our servers that connect to SharePoint Online and use CSOM. Will this code-snippet continue to work, or we ...
0
votes
0answers
12 views

Downloading files from third-party public group using REST API

A SharePoint short URL has been provided from third party: https://{tenant_name}.sharepoint.com/:f:/s/{site_name}/{tokenized_path_element}?e={short_token} Accessing it via browser gives me an ...
0
votes
0answers
8 views

Does IHttpModule work with JavaScript app?

I am going to implement IHttpModule for sliding session (SharePoint) but I am not sure if it will be solution for the application which is built on top of the sharepoint. In other words, if I am not ...
0
votes
0answers
15 views

Unable to map SharePoint folder or access it via an Excel macro unless SharePoint is open in Internet Explorer

I posted a similar question on Stack Overflow a while ago, but didn't get any responses so far so thought I'd try here. Basically, I'm using an Excel macro to download a few files stored in a ...
0
votes
1answer
32 views

is it possible to add an oauth2 based user authentication provider to sharepoint server

I should start by saying this is the first time i'm dealing with sharepoint user auth. One of my customer requires users from different identity providers to be able authenticate their users to ...
0
votes
0answers
41 views

Obtain FedAuth Cookie with REST access token for Sharepoint Online

My goal is to create a small "Link-Checker" application. This application should be able to find broken links on any web page. One major issue that I'm facing is how I can check links to our ...
0
votes
1answer
50 views

SharePoint CSOM with .net standard | Credentials vs App

I am trying to understand how the authentication works using a .NET core application to O365. The article here describes it: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/using-csom-for-...
0
votes
1answer
61 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
0answers
19 views

Consume SharePoint REST API in another host

I try to consume SharePoint Rest API in my another web site (assume http://localhost/). I browse internet more than two weeks but I couldn't find something straight forward for this needs. I try to ...
0
votes
0answers
24 views

Making OAuth-authenticated cross-domain REST API calls to 2016 on-prem

My question is exactly this question, but specifically this part: how to use OAuth in SP 2016 on-prem from JavaScript? Which authentification endpoint must be used? Which flows are supported? We are ...
0
votes
0answers
17 views

Could not load file or assembly 'Microsoft.SharePoint.Client.ServerRuntime' if Owin Automatic App Startup is true in Web API

I'm trying to implement Web API authentication using Microsoft.Owin. This Web API contains SharePoint 2019 CSOM libraries (Microsoft.SharePoint.dll & Microsoft.SharePoint.Client.Runtime.dll) that ...
1
vote
1answer
47 views

Powershell CSOM with PnP AuthenticationManager: flush credentials

I've been using an OfficeDevPnp.Core.AuthenticationManager for a long time, in order to support MFA for PowerShell scripts targeting SharePoint Online with CSOM. For my current task, DEV is on tenant-...
0
votes
0answers
42 views

Getting access token for SharePoint

This is intended to work for multiple SharePoint tenants using https://login.microsoftonline.com/common/oauth2/authorize to grant consent for the tenant for my application to access SharePoint. I have ...
0
votes
0answers
22 views

FBA roles permission in Sharepoint 2013

I've configured FBA with Sharepoint 2013. The FBA is connected with Microsoft Active Directory and I'm able to add FBA Roles (AD Groups) and FBA users (AD users) in Sharepoint. The permissions work's ...
0
votes
0answers
19 views

Experience with InCommon federation and SharePoint?

Wanted to know if there is anyone out there in the education world that has used InCommon federation with SharePoint? Would love to know if it works and how it works. Could you still use MySites?
0
votes
1answer
38 views

Kerberos Authentication not working in IE

We enabled Kerberos authentication for our on -premise SharePoint web application. After enabling kerberos, users are able to access the sites in Chrome without issues. However in Internet Explorer, ...
0
votes
2answers
36 views

Authentication issues for SharePoint online in desktop apps

I was working on a custom approval workflow for a site in SharePoint designer... at the point in the action when you designate the approver(s). Note that I am able to load the site and access most ...
0
votes
0answers
34 views

System.UnauthorizedAccessException while trying through rest api.I am trying to get list of files in the folder

I have a sharepoint url access from front end and i am trying to access it through REST API in python url = "mysharepoint_url/_api/web/GetFolderByServerRelativeUrl('" + folder + "')/Files" header = {'...
0
votes
0answers
17 views

One Web front end displaying blank page

Our SP 2013 farm was patched with windows updates recently and one of our web front end servers is displaying a blank page. We've disabled logins to this server now so all users are logging into the ...
0
votes
1answer
9 views

Can't Create Session

I am trying to update a custom authentication page from SharePoint 2010 to 2013. It basically takes credentials from a CAC card and creates them a user account in FBA if they didn't already have one ...
1
vote
1answer
228 views

How to authenticate a Java Job at Sharepoint Online

I want to manupulate (read, write, delete) files in a document library of my sharepoint (hosted at Sharepoint Online). Ultimately this will be Part of a Java Webapplication where a backend job runs ...
0
votes
1answer
10 views

Is the authentication method using saml going to be deprecated

We are considering how to correctly authenticate our application with Sharepoint. The simplest option seems to be by getting a SAML token, as it just requires a username and password and there are ...
1
vote
4answers
220 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
0answers
27 views

Can't authenticate client

I've been trying to connect to my sharepoint for a while now and it just won't work. I've tried many different thing but eventually ended up with this code: private static readonly HttpClient client =...
0
votes
0answers
11 views

Unexpected redirect during authentication

We are using SP 2016 On Prem with ADFS We seem to have an unexpected issue. Our users are intermittently redirected second time to ADFS. So instead of going to /authenticate after /trust, it is ...
0
votes
1answer
24 views

CORS and pre-flight OPTIONS - Disable authentication for single page

I'm struggling with a CORS request to our SharePoint 2010 server. It seems that the CORS request to the SharePoint server requires authentication, which the pre-flight of the CORS-request does not ...
0
votes
0answers
80 views

An exception occurred in AD claim provider when calling SPClaimProvider.FillResolveClaim

2013 on prem farm with Active Directory claims authentication and 2012 R2 Servers. Certain people are unable to open items in lists that they have submitted items to. Other's, including myself, ...
0
votes
1answer
53 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 }) { ...
0
votes
0answers
103 views

Office 365 Client refuses access to Documents in SharePoint 2016

We are currently in the process of migrating our users from Office 2016/2019 clients to the new Office 365 Client Suite to get them ready for Microsoft 365. Some of our users (but not all of them!) ...
1
vote
1answer
55 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 ...
0
votes
1answer
37 views

Different login pages for different IPs

I am new to working with SharePoint, as I Co-op student I have been tasked with helping my team move from SharePoint 2013 to 2016. They have wasted quite a bit of time on this issue and have now ...
4
votes
1answer
736 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
0answers
24 views

Remote User Authentication SP 2016

I'm trying to create an item in SP 2016 remotely using user authentication. I found a great guide for doing this in SP online (https://paulryan.com.au/2014/spo-remote-authentication-rest/) however I ...
0
votes
0answers
30 views

How to authenticate with the newest SharePoint using SOAP?

I would like to authenticate using SOAP XML. I found this resource which appears to be the preset for authenticating with SharePoint, which is apparently 7 years old and the http://schemas.microsoft....
0
votes
0answers
15 views

change from sharepoint 10 to sharepoint online

We developed .Net component which runs on a windows server and writes to Sharepoint 10. We need to change it to write files to Sharepoint Online. Before we were using Microsoft.Sharepoint.Client.dll ...
0
votes
1answer
201 views

SP Online Export to Excel displays error

In On-Prem sites, Export to Excel is working fine. But in SP Online sites, Export to Excel displays the below error: "the server you are trying to access is using an authentication protocol not ...
0
votes
1answer
162 views

Basic authentication usage report for apps for sharepoint online

I have a requirement where I need to identify if there are any apps in our tenant that use basic authentication. Or if I have an app , I need to identify if that app is using basic authentication ...
1
vote
1answer
239 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
29 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
75 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
180 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 ...
2
votes
0answers
90 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
17 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
281 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
399 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
32 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
443 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
179 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
101 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
99 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 ...

1
2 3 4 5
14