Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Automated credentials for Sharepoint 2010

Posted on 2014-01-22
13
Medium Priority
?
456 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
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

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 20

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
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 simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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…

971 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