Solved

Automated credentials for Sharepoint 2010

Posted on 2014-01-22
13
427 Views
Last Modified: 2014-02-14
Is there a way to configure Sharepoint 2010 site collection to accept login credential from an automated connection? Is this done using secure store services?
0
Comment
Question by:chinadol
13 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39800243
What is the context specifically?  The secure store can be used to store credentials to authenticate to outside systems.  What are you trying to do?
0
 

Author Comment

by:chinadol
ID: 39804316
After posting the question i realized that using secure store would not work.  We are looking for a way to store or pass credentials when an automated job runs daily to access a sharepoint folder to grab the files within it and move to another server.
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39804444
Hi,
which technology / scripting / dev language do you plan to use?
If its Powershell, VBScript or .Net you can normally create your custom credentials programmatically and use these to access Sharepoint.
Could you perhaps explain in more details what you want to achieve at the end?
HTH
Rainer
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Accepted Solution

by:
chinadol earned 0 total points
ID: 39804467
We are using a third party software to access a sharepoint mailbox folder to grab files, then move them to a mailbox residing on another mailbox.  I beleive powershell is probably the best route to go
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39804481
What do you mean by mailbox?  There aren't mailboxes in SharePoint.  Are you talking about grabbing from a doc library and moving to another doc library?

Nothing special required for SharePoint.  Just use a credential (perferably dedicated to this procedure) that has the proper access to the files.  You can grant permission at the site, sub-site, library, or document level.
0
 

Author Comment

by:chinadol
ID: 39804504
You are missing the point.  We have the big picture pretty much figured out.  I think that we will just work something out using powershell
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39804534
I guess I am.  

When I read "We are using a third party software to access a sharepoint mailbox folder to grab files, then move them to a mailbox residing on another mailbox.".......it seems that the software is doing the work and all you need is credentials.  Why is Powershell needed?
0
 

Author Comment

by:chinadol
ID: 39804542
to set the credentials....the original question
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39804561
You should post the name of the software so people know to never buy it.

If I am understanding correctly, you have a 3rd party app that will connect to a location in SharePoint and copy/move items to another location in SharePoint.  However, you have to use some type of scripting language to set the credential in the app that it will use to connect.  You would think this app had a UI to input the credentials.
0
 

Author Comment

by:chinadol
ID: 39804572
You know I do not know where you got lost in this dialogue.  There is nothing wrong with the third party software.    I sent this inquiry out to a microsoft rep who I am just receiving a sample powershell script from him.  It looks we are good to go.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39841789
I thought you said PowerShell was the answer??  If so, you should accept Rainer's comments.
0
 

Author Closing Comment

by:chinadol
ID: 39852791
I was not satisfied with this exchange
0
 
LVL 16

Expert Comment

by:Walter Curtis
ID: 39859742
If you use PowerShell, the credentials used to run the script or cmdlet, will be the context used for the task. That means, if you have a script to access an object in SharePoint, and the script is run by a user with no access to the object the script will fail. (Often with no error message or feedback.) If a person that has access to the object runs the script, then the script might be successful. Taking that a level higher, if the script is run by something like task scheduler, the user context can be defined.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question