Wednesday, 30 January 2013

CRM 2011 On Premise Customer Portal - Authentication by Active Directory

Hi all,

Since, last few days, I found out many people struggling with how to configure Customer Portal for CRM On Premise without using Window Live ID. So today, I am going to show you guys how to configure Customer Portal for CRM On Premise and using Active Directory authentication instead of using Window Live ID (which is for CRM Online).

Here is the step by step:

1. Download the Customer Portal for CRM 2011 - using AD from this blog:
http://community.adxstudio.com/blogs/shan/customer-portal-modifications/

That's is the Zip file of Customer Portal CRM 2011 (as you could download from pinpoint also). However, in this version, the blog author changed some codes and configuration values inside, which will help you to use the Active Directory authentication for the portal.

2. After unzip the folder, please navigate to the "Documentation" folder, open the "Customer Portal Deployment Guide_OnPremises_V2.0" file. Start from "Deployment Steps", you now follow the document from step 1 to step 3:
     - Step 1: Follow the document to import the solution into your CRM.

     - Step 2: You could skip this step. No need to do anything with it.

     - Step 3: Going your "SDK" folder (you should download SDK for CRM from Microsoft Source) --> Tools --> WebsiteCopy --> launch the "WebsiteCopy.exe" file. And follow step by step in the document.
      Note: in the end of the copy website process, the wizard will ask you to copy the "connectionString", you please copy it to somewhere.

So in the end of this stage, you have your Customer Portal in CRM as shown in below image !


3. In the "Customer Portal" folder (which you unzip at step 2), navigate to CustomerPortal --> Web --> Web.config file. Open the file, look at the "connectionStrings" part and especially the bold lines:

 <connectionStrings>
    <add name="Xrm" connectionString="ServiceUri=http://crm2011/Contoso; Domain=CONTOSO; Username=webportal;
Password=pass@word1"/>
    <add name="ADConnectionString" connectionString="
LDAP://contoso.com/CN=Users,DC=contoso,DC=com" />  
  <!--<add name="Live" connectionString="Application Id=0000000000000000; Secret=00000000000000000000000000000000"/>-->
    <!--<add name="Bus" connectionString="Service Namespace=???; Service Path=???; Issuer Name=???; Issuer Secret=???; Include Exception Detail In Faults=true"/>-->
  </connectionStrings>


Now, you need to change the connectionString (bold lines) into the correct: CRM URL (http://crmserver-name/domain-name), Domain, Username (of administrator, for example) and password. For the next line, do the same thing, change URL, Username, Domain (DC).

**Note: The username here should be the one has been created in AD, so later this AD account will be used to login the portal via AD Authentication.

4. In the same server, open IIS Manager (Internet Information Services):

- Navigating to "Sites" node, click right mouse to create a new website. Give approciate name for the website and put the physical path as the file in Customer Portal folder.

- After creating the website, right click on it in Application Tool tab, change the .NetFramework version to v4.030319.


  
- Finally, try to browse your website in IIS, now the portal will work and it connected to your CRM, using AD Authentication !


I hope the post is useful for you guys ;)
 

68 comments:

  1. Is there still a valid link to this file or an updated version? http://community.adxstudio.com/blogs/shan/customer-portal-modifications/

    ReplyDelete
  2. Hi there, the link for the download CustomerPortal-AD-2011-06-14.zip Is no more active, can you please send me a valid link or if you have downloaded it already can you share that will be really a big help. Thanks in advance

    ReplyDelete
  3. Please upload link as mentioned by previous comments. Thanks

    ReplyDelete
  4. Hi everyone, I am sorry for late reply. I will look for another sample for Customer Portal using AD and post it here as long as I found. Thanks again.

    ReplyDelete
    Replies
    1. Hi Kelly,
      It would be brill if you were able to find an example of the Customer Portal using AD.
      I've been tearing my hair out trying to get this to work!
      Cheers,
      Ed

      Delete
  5. Hi there, I have the portal configured and can edit pages in CRM and see the results in the portal.
    I've no idea how to provide a username and password to my clients so they can log cases. Can anyone give me any help please?

    ReplyDelete
  6. Hi, can you please post the Web.config file for download? That will help me configure my site for AD Auth.

    ReplyDelete
  7. I just see the post i am so happy the post of information's.So I have really enjoyed and reading your blogs for these posts.Any way I’ll be subscribing to your feed and I hope you post again soon.

    web designing training in chennai
    hadoop training in chennai

    ReplyDelete
  8. your information is really awesome as well as it is very excellent and i got more interesting information from your blog. iOS App Development Company in Chennai

    ReplyDelete
  9. It’s amazing in support of me to have a site, which is useful in support of my know-how. thanks admin|, you surely come with remarkable articles. Cheers for sharing your website page.Excellent blog here...

    Digital Marketing Company in India|SEO Company in India

    ReplyDelete
  10. Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well iOS App Development Company
    iOS App Development Company

    ReplyDelete
  11. Interesting blog about on premiere customer portal which attracted me more.Spend a worthful time.keep updating more.
    SEO Company in India

    ReplyDelete

  12. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

    PSD to Wordpress
    wordpress website development

    ReplyDelete
  13. nice topic which you have choose.
    second is, the information which you have provided is better then other blog.
    so nice work keep it up. And thanks for sharing.website designing company

    ReplyDelete
  14. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
    Devops online Training
    Online DevOps Certification Course - Gangboard

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.

    rpa training in bangalore | best rpa training in bangalore
    rpa online training

    ReplyDelete
  17. Attend The Python Training in Bangalore From ExcelR. Practical Python Training in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python Training in Bangalore.

    ReplyDelete
  18. Such a nice blog, I really like what you write in this blog, I really appreciate thanks for sharing. kEEP IT UP!! Machine Learning Training In Bangalore

    ReplyDelete
  19. Great post!I am actually getting ready to across this information,i am very happy to this commands.Also great blog here with all of the valuable information you have.Well done,its a great knowledge.

    sap hr courses in bangalore

    sap hr classes in bangalore

    sap hr training institute in bangalore

    sap hr course syllabus

    best sap hr training

    sap hr training centers

    sap hr training in bangalore

    ReplyDelete
  20. it is wonderful as always and do more and share more

    BEST ANGULAR JS TRAINING IN CHENNAI WITH PLACEMENT

    https://www.acte.in/angular-js-training-in-chennai
    https://www.acte.in/angular-js-training-in-annanagar
    https://www.acte.in/angular-js-training-in-omr
    https://www.acte.in/angular-js-training-in-porur
    https://www.acte.in/angular-js-training-in-tambaram
    https://www.acte.in/angular-js-training-in-velachery


    ReplyDelete
  21. This was really one of my favorite website. ExcelR Machine Learning Course In Pune Please keep on posting.

    ReplyDelete
  22. This post is very simple to read and appreciate without leaving any details out. Great work!
    360digitmg business analytics courses in india

    ReplyDelete
  23. Wow! This article is jam-packed full of useful information. The points made here are clear, concise, readable and poignant. I honestly like your writing style.
    AWS training in Chennai

    AWS Online Training in Chennai

    AWS training in Bangalore

    AWS training in Hyderabad

    AWS training in Coimbatore

    AWS training

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. Great post!I am actually getting ready to across this information,i am very happy to this commands.Also great blog here with all of the valuable information you have.Well done,its a great knowledge.
    amazon web services aws training in chennai

    microsoft azure course in chennai

    workday course in chennai

    android course in chennai

    ios course in chennai

    ReplyDelete
  26. this is really too useful and have more ideas from yours. keep sharing many techniques. eagerly waiting for your new blog and useful information. keep doing more.
    IELTS Coaching in chennai

    German Classes in Chennai

    GRE Coaching Classes in Chennai

    TOEFL Coaching in Chennai

    Spoken english classes in chennai | Communication training

    ReplyDelete
  27. I really thank you for the valuable info on this great subject and look forward to more great posts
    data scientist certification malaysia

    ReplyDelete
  28. This post is very simple to read and appreciate without leaving any details out. Great work!
    data scientist course in malaysia


    ReplyDelete
  29. Great post!I am actually getting ready to across this information also really helpful for few of the leading PHP training in Pune and Website designing course in Pune,I am very happy to this commands. Also great blog here with all of the valuable information you have.Well done,its a great knowledge.

    ReplyDelete
  30. I came across your blog and wanted to take a moment to express my appreciation for the quality of your content. Your writing is informative, insightful, and engaging, and I find myself returning to your blog time and time again for fresh perspectives on a variety of topics.
    How can I connect two computers with an Ethernet cable?

    ReplyDelete
  31. https://haileypets.com
    https://poodlespring.com/
    https://cutespupsforsale.com/

    ReplyDelete
  32. This blog is a valuable, up-to-date resource with engaging content. Check our IT Certification Course by SkillUp Online.

    ReplyDelete
  33. Your article was a fantastic and informative read. I appreciate your insights. For those interested in mastering digital marketing, consider Digital Academy 360. Their expert-led Digital marketing courses in bangalore offers hands-on experience and 100% placement support. I look forward to your future articles

    ReplyDelete
  34. love this blog
    full stack developer course in chennai

    full stack training in chennai
    web development in chennai

    ReplyDelete
  35. This comment has been removed by the author.

    ReplyDelete
  36. Awesome post! Thanks for breaking down the steps to set up the CRM 2011 Customer Portal with Active Directory. Super helpful for anyone struggling with it. Keep up the great work!
    cyber security internship for freshers | cyber security internship in chennai | ethical hacking internship | cloud computing internship | aws internship | ccna course in chennai | java internship online

    ReplyDelete
  37. Your blog provided valuable insights that we can really work with. Every tip shared in your post is incredibly useful. Thanks so much for offering such helpful content. Keep up the great work!

    SAP FICO Training in Hyderabad

    ReplyDelete