<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Nadeem</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/nadeem/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/nadeem/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 04:09:27 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Troubleshooting Form load performance issues in CRM</title>
      <link>https://docs.microsoft.com/archive/blogs/nadeem/troubleshooting-form-load-performance-issues-in-crm</link>
      <pubDate>Sat, 28 Feb 2015 05:53:00 GMT</pubDate>
      <dc:creator><![CDATA[Nadeem-Ansari]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nadeem/2015/02/28/troubleshooting-form-load-performance-issues-in-crm/</guid>
      <description><![CDATA[Recently, I was working on performance issues with CRM Form load and after researching a lot on it,...]]></description>
      <content:encoded><![CDATA[<p>Recently, I was working on performance issues with CRM Form load and after researching a lot on it, I found few good articles and blogs. I thought of sharing details about it which<br />will help you to understand the factors contributing to performance and how to deal with them.</p>
<p>The cost of spending time on optimizing your Microsoft dynamics CRM solution can take quite a long time for<br />a small benefit of a second or half a second on some forms.</p>
<p>In a CRM system there are lots of forms you can look at improving the performance of, so where should you<br />start. The main forms you should concentrate on</p>
<p>1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The slowest forms</p>
<p>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The most used forms which are slow</p>
<p><strong>Common reasons of slow form loading</strong></p>
<p>The main culprits of slow loading forms are :-</p>
<ol>
<li>Busy Javascript onload&nbsp;functions</li>
<li>Too many subgrids</li>
<li>Lots of oData/fetchXML queries</li>
<li>Tabs, sections and fields not needed on the form</li>
</ol>
<p>&nbsp;</p>
<p>To start the code optimization, the first step is to find the bottlenecks. The next step is to get a benchmark to see how they were loading, to get an average we loaded the<br />form 5 times and the results were quite varied.</p>
<p>Make a list of worst performing forms and had a quick look at them and make some quick notes</p>
<ol>
<li>How many unfiltered OData retrieves</li>
<li>How many OData calls, where they retrieving the same set</li>
<li>Number of ribbon buttons</li>
<li>potential&nbsp;fields/functionality which could be removed by change of business process</li>
<li>Size of JavaScript on load&nbsp;function.</li>
</ol>
<p>&nbsp;</p>
<p><strong>Use Fiddler</strong></p>
<p>One of tools you can use to analyze the slow loading of a form. It&rsquo;s a great tool to see what calls are<br />being made from the page, how long they took and how much data they were bringing back.</p>
<p>Looking at the fiddler logs I was able to investigate the OData queries and find</p>
<ol>
<li>Which OData calls took the longest</li>
<li>Find OData calls which were not filtered</li>
<li>Find OData calls which were retrieving the same data<br />multiple times</li>
<li>general loading times of sections of code</li>
</ol>
<p>&nbsp;</p>
<p><strong>F12 Debugger</strong></p>
<ol>
<li>The F12 debugger is such an awesome tool for debugging Javascript. &nbsp;I put in a break point in the onload Javascript and walked<br />through the code.</li>
<li>We are using two main methods to find slow loading code</li>
<li>Looking at the code</li>
<li>Stepping through the code</li>
</ol>
<p>&nbsp;</p>
<p><strong>How to improve performance of Form load.</strong></p>
<ol>
<li>Ask the customer to re-evaluate&nbsp;the fields and<br />functionality on the forms.</li>
<li>Improvements can come from moving fields and subgrids<br />into unexpanded tabs&nbsp;where the loading can be delayed until the tab is<br />expanded.</li>
</ol>
<p>&nbsp;</p>
<p><strong>Subgrids</strong><strong></strong></p>
<p>Subgrids take time to load and the more subgrids you have on a form the longer it will take to load.</p>
<p>Form load time can be saved by putting the grid in an unexpanded tab, this will not load the grid on<br />the form load but will load it when the user expands the tab.</p>
<p>&nbsp;</p>
<p><strong>Remove unwanted/unused fields</strong></p>
<p>CRM Developers have to <a href="https://en.wikipedia.org/wiki/Code_refactoring" target="_blank">review and re-design their code</a>&nbsp;then<br />I think CRM Forms and entities should be reviewed to remove the need of unused<br />fields.</p>
<p>&nbsp;</p>
<p><strong>OData&nbsp;queries</strong></p>
<p>OData&nbsp;queries&nbsp;are a great way to retrieve data from related fields but if a form has a lot of them they can slow it down. &nbsp;If<br />you use OData queries makes sure they are as lean as possible by filtering them. &nbsp;</p>
<p>Below are some tips for using OData queries</p>
<ol>
<li>ALWAYS filter your OData queries to retrieve only the<br />fields you need.</li>
<li>Group OData queries to&nbsp;avoid multiple OData queries.</li>
<li>Cache the return data in a JavaScript variable if<br />different functions need the same data.</li>
</ol>
<p>&nbsp;</p>
<p><strong>Common Libraries</strong></p>
<p>CRM makes it easy for CRM Developers to write the same piece of code in every JavaScript file on every<br />entity and the same code in multiple plugins. &nbsp;Code duplication&nbsp;is bad practice, it increases not only the possibility of bugs (e.g. updating code in one place but<br />not the other duplicates) but also increases time to fix a bug because you have to make the change in all the places the code is.</p>
<ol>
<li>Stop writing the same function in each JavaScript file for each different form.</li>
<li>Create common libraries then it only has to be written once (and well) and then used again and again.</li>
<li>The advantage of writing code once and used in many places is easy to maintain, debug and extend and you only need to<br />test it once. If there is a bug you only have to fix it one place.</li>
<li>Sometimes it takes more time to&nbsp;generalize&nbsp;a method but in the long run it will save you time.</li>
<li>If you optimize this code it will save time in all the CRM forms it&rsquo;s used.</li>
<li>Always filter queries There is no use for getting all the fields back in a query because you never use all the<br />fields.</li>
<li>There are lots of retrieve code in CRM, it can be found in plugins and JavaScript but make sure the developers filter,<br />always.</li>
<li>Split loading times</li>
</ol>
<p>&nbsp;</p>
<p>Evaluate if you need all the data and checks to be done on the form load. &nbsp;It&rsquo;s possible you could move some of the functionality to</p>
<ol>
<li>Unexpanded tabs</li>
<li>Onchange events</li>
</ol>
<p>&nbsp;</p>
<p><strong>Unexpanded Tabs</strong></p>
<p>You can put a subgrid in an unexpanded tab and load the subgrid when the tab is expanded. &nbsp;If you have optionsets or other<br />fields which need to be calculated using retrieved fields then these can also be triggered on expanding the tab. This saves time from the form loading.</p>
<p>This would also save time if the tabs included Maps and iFrames.</p>
<p>&nbsp;</p>
<p><strong>OnChange Events</strong></p>
<p>For some functionality it might be possible to delay some code and remove it from the form onload to a field onChange event.</p>
<p>&nbsp;</p>
<p><strong>Javascript files</strong></p>
<ol>
<li>You can minify Javascript files which shrinks the size of the file and load quicker</li>
<li>There may be some performance gains from combining 2 or more Javascript files into one Javascript file</li>
<li>Plugins/Workflows</li>
<li>Similar to moving Javascript functionality from OnLoad to OnChange events it may be<br />possible to move some functionality to Workflows and plugins on the save of a<br />record. &nbsp;In general plugins run faster than JavaScript.</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Email Router Configuration and Troubleshooting</title>
      <link>https://docs.microsoft.com/archive/blogs/nadeem/email-router-configuration-and-troubleshooting</link>
      <pubDate>Sat, 13 Dec 2014 07:15:00 GMT</pubDate>
      <dc:creator><![CDATA[Nadeem-Ansari]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nadeem/2014/12/13/email-router-configuration-and-troubleshooting/</guid>
      <description><![CDATA[Hi Everyone,
There are many kb articles and blogs about email router configuration and...]]></description>
      <content:encoded><![CDATA[<p>Hi Everyone,</p>
<p>There are many kb articles and blogs about email router configuration and troubleshooting. I tried to collect them all and put them together. Hope this is useful.</p>
<p><strong>Configuration </strong></p>
<p>While we all know what is an email router. Here are the details about how to configure it.</p>
<p><strong>1)&nbsp;</strong><strong>With Office 365 Exchange Online.</strong></p>
<p><strong><a href="https://support.microsoft.com/kb/2708706">https://support.microsoft.com/kb/2708706</a><br /></strong></p>
<p><strong>2)&nbsp;</strong><strong>With Exchange On-Premise.</strong></p>
<p>&nbsp;<strong>How to configure an incoming profile </strong></p>
<ol>
<li>Start the E-mail Router Configuration Manager. To do this, click Start, click All Programs,<br />click Microsoft Dynamics CRM 2011 E-mail Router, and then click Microsoft Dynamics CRM E-mail Router Configuration.</li>
<li>Click Configuration Profiles, and then click New.</li>
<li>In the E-mail Router Configuration Profile dialog box, type a profile name. For example, type Incoming Email.</li>
<li>For the direction, select Incoming.</li>
<li>For the email server type, select Exchange Version (2007/2010). The value for Protocol automatically changes to Exchange Web Services, and the value for Authentication<br />Type automatically changes to Windows Authentication.</li>
<li>In the Server field, type the complete URL for the incoming email server in the Exchange Web Services (EWS) URL format (https://&lt;fqdn&gt;/EWS/exchange.asmx).</li>
<li>To get the Exchange Web services URL, on Exchange PowerShell run the following command :- Get-webServicesVirtualDirectory | fl</li>
<li>Make sure you are able to access web service url from the system where you have installed Email Router.</li>
<li>In the Access Credentials list, select how the email router will gain access to the Exchange server. Preferably &ldquo;Other Specified&rdquo;.</li>
<li>On Advance TAB set the port no to 443. For Exchange 2007 onwards&nbsp; SSL is required.</li>
</ol>
<p>Tip: - Instead of typing a URL, you can select the Use Autodiscover option to use the Autodiscover service to obtain the Exchange Web Services URL. (If Autodiscover is setup and working properly)</p>
<p>&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp; 11.&nbsp;&nbsp;&nbsp;Click OK.</p>
<p>In the E-mail Router Configuration Manager, click Publish.</p>
<p>Give Application Impersonation permissions to the account used in Incoming profile :-<br /><a href="https://msdn.microsoft.com/en-us/library/office/dn722376(v=exchg.150).aspx">https://msdn.microsoft.com/en-us/library/office/dn722376(v=exchg.150).aspx</a></p>
<p><strong>How to configure an outgoing profile</strong></p>
<p>To configure an outgoing profile for Exchange Online, follow these steps:</p>
<ol>
<li>Click Start, click All Programs, click Microsoft Dynamics CRM 2011 E-mail Router, and then click Microsoft Dynamics CRM E-mail Router Configuration.</li>
<li>Click Configuration Profiles, and then click New</li>
<li>In the E-mail Router Configuration Profile dialog box, type a profile name. For example, type Outgoing Exchange E-mail.</li>
<li>For the direction, select Outgoing.</li>
<li>Select SMTP. The Protocol value can be Windows Authentication or Clear Text.</li>
<li>In the Server field, type the FQDN of outgoing email server.</li>
<li>Make sure you are able to Telnet to port 25 using the IP address of the SMTP server.</li>
<li>In the Access Credentials list, select how the email router will gain access to the Exchange server. Preferably &ldquo;Other Specified&rdquo;. This account should have &ldquo;send as&rdquo; or &ldquo;send on behalf&rdquo; permissions<br />on all other mailboxes which are CRM users.</li>
<li>Once done setup a receive connector in Exchange to relay the email messages from Email Router. <a href="https://support.microsoft.com/kb/915827">https://support.microsoft.com/kb/915827</a></li>
</ol>
<p>Note When using an on-premises version of Microsoft Dynamics CRM, you can select User Specified. If you select this option, each Microsoft Dynamics CRM user must follow these steps to grant the email router access to the<br />Exchange mailbox:</p>
<p>a. Open the Microsoft Dynamics CRM web client.</p>
<p>b. On the File menu, click Options.</p>
<p>c. In the Set Personal Options dialog box, click&nbsp;the E-mail tab.</p>
<p>d. Select Allow E-Mail Router to use my credentials to send and receive e-mail on my behalf.</p>
<p>e. Have the user type his or her user name and password.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Click OK.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;11.&nbsp;&nbsp;&nbsp;&nbsp;In E-mail Router Configuration Manager, click Publish.</p>
<p><strong>Note </strong>When Delegate permissions are used in the email router, users must be set up to enable the email router to "send as" or "send on behalf of" the owner of the mailbox. To do this, follow<br />these steps:</p>
<ol>
<li>Open the Microsoft Dynamics CRM web client.</li>
<li>Click On the File menu, click Options.</li>
<li>In the Set Personal Options dialog box, click the E-mail tab.</li>
</ol>
<p>Select allow other Microsoft Dynamics CRM users to send email on your behalf.</p>
<p><strong>&nbsp;3) Configure email router with POP account.</strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. You need to get the configuration settings from POP service providers like Gmail etc.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. In almost every case these are the same settings which you will use to configure outlook client.</p>
<p>&nbsp;</p>
<p><strong>Enable Email Router Tracing</strong></p>
<p><a href="https://support.microsoft.com/kb/2862024">https://support.microsoft.com/kb/2862024</a></p>
<p>&nbsp;</p>
<p><strong>More details about Profiles / Authentication Type / Access Credentials / Forward Mailbox</strong></p>
<p><a href="https://technet.microsoft.com/en-us/library/hh699786.aspx">https://technet.microsoft.com/en-us/library/hh699786.aspx</a></p>
<p>&nbsp;</p>
<p><strong>Incoming Email Configuration Issues</strong></p>
<p><a href="https://msdn.microsoft.com/en-us/library/hh699737.aspx">https://msdn.microsoft.com/en-us/library/hh699737.aspx</a></p>
<p>&nbsp;</p>
<p><strong>Email Router Demystified- Know the Limitations.</strong></p>
<p><a href="https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2012/12/12/email-router-demystified-know-the-limitations.aspx">https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2012/12/12/email-router-demystified-know-the-limitations.aspx</a></p>
<p>&nbsp;</p>
<p><strong>Email Router Demystified - Troubleshooting part 1</strong></p>
<p><a href="https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2015/01/02/email-router-demystified-troubleshooting-part-1.aspx">https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2015/01/02/email-router-demystified-troubleshooting-part-1.aspx</a></p>
<p>&nbsp;</p>
<p><strong>Email Router Demystified - Troubleshooting part 2</strong></p>
<p><a href="https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2015/01/16/email-router-demystified-troubleshooting-part-2.aspx">https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2015/01/16/email-router-demystified-troubleshooting-part-2.aspx</a></p>
<p>&nbsp;</p>
<p><strong>Email Router Performance Based error messages</strong></p>
<p><a href="https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2013/09/06/crm-e-mail-router-performance-based-error-messages.aspx">https://community.dynamics.com/crm/b/dynamicscrmsupportblog/archive/2013/09/06/crm-e-mail-router-performance-based-error-messages.aspx</a></p>
<p>&nbsp;</p>
<p><strong>Email Router Configuration XML Explained.</strong></p>
<p><a href="https://blogs.msdn.com/b/crm/archive/2008/07/02/email-router-configuration-xml-file-explained.aspx">https://blogs.msdn.com/b/crm/archive/2008/07/02/email-router-configuration-xml-file-explained.aspx</a></p>
<p>&nbsp;</p>
<p><strong>Install Email Router on Multiple Computers</strong></p>
<p><a href="https://technet.microsoft.com/en-us/library/hh699708">https://technet.microsoft.com/en-us/library/hh699708</a></p>
<p>&nbsp;</p>
<p><strong>Large Scale Email Processing at Microsoft.</strong></p>
<p><a href="https://blogs.msdn.com/b/crm/archive/2007/07/20/large-scale-crm-email-processing-at-microsoft.aspx">https://blogs.msdn.com/b/crm/archive/2007/07/20/large-scale-crm-email-processing-at-microsoft.aspx</a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>CRM Integration with Unified Service Desk Setup</title>
      <link>https://docs.microsoft.com/archive/blogs/nadeem/crm-integration-with-unified-service-desk-setup</link>
      <pubDate>Fri, 14 Nov 2014 18:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Nadeem-Ansari]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nadeem/2014/11/14/crm-integration-with-unified-service-desk-setup/</guid>
      <description><![CDATA[Hello Everyone,
While I was working&nbsp;on USD integration with CRM, I had installed and configure...]]></description>
      <content:encoded><![CDATA[<p>Hello Everyone,</p>
<p>While I was working&nbsp;on USD integration with CRM, I had installed and configure USD with<br />my CRM online instance and wanted to share the same details. Although these<br />information are available online but I thought it would be good if I put them<br />together.</p>
<p>Before you can install and deploy Unified Service Desk for Microsoft Dynamics CRM, you must<br />identify the CRM instance on which you want to build and deploy the<br />configuration. While you can use a new CRM instance, Unified Service Desk works<br />best when the CRM customization is mostly complete. Unified Service Desk<br />controls the call center agent&rsquo;s view of Microsoft Dynamics CRM by manipulating<br />windows, injecting JavaScript, and so on. If major changes occur to the CRM<br />environment after Unified Service Desk is deployed, it might cause your Unified<br />Service Desk configuration to no longer work as required. While Unified Service<br />Desk configuration often comes later in a CRM implementation, having Unified<br />Service Desk in mind when designing your CRM environment is beneficial.</p>
<p>Unified Service Desk installation and deployment is done in phases where initially you set up a<br />development environment to configure agent applications using one of the sample<br />Unified Service Desk applications as the base. Next, you test how your<br />configurations appear and work using the Unified Service Desk client<br />application by connecting to the CRM instance where you configured Unified<br />Service Desk. Next, you deploy the customized Unified Service Desk<br />configuration on to a production instance of CRM, and the client application,<br />along with any files and assemblies required for your customizations, to your<br />agent&rsquo;s computers in your organization.</p>
<p>System Requirements for Unified Service desk.</p>
<p><a href="https://technet.microsoft.com/en-us/library/dn646882.aspx">https://technet.microsoft.com/en-us/library/dn646882.aspx</a></p>
<p><span style="color: #000000;"><strong>1</strong>. <strong>Install the Unified Service Desk client on the development computer</strong></span></p>
<p>a) Download: - <a href="https://www.microsoft.com/en-us/download/details.aspx?id=43110">https://www.microsoft.com/en-us/download/details.aspx?id=43110</a></p>
<p>&nbsp;&nbsp;&nbsp; For 32-bit version of Windows, download the UnifiedServiceDesk-i386.exe file.</p>
<p>&nbsp;&nbsp;&nbsp; For 64-bit version of Windows, download the UnifiedServiceDesk-amd64.exe file.</p>
<p>b) Double-click the downloaded file to extract the contents<br />into a folder.</p>
<ol>
<li>After the files are extracted, the Unified Service Desk client installer starts automatically. If<br />it doesn&rsquo;t, navigate to the extracted folder and run the<br />SetupUnifiedServiceDesk.exe file to begin the installation.</li>
<li>On the Welcome screen, click Next.</li>
<li>On the End-User License Agreement screen,<br />accept the terms in the license agreement by selecting the check box, and then<br />click Next.</li>
<li>On the Welcome screen, click Next.</li>
<li>On the User Registration screen, click Next.</li>
<li>The Installation Prerequisites screen displays the status of the<br />prerequisites check on your computer. You will not be able to proceed with the<br />installation if the prerequisites listed in the screen are not met. Click Next.</li>
<li>On the Destination Folder screen, specify the<br />folder where you want Unified Service Desk client to be installed. You can also<br />specify whether you want a desktop shortcut or a quick launch icon to be<br />created for the Unified Service Desk client. Click Next.</li>
<li>On the Ready to install screen, click Install.</li>
<li>The next screen displays the<br />installation status of the Unified Service Desk client. You are prompted to<br />authorize the installation as a result of User Account Control (UAC), Click Yes.</li>
<li>A confirmation message<br />appears on successful installation of the Unified Service Desk client. Click Finish to exit the installer.</li>
</ol>
<p><strong>2</strong>. <strong>Deploy a sample Unified Service desk Package using Package Deployer</strong>.</p>
<ol>
<li>Navigate to the<br />&lt;ExtractedFolder&gt;\USDPackageDeployer folder, and double-click the<br />PackageDeployer.exe file to run the Package Deployer tool.</li>
<li>In the <strong>Connect to Microsoft Dynamics CRM</strong><br />screen, provide authentication details to connect to the CRM instance where you<br />want to deploy the package. If you have multiple organizations, and want to<br />select the organization where you want to deploy the Unified Service Desk<br />package, select the <strong>Display list of available<br />organizations</strong> check box. Click <strong>Login</strong>.</li>
<li>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/0285.USD-1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/0285.USD_2D00_1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/0285.USD-1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/0285.USD_2D00_1.png" alt="" border="0" /></a></li>
<li>If you have multiple organizations and chose to select the organization that you<br />want to connect to in the previous step, the next screen displays the list of organizations. Select a CRM organization to connect to, and proceed.</li>
<li>On successful authentication, the next screen displays the packages available<br />for deployment. Read the description to determine the package that you<br />want to deploy, select the package, and then click Next.</li>
<li>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/5661.USD-2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/5661.USD_2D00_2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/5661.USD-2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/5661.USD_2D00_2.png" alt="" border="0" /></a></li>
<li>The next screen displays detailed information about the selected package and the things that will be<br />installed on your CRM instance. Review the information, and click Next.</li>
<li>The Ready to Install screen displays the package selected for<br />deployment and name of the CRM organization where it will be deployed to.<br />Review the information, and click Next.</li>
<li>The next screen displays the validation status of the<br />package selected to be deployed. After the validation completes successfully,<br />click Next.</li>
</ol>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/6406.USD-3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/6406.USD_2D00_3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/6406.USD-3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/6406.USD_2D00_3.png" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10. The next screen appears only if you selected a package other than the Base package in step 7.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If you selected the Base package to deploy, jump to the next step.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In this screen, specify the location where you want to copy the files or<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; assemblies that define the custom functionality implemented in the selected<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; package. This is required for rendering the custom functionality in the Unified<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service Desk client application. In this case, we copy the files to the C:\USD folder.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/8838.USD-4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/8838.USD_2D00_4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/8838.USD-4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/8838.USD_2D00_4.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11. After completing the package deployment, you must copy<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; these files (If CRM 2013 SP1 Product update package) to the Unified Service<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Desk client application installation directory which<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is C:\Program Files\Microsoft Dynamics CRM USD\USD, by default. You will be <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prompted to overwrite some files; accept to overwrite the files.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12. To configure any other client machine for USD. Install Unified Service Desk client on the system.<strong> </strong></p>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Follow the previous step.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;13. Verify If you have these 3 solutions installed in CRM.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/2781.USD-5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/2781.USD_2D00_5.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/2781.USD-5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/2781.USD_2D00_5.png" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14. If you have deployed the <strong>CRM 2013 SP1 with Product Updates</strong> package,&nbsp;you must manually activate the following<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; records in the <strong>Service Management </strong>area (<strong>Settings</strong><strong> &gt; </strong><strong>Service Management</strong>) that are created by the package:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/4578.USD-6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/4578.USD_2D00_6.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/4578.USD-6.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/4578.USD_2D00_6.png" alt="" border="0" /></a></p>
<p><strong>3.</strong> <strong>Run the Unified Service Desk Client, and connect to the CRM instance where the Unified Service Desk package<br />is deployed to verify if it runs successfully.</strong><strong></strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Start&nbsp; the Unified Service Desk client by double-clicking the application shortcut on<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; your desktop.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/6237.USD-7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/6237.USD_2D00_7.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/6237.USD-7.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/6237.USD_2D00_7.png" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2. In the Unified Service Desk sign-in page, provide authentication details to connect to<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;your CRM server. If you have multiple organizations, and want to select the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; organization where Unified Service Desk is deployed, select the Display list of available organizations<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check box. Click Login.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3. If you have multiple organizations, select the organization that you want to connect to.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; 4. The Unified Service Desk splash screen appears. The screen displays the information about the configuration<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data being read by the client in the background. Next, the main window appears<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that prompts you to enter your CRM server credentials. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type in your credentials, and then sign in to the Unified Service Desk client application.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;5. Below is the screen shot of the data synched in USD from CRM.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/7128.USD-8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/7128.USD_2D00_8.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/67/17/7128.USD-8.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-67-17/7128.USD_2D00_8.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><strong>4.</strong> <strong>Troubleshooting Package Deployment Issues.</strong></p>
<p>The Package Deployer tool provides logging support to record detailed information about<br />errors that can occur while signing in to the Microsoft Dynamics CRM instance<br />using the tool and deploying packages. There are three log files generated by<br />the tool that are available at the following location on the computer where you<br />run the tool:<br />c:\Users\&lt;UserName&gt;\AppData\Roaming\Microsoft\PackageDeployer\&lt;Version&gt;.</p>
<p>1. <em>Login_ErrorLog.log</em>: This provides information about the issues that<br />occurred while signing in to the CRM instance using the tool.</p>
<p>If there are any issues while signing in, a message appears on the sign-in screen of the tool with a link to<br />this log file stating that an error occurred while processing the sign-in<br />request and the user can view the error log.</p>
<p>You can click the link in the message to view this log file.</p>
<p>The log file is created the first time you encounter any sign-in issues in the tool. Thereafter, the log file<br />records information about any sign-in issues.</p>
<p>2. <em>PackageDeployer.log</em>: This provides detailed information about each<br />task performed in the tool during the deployment of the packages. You can view<br />the log file from the tool by clicking the View Log File link at the bottom of<br />the screen.</p>
<p>3.<em>ComplexImportDetail.log</em>: This provides detailed information about<br />the data imported in the last deployment using the tool.</p>
<p>Each time you deploy a package<br />using this tool, the existing details from the log file are moved to a file<br />called CompelxImportDetail._old.log in the same directory, and the<br />ComplexImportDetail.log file displays information about the latest import done<br />using the tool.</p>
<p>Configure<br />Diagnostics Loggings for Unified Service Desk.</p>
<p><a href="https://technet.microsoft.com/en-us/library/dn633607.aspx">https://technet.microsoft.com/en-us/library/dn633607.aspx</a>&nbsp;</p>
<p>Unified<br />Service Desk Walkthroughs</p>
<p><a href="https://technet.microsoft.com/en-us/library/dn749502.aspx">https://technet.microsoft.com/en-us/library/dn749502.aspx</a></p>
<p>&nbsp;</p>
<p>I hope this is helpful.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>