Questions tagged [authentication]

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

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

How to bypass Authentication and Enabling Cookies requirements for mobile (IOS) PowerApps form

So I my company has a basic PowerApps form for users to be able to fill out and submit information. One of the main requirements for this is for users to primarily be able to access and complete the ...
0
votes
0answers
9 views

Randomly Prompted for User Credentials

SharePoint 2013 - 4 server farm with 2 WFE. We recently migrated all our users to a different domain while the farm remained in it's existing domain. We used the Move-SPUser command to migrate our ...
1
vote
1answer
84 views

Authenticate to SharePoint online inside our console application if we have SharePoint app-only permissions disabled

On old created Office 365 tenants I use to authenticate to SharePoint online inside our C# console application using this code: static void Main(string[] args) { string siteUrl = &...
0
votes
0answers
36 views

SharePoint 2013 and ADFS - Redirect-URL is lost after returning from AD FS Page

we have a Windows Client Application which uses CEF-BrowserControl to display our SharePoint 2013 Portal (NewForm, EditForm,...). Sometimes when the application navigates to a Url of the SharePoint-...
0
votes
0answers
16 views

Login O365 with Linkedin

We just figure out that Azure AD B2C doesn't allow login on O365 Apps ; Microsoft seems not to be intended for B2C in Office 365 and suggests to take a look at B2B feature.. Our goal is make a ...
0
votes
0answers
8 views

Sharepoint API - 401 while authenticating ANT account with full control

We are trying to achieve programmatic access from a Python3 script, to a Sharepoint site that we own. On our SP site, we have given full control to a ANT\robot-system-account system account. The ...
0
votes
0answers
15 views

An error occurred while retrieving token from XML response: AADSTS90023: Invalid STS request

I have an issue with my AD account. I tried using Python to access SharePoint list folder. But I am facing an issue, as given below. This is error: An error occurred while retrieving token from XML ...
0
votes
0answers
23 views

Latest example of how to authentication to SharePoint online CSOM using Microsoft.SharePointOnline.CSOM version 16.1.21312.12000

I used to login to SharePoint online using this c# code snippet: var sharepointOnlineCredentials = new SharePointOnlineCredentials(username, securePassword); var httpHandler = new HttpClientHandler(); ...
1
vote
0answers
41 views

How do you download the actual HTML content of a SharePoint Online page using OAuth credentials (Bearer token)?

How do you download the actual HTML content of a SharePoint Online page using OAuth credentials (Bearer token)? I want to download the HTML content from here: https://mytenant.sharepoint.com/sites/...
1
vote
0answers
19 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 "...
0
votes
0answers
52 views

How do I access SharePoint 2019 on-premises list data to Native React mobile app(Not SPFX WebPart)?

I want to access SharePoint 2019 on premises list data and do CRUD operation on it into react native mobile app. How do I do this using REST API(Without sending user name and password - Single sign on ...
0
votes
1answer
429 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'] = 'abs@xyz.com' config['...
0
votes
0answers
12 views

How to use DoesUserHavePermissions in Project C# Sharepoint Web parts

The first time I made a SharePoint project, I reached the step of decentralization, but I didn't know where to decentralize. bool userPermission = spList.DoesUserHavePermissions(currentUser, ...
1
vote
0answers
97 views

How to determine user logged in and session not expired in SharePoint using JavaScript

I created a clientside application for SharePoint using javascript and jquery. We use Rest API for CURD operation on SharePoint Data and config Idle Session Timeout for the inactive user. After a user ...
2
votes
0answers
35 views

Suddenly failing to authenticate against SharePoint online after the weekend April 10-11

After the weekend (10-11 of April) I suddenly started failing to authenticate against multiple Sharepoint Online tenants with an app hosted in Azure using an AppId and Secret. Through fiddling with ...
0
votes
1answer
70 views

Sharepoint 2019 - Adfs and NTLM - strange behaviour

We have a SharePoint 2019 on premise installation. We use ADF authentication to provide federate auth. To keep search working we also have NTLM enabled. On our main web application, we have two zone, ...
0
votes
1answer
29 views

How do I get Workflow Manager to automatically authenticate against my custom web service the same way it does against the built in SP REST API?

Related to this question. Also, full disclosure - I have only developed a very few custom web services, and have very little experience with .NET outside of SharePoint, so I am very unfamiliar with ...
0
votes
1answer
72 views

InvalidOperationException: Could not get algorithm from X509AsymmetricSecurityKey to make Client Context for SP 2016 in VS 2019

I'm trying to create a context to SP 2016 site with the help of a certificate using following piece of code: OfficeDevPnP.Core.AuthenticationManager othManager = new OfficeDevPnP.Core....
0
votes
1answer
32 views

What permissions are required to invoke a custom WCF web service deployed to the ISAPI folder (exposed through /_vti_bin/)?

Related / follow up to this question. Because a site's email settings (SMTP server, "from" address, etc.) are not available through any client-side APIs, I created a mini WCF web service ...
0
votes
0answers
92 views

Sharepoint 2019 on-premises authentication against external sso provider (SAML1.0 or OIDC 1.0)

We have to authenticate Sharepoint 2019 on-premise users against an external oidc provider which provides OpenID Connect 1.0 and SAML 2.0. As far i know Sharepoint 2019 doesn't support OIDC and only ...
0
votes
0answers
13 views

C# WordAddIn connect to Sharepoint

I am trying to write a word-addin in visual-studio that pulls content from a sharepoint list. When I execute it I get a "System.Net.WebException 403 forbidden" issue. Full message: System....
0
votes
0answers
17 views

Attempting to obtain Access Token in Sharepoint API 2.0 returns empty content

My ultimate goal is to set up programmatic access to our SharePoint file storage so that our code can write files to the site directly. To this end, I've been testing the SharePoint API under the ...
0
votes
0answers
466 views

C# CSOM PnP AuthenticationManager Connection Issue

Environment: SharePoint Online (Office 365) Visual Studio 2019 .NET Framework 4.5.2 SharePoint PnP Core Online 3.8.1904 Microsoft SharePoint Online CSOM 16.1.8715.1200 I created a console ...
0
votes
2answers
56 views

Sharepoint 2016 service account change

Some years ago I created this simple architecture: Virtual machine A: sharepoint 2016 on premises - single server in farm Virtual machine B: sharepoint database is MS SQL Server (Version 12.0.6433.1) ...
0
votes
4answers
100 views

Authentication with SharePoint Online in Microsoft 365 and simple console application

I need your help with my small application. I need to create easy console application which will sign into SharePoint Online and download some documents from library. When I am doing this on older ...
1
vote
2answers
34 views

REST API: Send Auth only for the one request

I'm working on a little SP On-Premises 2016 project. I have to make several request to different Site-Collections in the farm. I'm making those requests with an Ajax-Call inside a Script-Editor ...
2
votes
1answer
259 views

What the difference between these endpoint to authenticate RST2.srf vs extSTS.srf?

We use two endpoints https://login.microsoftonline.com/extSTS.srf and https://login.microsoftonline.com/RST2.srf to authenticate. Can anybody explain to me the difference between them?
1
vote
0answers
117 views

Getting ClientContext in SharePoint CSOM

I am developing several Azure Functions using the CSOM API for SharePoint. The main functionality is creating PDF's for various purposes and uploading these to SharePoint with CSOM. I have followed ...
1
vote
1answer
85 views

Initialising spfxContext for a different user in pnp/sp

I'm trying to build an spFx app, that uses a different user to access lists and libraries than the logged in user. The logged in user won't have the permissions to access the lists directly but only ...
0
votes
0answers
50 views

Cannot open word document in SharePoint 2013 document library using client application

When clicking the link for a document from SharePoint 2013 document library in either Chrome or Edge browsers, I get an error that says "Sorry, something went wrong" in a dialog box. It also ...
0
votes
0answers
161 views

Getting Error while trying to upload a file on Sharepoint API

While I am trying to upload a file on SharePoint I am getting the below error message with 401 response code. With older SharePoint, we were able to upload the file but for the newly created Site, we ...
0
votes
1answer
44 views

SharePoint Online Active Authentication with Two Factor Authentication

Is there a way to make the implementation suggested by Vitaly Lyamin, working with Two Factor Authentication? https://docs.microsoft.com/it-it/archive/blogs/sharepointdevelopersupport/sharepoint-...
1
vote
0answers
220 views

SharePoint Online Authentication Types how do they work

I am trying to figure out how the different authentication types in SharePoint online work. I am doing this research because I want check the impact of disabling legacy authentication in my tenant. ...
0
votes
1answer
167 views

SharePoint online authantication when using SharePointOnlineCredentials

When I connect to SharePoint online using SharePointOnlineCredentials what type of authentication am I using? I don't think it is oauth. Also the legacy authentication is being discontinued by MS. So ...
0
votes
1answer
21 views

Migrated form Sharepoint to SP Online Authentication fails after migration

We are migratetd to Sharepoint online and now my code do not work. the Authentication fails and I becom eroor and no the list of items in my API or i can't save a new Item. public class ...
1
vote
1answer
1k 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
81 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
247 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
41 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
1answer
445 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-...
1
vote
1answer
795 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
201 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 ...
1
vote
1answer
399 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
2answers
133 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
83 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
1answer
35 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
2k 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
14 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
2k 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
59 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 =...

1
2 3 4 5
14