{"id":57,"date":"2012-07-20T09:51:00","date_gmt":"2012-07-20T04:21:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=57"},"modified":"2012-07-20T09:51:00","modified_gmt":"2012-07-20T04:21:00","slug":"outlook-authentication-issue-fixed-in-rollup-8","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2012\/07\/outlook-authentication-issue-fixed-in-rollup-8\/","title":{"rendered":"Outlook Authentication issue fixed in Rollup 8"},"content":{"rendered":"<div dir=\"ltr\" trbidi=\"on\"><span>We have noticed this with the Online and IFD environment, that, if you are  using &#8220;CRM 2011 Outlook Client&#8221; and try to open any web resource like html file  and Silverlight application (.xap file) or any entity record  using\u00a0<strong>window.Open()<\/strong>\u00a0or\u00a0<strong>Response.Redirect()<\/strong>\u00a0then  you get prompt for user name and password.<\/span><br \/><span><\/span><\/p>\n<div><span><span>Window.Open() methods opens the CRM record in the  browser (IE) and outlook does not pass your CRM credential. As you are not  logged-in in the CRM from browser (IE), it asks credentials of  user.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span>If you are already logged-in from browser and open  CRM record from Outlook client then it will not prompt for the user  credential.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span>Microsoft has released Rollup 8 which exposes two new  methods through SDK. These methods will open window in the process Outlook.exe  instead of Iexplore.exe. So it will not ask for credentials.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div sizcache=\"19\" sizset=\"191\"><span><span>Below are two methods: <\/span><\/span><\/p>\n<div><span><\/span>\u00a0<\/div>\n<p><span><\/span><\/p>\n<div><span><span><strong>\u00a0 \u00a0  \u00a01)<span>\u00a0\u00a0<\/span><\/strong><\/span><strong><span>openWebResource(string  webResourceName, string webResourceData, int width, int   height):<\/span><\/strong><\/span><\/div>\n<p><span><\/span><br \/><span>This opens a HTML web resource page.<\/span><\/p>\n<p><span><\/span><\/p>\n<div><span><span><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span>i.<span>\u00a0  \u00a0<\/span>webResourceName: This is the name of the web resource that you want to  open.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  \u00a0<\/span>ii.<span>\u00a0\u00a0<\/span>webResourceData: Parameter that is to passed to the  web resource. Web page (HTML) or Silverlight Web resource page can only accept a  single custom parameter called\u00a0<strong>data<\/strong>.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span>iii.\u00a0width: Width  of the window<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  \u00a0\u00a0<\/span>iv.<span>\u00a0\u00a0<\/span>height: Height of the window.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span>\u00a0e.g.  Xrm.Utility.openWebResource(&#8220;new_\/pages\/test.html&#8221;,null,700,700);<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><\/div>\n<p><span><\/span><\/p>\n<div><span><\/span>\u00a0<\/div>\n<div><span><\/span>\u00a0<\/div>\n<p><span><\/span><\/p>\n<div><span><span><strong>\u00a0\u00a0\u00a0  \u00a02)\u00a0<span>\u00a0<\/span><\/strong><strong>openEntityForm(string name, string id,  Dictionary parameters):<\/strong><\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span>This opens an entity form dialog e.g. Account  record.<\/span><\/span><\/div>\n<div><span><\/span>\u00a0<\/div>\n<p><span><\/span><\/p>\n<div><span><span><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  \u00a0\u00a0<\/span>i.<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>name: Name of the entity of which record is  to be opened. e.g. account.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span>ii.<span>\u00a0 \u00a0 \u00a0  \u00a0 \u00a0 \u00a0<\/span>id: GUID of the record. e.g.  &#8220;89A2F3FB-18FF-E011-A003-00155D005515&#8221;.<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><span><span><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span>iii.<span>\u00a0 \u00a0 \u00a0  \u00a0 \u00a0\u00a0<\/span>parameters: Parameter that is to passed to the record.\u00a0<\/span><\/span><\/div>\n<p><span><\/span><\/p>\n<div><\/div>\n<p><span><\/span><\/p>\n<div><span><span>e.g.  Xrm.Utility.openEntityForm(&#8220;account&#8221;,&#8221;89A2F3FB-18FF-E011-A003-00155D005515&#8243;,null)<\/span><\/span><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>We have noticed this with the Online and IFD environment, that, if you are using &#8220;CRM 2011 Outlook Client&#8221; and try to open any web resource like html file and Silverlight application (.xap file) or any entity record using\u00a0window.Open()\u00a0or\u00a0Response.Redirect()\u00a0then you get prompt for user name and password. Window.Open() methods opens the CRM record in the\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2012\/07\/outlook-authentication-issue-fixed-in-rollup-8\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[13,20,21,22,24],"tags":[179,821,1289,1837],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-customizations","category-dynamics-crm-2011","category-dynamics-crm-2013","category-dynamics-crm-2015","category-dynamics-crm-2016","tag-authentication-issue","tag-fix","tag-outlook","tag-window-open"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}