Setup ADX Studio and Dynamics CRM 2013 Online for Training Purposes

The following steps will walk through the process of setting up trial versions of ADX Studio to work with Dynamics CRM 2013 online.  Visual Studio 2012 and IIS will be required for this process.

  1. Create a trial instance of Microsoft Dynamics CRM 2013 Online. Go to http://www.microsoft.com/en-us/dynamics/crm-free-trial-overview.aspx
  2. Scroll down the page and click on the link, “No thanks, I’ll get started on my own
    2015-03-06_21h58_20
  3. Complete the form. A valid email address is required.
    2015-03-07_08h15_38
  1. Create a unique user ID, CRM Online URL, and Password.
    2015-03-07_08h27_21
  2. Enter your mobile number to receive a verification code.
    2015-03-07_08h28_48
  3. Enter the verification code.
    2015-03-07_08h30_09
  4. Save this info.
    2015-03-07_08h31_31
  5. If an issue occurs while the instance is being created, go to https://portal.office.com and log in using the Office 365 user ID. Review the Service Overview and Current Health  In the left-hand navigation, scroll down to the Admin section and click on the CRM link.
    2015-03-07_08h34_49
  6. When you get to the Confirm some details page select the Language and Currency. When you are ready, click on the Finish button.
    2015-03-06_22h11_15
  7. When the instance is finished creating, the You’re in! message will appear with the sign in URL.
    2015-03-06_22h16_28
  8. The new instance of Dynamics CRM 2013 should open. You should not continue until you can successfully log into CRM.
    2015-03-07_09h04_05
  9. Once you are able to successfully log into CRM, create the ADX Studio Portals Online demo. Go to, https://demo.adxstudio.com
    2015-03-06_22h34_52
  10. Sign in with an existing account or create a new one.
    2015-03-06_22h37_12
  11. Complete the registration form. Use the information from the confirmation email from Microsoft to fill in the CRM Organization URL, Username and Password
    2015-03-06_22h48_09
  1. An email will be sent once ADX Studio Portals have been installed on the Dynamics CRM 2013 Online instance. This can take an hour or longer to complete depending on how many portals you chose to install.
    2015-03-06_22h43_07
  2. In the meantime, install IIS from the Control Panel. Open Programs and Features and then click on Turn Windows features on or off in the list of link on the left.
    2015-03-07_09h53_15
  3. In the Windows Features dialog, expand Internet Information Services (IIS) and then Web Management Tools, select IIS Management Console.
    2015-03-07_09h54_52
  4. In the Windows Features dialog, scroll down and expand World Wide Web Services, than Application Development Features, select .NET Extensibility, NET, ISAPI Extensions, and ISAPI Filters.
    2015-03-07_09h57_13
  5. Once IIS has been installed, install Visual Studio 2012, you can use the Express version or if you have an MSN subscription, use any version available.  If you plan on using the CRM templates from the CRM SDK, you want to consider Visual Studio 2012.
  6. Download ADX Studio Portals and ALM Toolkit. Go to http://community.adxstudio.com
    2015-03-07_09h08_16
  7. Right-click on the file, AdxstudioAlmToolkit-1-0-<x>.msi and select Install.
    2015-03-07_09h47_42
  8. Right-click on the file, AdxstudioPortals-7-0-<x>.msi and select Install. Make of note of the installation folder.  It will be needed when you configure the Website in IIS.
    2015-03-07_09h48_49
  9. In the event you get an error about missing Windows Identity Foundation, download it from http://www.microsoft.com/en-us/download/details.aspx?id=17331
    2015-03-07_10h02_56
  10. Install the Windows Identity Foundation by double-clicking on the .msu file.
    2015-03-07_10h02_17
  11. Open Visual Studio 2012 and select Open Project.
    2015-03-07_10h22_38
  12. Browse to the ADX Studio installation folder, C:\Program Files (x86)\Adxstudio\XrmPortals\7.0.0012\Samples\MasterPortal and open the file, csproj.
    2015-03-07_12h02_05
  13. When the project opens, view the Solution Explorer and edit the file, Web.config
    2015-03-07_12h07_30
  14. In the <connectionStrings> node, remove the comments and replace the ServiceUri attribute value with the URL of your Dynamics CRM 2013 online address. Also update the Username and Password attribute values to the .onmicrosoft.com User ID from Step 7 (see line 17).  Note, the Web.config file is an XML format, so all tags need to be closed.
    2015-03-07_12h16_11
  15. Find the closing tag for the <portals> Right above the </portals> tag, edit the <add> node with an attribute named, websiteName and its value should be the name of one of the Portals you selected to install in Step 14.  In the screenshot below, the websiteName attribute is set to “Company Portal” (see line 36).
    2015-03-07_12h23_56
  16. Save the config file and then press the F6 key to build the solution or in the File menu, open the Build menu and select Build.
    2015-03-07_12h26_39
  17. Open Internet Information Services (IIS) from the Administrative Tools
    2015-03-07_12h28_40
  18. In IIS, expand the top connection in the left-hand tree navigation and right-click on the Sites folder to open the Sites menu, select Add Web Site.
    2015-03-07_12h52_45
  19. In the Add Web Site dialog, enter a Site Name and in the Physical path field, click on the “” button to browse to a folder. In the Browse For Folder dialog, expand to the Program Files (x86)\Adxstudio\XrmPortals\7.0.0012\Samples.  Select the MasterPortal folder and click the OK
    2015-03-07_12h55_51
  20. If you leave the port set to 80 (in the Binding section), you will receive a message about another website is using the same port, click This can be corrected in a later step.
    2015-03-07_19h37_55
  21. Confirm the ADX Studio Portals have been installed on your instance of Dynamics CRM 2013 online. Log into your instance on Dynamics CRM 2013 online.  Refer to Step 8 for assistance.
    2015-03-07_17h09_54
  22. From the CRM Homepage, mouse over Microsoft Dynamics CRM in the top navigation to open the main menu and select Portals (you may need to scroll horizontally to see the Portals box).
    2015-03-07_17h12_38
  23. Confirm the Portals you selected in Step 14 are listed as Active Websites.
    2015-03-07_17h14_54
  24. Mouse over the Microsoft Dynamics CRM link in the top navigation to open main menu and select Settings.
    2015-03-07_17h10_40
  25. Mouse over the Settings in the top navigation to open the Settings menu and select Adxstudio License Keys. You will have to scroll horizontally to locate Adxstudio License Keys.
    2015-03-07_19h15_17
  26. On the Adxstudio License Key page, click on New in the page menu to create a new Active License Key.
    2015-03-07_19h17_37
  27. Complete the New Adxstudio License Key The license for the trial should have been sent in an email from ADX Studio.  Check your junk mail or spam folders, otherwise, contact ADX Studio for assistance.  The value in the Name field has no dependencies on the license, enter whatever you want.
    2015-03-07_19h20_54
  28. Open IIS to confirm the config and the Web site you configured in IIS are working. Click on the Default Web Site in the Sites folder.  The next 3 steps are only necessary if you choose to Port 80 on the new Web site, otherwise skip to Step 46.
    2015-03-07_17h20_52
  29. In the Actions section (on the right-hand side), click on Stop under Manage Web Site.
    2015-03-07_17h25_59
  30. Click on the Company Portal or the name of the Web site you added in Step 29 in the Sites folder.
    2015-03-07_17h23_31
  31. In the Actions section, click on Start under Manage Web Site.
    2015-03-07_17h22_10
  32. In the Actions section, click on Browse under Browse Web Site.
    2015-03-07_17h28_52
  33. The Portal named in the Web.config should appear in the browser.
    2015-03-07_19h27_57
  34. If you receive an error message about the license, check the Adxstudio License Key and make sure the XML for the license key is saved and in its entirety. Check the Web.config and make sure the connection string (Step 28) and the websiteName value are valid (Step 29).  Contact ADX Studio for assistance and confirm the license key they provided is still valid.
    2015-03-07_17h30_02
  35. Click on the Sign In button in the upper-right corner and log in using the administrator account credentials. The password was provided in the email from ADX Studio.
    2015-03-07_19h52_19
  36. Once you log in, the Profile page should appear.
    2015-03-07_19h55_04