Automated credentials for Sharepoint 2010

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?
chinadolAsked:
Who is Participating?
 
chinadolConnect With a Mentor Author Commented:
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
 
Justin SmithSr. System EngineerCommented:
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
 
chinadolAuthor Commented:
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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Rainer JeschorCommented:
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
 
Justin SmithSr. System EngineerCommented:
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
 
chinadolAuthor Commented:
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
 
Justin SmithSr. System EngineerCommented:
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
 
chinadolAuthor Commented:
to set the credentials....the original question
0
 
Justin SmithSr. System EngineerCommented:
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
 
chinadolAuthor Commented:
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
 
Justin SmithSr. System EngineerCommented:
I thought you said PowerShell was the answer??  If so, you should accept Rainer's comments.
0
 
chinadolAuthor Commented:
I was not satisfied with this exchange
0
 
Walter CurtisSharePoint AEDCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.