<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MS Dynamics CRM Blog from Polish CRM-BI Team : CRM Queue</title><link>http://blogs.technet.com/crmbipl/archive/tags/CRM+Queue/default.aspx</link><description>Tags: CRM Queue</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to properly add CRM Queue?</title><link>http://blogs.technet.com/crmbipl/archive/2007/10/22/how-to-properly-add-crm-queue.aspx</link><pubDate>Mon, 22 Oct 2007 18:21:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2228900</guid><dc:creator>CRMBIPL</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/crmbipl/comments/2228900.aspx</comments><wfw:commentRss>http://blogs.technet.com/crmbipl/commentrss.aspx?PostID=2228900</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Question might look simply, but I lose few hours to force it to work… Before we start to add a queue, let’s make some assumptions:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l1 level1 lfo1"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;1.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Microsoft CRM 3.0 is installed&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l1 level1 lfo1"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;2.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Microsoft Exchange 2003 is installed (on Windows Server 2003 – this is supported configuration)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0cm 0cm 10pt 36pt; TEXT-INDENT: -18pt; mso-list: l1 level1 lfo1"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;3.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Microsoft CRM Exchange E-Mail Router is installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;I suppose that installed software is configured correctly, and replying for a message with valid CRM token generates CRM activity. In such a clean situation we can start to add a queue. First of all, create user in AD, but user has to be disabled and should have proper rights granted. Just to verify, open &lt;I style="mso-bidi-font-style: normal"&gt;Active Directory Users and Computers&lt;/I&gt; and &lt;I style="mso-bidi-font-style: normal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo2"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;-&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;on the Account tab verify, that ‘Account is disabled’ option is checked&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo2"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;-&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;on the ‘Exchange Advanced’ tab click Mailbox Rights and verify, that &lt;B style="mso-bidi-font-weight: normal"&gt;Allow &lt;/B&gt;is checked for the &lt;B style="mso-bidi-font-weight: normal"&gt;SELF&lt;/B&gt; account for “Full mailbox access” and “Associated external account” permissions&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0cm 0cm 10pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo2"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;-&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;on the ‘Exchange Advanced’ tab click “Custom Attributes” and verify, that CRMEmailEnabled value is present&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;In some places we can encounter attribute CrmMailEnabled instead of CrmEmailEnabled. As far as I know, queue works with both of them, but I use CRMEmailEnabled, following the “CRM Installation and Configuration course”. Before closing User Properties, copy user’s E-mail to clipboard. That’s all stuff, that we need from Active Directory. &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Second part will be done in Microsoft CRM, so open main CRM page and go to Settings -&amp;gt; Business Unit Settings -&amp;gt; Queues and click &lt;B style="mso-bidi-font-weight: normal"&gt;New&lt;/B&gt;. Type Queue Name, paste e-mail copied just before, choose Owner and Business Unit and click ‘Save and Close’.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Verify that ‘&lt;B style="mso-bidi-font-weight: normal"&gt;All incoming e-mail&lt;/B&gt;’ option is checked. That all the stuff from the CRM side… &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US"&gt;And now… that it is the place where I lost much time. I was thinking (following the mentioned CRM Installation and Configuration course) that it should works at this place… But in effect, if I send message to CRM Queue nothing happens. I checked, that messages are sent (I mean present in Exchange Mailbox – it can be &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;checked in Microsoft Exchange System Manager), but message is not delivered to CRM Queue. The question is why message cannot be delivered? Or maybe, why CRM cannot receive message? Solution is simple, and it is described in Microsoft CRM Implementation Guide:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; TEXT-ALIGN: center" align=center&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Choose to &lt;SPAN style="mso-bidi-font-weight: bold"&gt;Deploy Rule to Users Mailboxes&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;This is done by “Rule Deployment Wizard” tool, which &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold"&gt;is installed with Microsoft CRM &lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Exchange E-mail Router.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;After that everything should works properly. If not, there is one more issue, described in KB 921389 – “E-mail messages from internal Microsoft Dynamics CRM users are not delivered&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold"&gt;…&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;” &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;where the key is &lt;B&gt;internal CRM user&lt;/B&gt;. In such a case, verify that mails from CRM users are not excluded. This option can be found in “Settings -&amp;gt; Organizational Settings -&amp;gt; System Settings” on the “E-mail Tracking tab”&lt;/SPAN&gt;&lt;SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold"&gt;. Verify that “&lt;B&gt;No&lt;/B&gt;” is selected in “Set whether to exclude e-mails between Microsoft CRM users” option.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2228900" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/crmbipl/archive/tags/MS+Dynamics+CRM/default.aspx">MS Dynamics CRM</category><category domain="http://blogs.technet.com/crmbipl/archive/tags/mail+not+delivered/default.aspx">mail not delivered</category><category domain="http://blogs.technet.com/crmbipl/archive/tags/CRM+Queue/default.aspx">CRM Queue</category><category domain="http://blogs.technet.com/crmbipl/archive/tags/mail+delivery/default.aspx">mail delivery</category></item></channel></rss>