Questions tagged [credentials]
Credential is a security clearance to access content in SharePoint.
94 questions
0
votes
2
answers
375
views
SP 2019 CSOM Console App
I am trying to develop a CSOM console app for a SharePoint 2019 site and I'm having trouble authenticating.
I've tried:
context.Credentials = new NetworkCredential("username", "password&...
0
votes
1
answer
157
views
SharePoint 2016 on premise asking for credentials for 1 specific site
SharePoint 2016 on premise with Office 2016. This issue suddenly came up a week ago with no changes with permissions or configuration changes on Central Admin for only 3 users. We have hundreds of ...
0
votes
2
answers
1k
views
How to replace an expiring Client Secret without risking downtime?
I am managing a Provider-Hosted SharePoint App/Add-in and the Client Secret that we use to authenticate with SharePoint is due for expiration soon. 3 years ago, when the previous Client Secret was ...
0
votes
2
answers
722
views
Configure SharePoint 2013 to use external SMTP relay service with credentials
Our company has an existing onsite SP2013 farm that currently uses an internal mail server for SMTP. That server is being retired and I've been given an external SMTP relay service to use instead. I ...
0
votes
2
answers
2k
views
Proper format for username when passing credentials to SharePoint online in CSOM
I'm trying to connect to SharePoint online to read list data. Problem - I need to use a service account since these accounts have passwords. The credentials class needs a password and our user ...
1
vote
2
answers
51
views
Steps to change web application host header (duplicated question) - share point designer 2013 doesn't work
on this link help how to change web application host name. this is ok.
but after change, why i can't login to web application with share point designer. when open share point designer and type new web ...
1
vote
1
answer
71
views
How to invalidate client credentials using CSOM
I need to implement option in Xamarin.Forms app to sign in as different user to remote SP web site.
But the problem is no matter what username and password are used SP2013 server always authorize ...
0
votes
2
answers
4k
views
Authentication to Sharepoint Online stopped working
I have a C# app using CSOM (latest version v16.1.19223.1200), and it worked fine until about mid-Aug-2019. I verified that the actual password is still valid.
Code:
using (var context = new ...
0
votes
3
answers
114
views
Use a nonlicensed account to access a sharepoint folder?
I am considering using SharePoint to backup some important files (not a lot of data). However, I don't want to hard-code my credentials into our backup scripts. I also don't want to pay 10 bucks a ...
0
votes
1
answer
425
views
Credential-connect to project server 2016
I get an error in thecontext.ExecuteQuery();line while trying to connect to the server.
Console.WriteLine("Please enter your username for PWA");
userName = Console.ReadLine();
...
1
vote
1
answer
111
views
Fim error while running synchronization. - Invalid credentials.
When i am running user profile synchronization, i am getting the below error in SharePoint 2013. The screen shot is from Synchronization service manager. How to resolve the below error?
1
vote
0
answers
24
views
Workflow 2013 http request with credentials
I have a C# WebApi2 endpoint with CORS and SupportsCredentials activated. What I'm trying to do is to call this endpoint from a Workflow. How do I pass the credentials?
0
votes
2
answers
6k
views
SharePoint site prompt username and password
Everything is working fine but I have a strange behavior.
When I leave my office and came after 1 hour , the site is asking to enter user name and password.
In the same browser, and the same session, ...
0
votes
2
answers
198
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 ...
1
vote
1
answer
500
views
Get SharePoint user from WebApi2 Identity
I have a WebApi2 endpoint where supportCredentials flag is set to true. On the IIS the Anonymous Authentication on false and the Windows Authentication on true.
What I'm trying to do is to load the ...
3
votes
3
answers
5k
views
C# console call sharepoint online rest api with credentials problem
My goal is to call REST API and retrieve specific folder and files metadata to specific site. I wrote a console application in C#. The SharePoint site is multi-factor enabled and I can get the site ...
1
vote
1
answer
2k
views
Sharepoint 2013 site keeps asking for credentials with and error message
I am working on On premise Sharepoint 2013. I face an issue where the login popup for credentials repeatedly comes with an error message Your connection is not private and asks for credentials.
This ...
0
votes
1
answer
301
views
How to add new user as farm admin without powershell without central admin and without sql server
As we don't have the credentials to central admin, sql server whenever facing problem related to jobs and user profile service unable to do anything.
Currently the issue is every 1 min the support ...
1
vote
1
answer
839
views
Provider hosted app with windows authentication for SharePoint Online
I have created a provider hosted app for SharePoint Online and deployed in Windows 2008 server with Windows authentication (clients requirement).
As I added the app to a SharePoint Online page it ...
0
votes
1
answer
111
views
SP 2016 on premise extranet - Opening document asks for login, does not open document
We are building an extranet in a dedicated on-premise environment. We want documents to default to opening in the native application. Opening in the web app is not considered an acceptable user ...
0
votes
1
answer
2k
views
SharePoint: Https WebClient Request occurred "The remote server returned an error: (401) Unauthorized"
I had the below code in a SharePoint Webpart and it worked properly:
using (var wb = new WebClient())
{
wb.UseDefaultCredentials = true;
var data = wb.DownloadData(@"http://sharepointSite/...
1
vote
0
answers
220
views
SharePoint client Javascript call to node.js rest api, pass credentials
Trigger : javascript on a SharePoint page
This javascript calls a REST service implemented in node.js running on a separate windows 2016 server
This REST Service executes some actions in SharePoint ...
0
votes
1
answer
60
views
Web Service that search by a User credential in a library
I m trying to create a search methode web service in SharePoint 2010 like :
i put a username as an imput(without knowing password) and a keywords to search for and the methode return all documents ...
10
votes
2
answers
6k
views
Sharepoint App Secret Expiration
My actual question is block-quoted below, but read on for context.
When you use AppRegNew.aspx to setup app credentials for provider-hosted apps the secret expires (by default) after 1 year. This ...
9
votes
1
answer
15k
views
Username argument is invalid in SharePointOnlineCredentials - CSOM
I wrote a simple code in CSOM to get web title. Hope code is fine. When I execute my application I got an exception from my third line
(clientContext.Credentials = new SharePointOnlineCredentials("...
1
vote
1
answer
36
views
Video Credentials
I put an Asset Library in SharePoint and I upload some videos. In edit Properties there's a tick in the download videos checkbox, but in the site when the user put in the download link the site ...
1
vote
0
answers
2k
views
Invoke-WebRequest : authentication for embedded content on page
I posted this recently regarding a broken links checker I'm trying to put together but didn't fully understand the problem so fair enough it was closed. I now realise it is as "simple" as pages being ...
4
votes
1
answer
282
views
SharePoint 2013 site is not opening in Android Mobile
I am having site in SharePoint 2013, it is working fine in all browser.
but when I access it on android mobile. it keeps me asking for credential again and again!!!
There is no anonymous access.
...
2
votes
1
answer
676
views
Online, C#, CSOM and ClientContext : how to get password from ClaimAuth?
I really need your help on this.
I would like to know how i can retrieve current user's password and login from a ClaimClientContext.GetAuthenticatedContext.
What i want :
I'm trying to code a ...
1
vote
0
answers
555
views
REST API with Default Network Credentials in Visual Webpart
I have a Visual WebPart, in which I have used REST API to get the data from different lists of different project sites. Below is the code for that.
string searchURLWithParam = "http://mysp2013/_api/...
1
vote
1
answer
2k
views
Office 365 Sharepoint Default Credentials
I am trying to update an internal application that updates a SharePoint list to be able to authenticate using the users current credentials to Office 365 SharePoint. I keep getting a error "The remote ...
0
votes
2
answers
671
views
Redirecting URL asks for credentials twice
We have a "SharePoint" like URL we will nickname a.sp.com, which redirects to the appropriate port number.
Marketing wants to set up "b.sp.com" to redirect to "a.sp.com". When we do this, it asks in ...
1
vote
0
answers
1k
views
SharePoint 2013 Anonymous Access Enabled, but Still Promp for Credentials
I am currently building a portal which allow anonymous access in SharePoint 2013. I have configured anonymous access on the web app (via Central Administration), site collection level (Site Settings ->...
0
votes
1
answer
2k
views
Sharepoint 2013 site public access with domain name Keep asking for Credentials
I have created a site in sharepoint 2013 and give public access to that sharepoint site with ssl certificate installed and server url like
https://domain.com/sites/testsite/Pages/default.aspx
when ...
0
votes
1
answer
60
views
Prompt credentials for single page
I'm now in charge of a SharePoint site, I don't have too much experience with it.
Previous developer set some configuration to prompt for credentials for an specific page, I haven't been able to ...
3
votes
3
answers
47k
views
Use Current User's Credentials for SharePoint Online C#
I am currently using my account's credentials to run some custom code in my SharePoint Online provider-hosted Add-in.
I am passing the credentials this way:
SecureString passWord = new SecureString()...
2
votes
1
answer
6k
views
Access Sharepoint from console using token
I want to access a Sharepoint 2013 / office365 - site from a console application using OAuth-token I saved earlier using a provider hosted app.
I already can connect using credentials:
using (...
1
vote
1
answer
70
views
How do I call a SecureStore Credential by name rather than by type?
I am using SecureStore for storing the data needed to make SQL queries from a Sharepoint webpart without having to hard-code the data in the config file. I have created the following fields in the ...
1
vote
1
answer
249
views
request query using jsom for project server (ps.js) another user
request query using JSOM for project server (ps.js) another user
I need request a query using another user, no my current user this is possible?
I'm using JSOM with ps.js for project server 2013
...
0
votes
1
answer
394
views
"Page can't be displayed" and Admin must enter credentials for local app domain (DNS is correct I think!)
SharePoint Server is a Windows Server 2012 R2 and contains the Active Directory, SharePoint and SQL Server 2008.
Local domain is: test.local
SharePoint host name is: sharepoint (in domain sharepoint....
0
votes
1
answer
356
views
How to Access Provider-Hosted App programmaticly
I have a (working) provider hosted app that mainly acts as a REST-Service (MVC5). I want to unit test my Rest-Controllers but can't find out how to give the right credentials.
I already got the URL ...
1
vote
1
answer
299
views
TroubleShooting Error 401 Unauthorised
Have been tasked to connect with a SharePoint site hosted by another company...when asked about theitr authorisation this is the response I got..
The authentication is annoying to work with in code....
0
votes
2
answers
10k
views
ie 11 keeps asking for my credentials
I am trying to log in to sharepoint site http://portal.......ca/sites/HR/en-ca in ie 11, however, I get the windows security screen asking for my credentials, I already added portal......ca to my ...
0
votes
1
answer
350
views
SharePoint site Keep Asking for password After IISRESET
Even Many Question Regarding SharePoint Prompting for password again and again but,Even I can't find Exact solution
When IIS reset to cache clear, site working fine ,but after some time same ...
12
votes
4
answers
2k
views
SharePoint Setup Account (SP_Install) really necessary?
We’ve all been there assigning all accounts to install SharePoint. Specifically we use a setup account (SP_Install) and a farm administrator account (SP_Farm). When we install signed in to the server ...
1
vote
2
answers
1k
views
Why SharePoint 2013 keep ask me credential when I click 'Manage web applications' in Central Administration
I have a virtual machine which is Windows Server 2012 and Sharepoint 2013.
This is what I did:
• Log in the box
• Open the sharepoint central admin ,
• Click ‘Manage web ...
0
votes
0
answers
92
views
Files Prompts for Credentials When 'Save As' is Selected
I have an issue I need assistance with. The scenario:
User (Site Owner) goes to Library and attempts to open file as Read Only and hits OK as shown below:
Once user is done with edits they Save As ...
1
vote
0
answers
98
views
Custom Approval Workflow and Credentials
We have developed several custom SharePoint workflows which are the same ones I have implemented in the past with no problem. We are an intranet site and the users are already directly logged in.
I ...
2
votes
2
answers
1k
views
SharePoint 2013 - user suddenly logged in with other user's credentials - how is that possible?
We recently had the following problem with SharePoint 2013:
User A suddenly was logged in on his computer with the name of another user (user B).
Both use Windows 7 and Google chrome as browser.
...
0
votes
2
answers
616
views
New Site Constantly Reprompts for Credentials
I created a new site but when I try to access it none of my credentials work. I have given my self the correct permissions, but keeps re prompting me. This is a new site with https and a specific host ...