Sharepoint SSO bulk creation of user accounts - sharepoint

Hopefully someone can help...
I need to provide client with a solution to allow bulk creation of user accounts into SharePoint SSO. The client wants to provide an excel spreadsheet with accounts, usernames and passwords and have that created in the SSO database.
I've been told its possible but I can't see how and google is failing me. I've been told its "some custom development and the SharePoint object model". As far as I can see all of the credentials stuff in the Microsoft.SharePoint.Portal.SingleSignon namespace is very much read only.
I have a solution which is to get them to save the spreadsheet as a CSV file and to use jmeter to squirt the data in through the front end. I don't think that's really an acceptable solution though.
Anyone got any clues? Or can anyone say definitively this can't be done?
Thanks in advance...

You can store the user credentials in Active directory or SQL database based on the authentication method. You can write code for copy these credential in the AD/database.

Related

PowerApp to Reset Passwords of other users

we have a schoolversion of Office365-Cloud. I want to write a PowerApp so that teachers can reset the password of their students.
But I'm not finding a Connector to update/reset passwords of users.
Is there a Connector for this? Is there another way to achive this?
Thank you
Thomas
Ideally you could use the Azure Active Directory connector. Unfortunately it doesn't have a password reset action. The exception being it allows creating a temporary password for a new user. If that is sufficient for you check out this Microsoft blog.
The functionality to reset a password does exist in the Azure AD graph API. You can likely use the HTTP with Azure AD connector, as it should help with some of the authentication hassle (Otherwise see this doc for the whole authentication flow). Here is a discussion with helpful tips on how to use.

Vb Script to refresh excel with Credentials

I have an excel file that has data connections linked to SharePoint.
It asks for credentials to connect to SharePoint
I already have a VBScript in place that refreshes the excel automatically and saves it.
Is there a way in which I can embed the credentials and enter into the pop-up.
I am new to VBScript. Any help is appreciated.
Can you embed the credentials? Probably. The real question you should as is should you? If anyone were to gain access to your script, they would have the username and password to a domain account (or even a domain admin account if that is what you are using). Not good.

How to store configuration setting in MS dynamics CRM 2011?

I am new in MS dynamics CRM and want to store the user credentials like userid very similar to what you would store in web.config file or session in ASP.NET,so that while creating new lead or contact i can use the store credentials so that i can add same lead or contact to my external application using store credentials.So please let me know how can i store the user credentials? or provide an link with example that explain the same.Also explain all the steps in details for storing the configuration setting.
A neat way to do it is to create custom entity in CRM. You would be able to hold all configuration data in it, including credentials. You can restrict access to the entity for only specified users. Draw back to this solution is that you need to have DataContext created and query information from db.
Other way is to use a .NET partial class that will hold sensitive data in file that is not versioned, that way whole dev team can use different credentials for each of dev environments.
Third way is to pass credentials during plugin registration, but I have not used this way, and it has too many drawbacks in my opinion (you need to provide credentials for each registered step).
Good luck!

What´s the easiest way for a user authentication in SharePoint 2010

does anybody have a manuel that describes the steps to create an anonymous
user authentication in SharePoint 2010 (Website for the internet with no authentication).
For editing an admin has to log in
with forms authentication. Can I hold the admin somewhere in the web.config with
membership provider ? Or do I need to install SQL Server somewhere for that task ?
Thanx a lot.
Stephan
Ah - you need SQL Server installed somewhee ANYWAY - SharePoint makes heavy use of SQL Server.
I would think that any valid ASP.NET membership provider should work with SharePoint, so in theory you should be able to write your own XML-based or text-based provider and store the admin username and password there.
But it's too much work and a bit risky. And in all honesty I would personally avoid trying anything like that since SharePoint is a complex enough behemoth by itself.
Since you only want an admin to be able to modify the website, it's probably a lot easier to just use the Active Directory provider and create a user in AD for the admin if one doesn't already exist.
HTH

Connecting to SSAS 2005 from Excel 2007 over http: how to make it ask for username and password?

I'm trying to let my users connect to OLAP cube in SSAS 2005 using Excel 2007 over the Internet.
I've set up dynamic security using fact table in cube. It uses UserName function, so users should authenticate to SSAS using windows accounts. I've set up msmdpump.dll component on IIS, allowing windows authentication, but not anonimous one. I created windows accounts on web/SSAS server for remote users. My users' machines are out of my control, I can not use pass-through windows authentication.
Now, if I create connection in Excel and save username and password in it, everything works. But I want users to download Excel file without embedded credentials from my web site, and than be able to enter their credentials. Best option is if they will enter password when opening Excel file.
Problem is as soon as I clear checkbox "save password" in connection properties, or remove "User ID"/"Password" properties from connection string, Excel gives me authentication error and does not save connection properties. So I cannot create a template document or connection file without embedded credentials.
Moreover, I suspect, Excel will not ask user for login/password anyway.
Do you know a solution to my problem? Maybe some workarounds/alternative ways? I appreciate any help.
it is really tough to get what you want to work, if at all. I don't think it will work "over the internet" like you want. They would have to be VPN'd in. Their machine doesnt have to be on the network, but they can still pass the AD credentials through.
http://blog.stevienova.com/2008/01/14/how-to-connect-to-sql-server-vs-tfs-etc-using-windows-authentication-when-computer-is-not-on-active-directory-domain-xp-and-vista/
There are other options to expose the cube in some other ways (SSRS, Excel Services, 3rd party OLAP through Web) that would allow you to do what you want.
Here's something that might be worth trying - in your connection string, get rid of the username and password and add 'prompt=1;'. This will force Excel to ask for the user's credentials before it tries to authenticate them, instead of just using empty credentials to do the authentication.

Resources