0

I have to build up a system based on Dynamics CRM online and SharePoint 2013 on Premise in a Windows Azure Machine. Employees from the company access Dynamics to register the customers, products, offers and so on. The customers of the company log in the SharePoint portal to view their offers, products, etc. using webservices that connects to Dynamics Online.

The company requirement is that their employees must sign in either Dynamics online or SharePoint portal with their AD credentials, and external users should use another way of authentication (FBA, claims or whatever) introducing username and password. How could I set up both ways of authentication? Each customer of the company would consume a CAL license? Any suggestion?

1

you can use a mix of two different solution.

The first is create a new entity with a connection to a Contact entity where store username and password. Create a new ASP .NET membership provider database. Create custom workflow that populate it.

The second is configure a standard SQL membership provider in your SharePoint 2013 Online that retrieve data from a SQL Server DB.

I suggest you this solution because you use SharePoint Online. Otherwise a custom membership provider was the best way.

Bye.

  • I am not sure taht you can the the second method in a SharePoint Online but in on Premise. Where do yo configure MemberShip provider in SharePoint online? In the first option a Workflow is not necessary, you could do it with an authentication page. the other question is if you consume a CAL license – Alvmad Oct 11 '13 at 9:23
1

I agree to the above answer. If you would want to find more details as to a step by step example, see the links provided in this answer.

Check my answer

  • Ok. this solutions fits up to 90% of my requirement but is there any way to bypass the login page and check that if you have SPContext with Active directory account enter directly to the page and if you are an external user be prompted with the user and password credentials? – Alvmad Oct 11 '13 at 9:29
  • you could think of using custom login page where you can do customize your UI. – Biju Joseph - MCSD Oct 11 '13 at 9:40
  • the problem is that the users and passwords are in CRM and if I activate FBA I don't know how to say to the membership provider that accesses to the CRM database (via Web services, CRM object model or whatever) Any idea? – Alvmad Oct 11 '13 at 10:27
  • Sorry, I have no idea. Will come back if I get something. – Biju Joseph - MCSD Oct 11 '13 at 11:30
  • 1
    I have seen that you can code a custom Membership and role provider to connecto to Dynamics CRM crmmembership.codeplex.com – Alvmad Oct 11 '13 at 11:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.