Solved

Automated credentials for Sharepoint 2010

Posted on 2014-01-22
13
408 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
 

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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 14

Expert Comment

by:SneekCo
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now