locked
reauthenticate within Crm 2011 in Outlook

    Question

  • I am using claim based authentication for my system.

    I have a button that will open a web resources (HTML page) on the opportunity form.

    What I noticed is that the web resource (HTML) ask to authenticate upon clicking on it in Outlook.

    Is there any way to eliminate this extra login prompt ?

    I think CRM is using the URL param and intepreting that it needs to open up IE and therefore IE (not Outlook) is making the prompt. My guess is that

    if there is a command that will redner the Webresource within Outlook then the login prompt will be gone.

     

    This is what I have for the button action:

     

     

    <CommandDefinition Id="demo.gfs_financialaccount.form.SendToePolicy.Command">
                <EnableRules></EnableRules>
                <DisplayRules>
                  <DisplayRule Id="demo.gfs_financialaccount.form.FormStateNotNew.DisplayRule" />
                  <DisplayRule Id="demo.gfs_financialaccount.OutlookAndWeb.DisplayRule" />
                </DisplayRules>
                <Actions>
                  <Url Address="$webresource:demo_CRMLifePipeSampleSSO.html" PassParams="true" WinMode="0" WinParams="width=1000,height=1200,location=no,menubar=no,resizable=yes,scrollbars=no,status=yes,toolbar=no" />
                </Actions>

     


    • Edited by patrick000 Thursday, September 1, 2011 11:49 PM
    Thursday, September 1, 2011 10:40 PM

All replies

  • Hi,

    Try using the webresource via a relative Url path i.e.

    <Url Address="../WebResources/demo_CRMLifePipeSampleSSO.html" PassParams="true" WinMode="0" WinParams="width=1000,height=1200,location=no,menubar=no,resizable=yes,scrollbars=no,status=yes,toolbar=no" />
               


     

     


    Jehanzeb Javeed

    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile

    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    Friday, September 2, 2011 12:22 AM
  • I tried using the relative path but no luck. It still pops up an IE window when clicking on the button on the form.

    I think it is a bug. Anyone knows if there is a workaround?

     

    Friday, September 2, 2011 7:10 AM
  • Hi Patrick,

    I have noticed the exact same problem and last night opened a support ticket with Microsoft as my previous post didn't get any responses. I found that if you open a web client and leave it minimised on your desktop, you don't get prompted for authentication when pressing the buttons in the Outlook client!

    I'll update this post when I get some feedback from my support ticket.

    Rob


    Microsoft Certified Technology Specialist (CRM) GAP Consulting Ltd Microsoft Community Contributor Award 2011
    Friday, September 2, 2011 7:26 AM
    Answerer
  • Hi Rob

    Thats an interesting workaround. I tried that and minimized the main window of outlook and still gets the login prompt when selecting a button.

    Maybe the reason it worked for you is that you are already logon thru IE?

    I have also opened a support incident with Microsoft hopefully with both of us pushing it is going to get fixed pretty soon.

     

    Friday, September 2, 2011 5:37 PM
  • Hi,

    I also have the same issue regarding IFD authentication prompt in Outlook client,

    PLUS it appears that relative paths (as per SDK) DO NOT work for attaching js and css to an html in this scenario -

    is it necessary to use full path using getServerUrl to attach these?

    Thanks

    Wednesday, September 7, 2011 9:11 AM
  • Hi,

    we are also facing with same problem. Did the issue got resolved? Please let us know the solution.

    Thanks,

    Srinivas


    srinivas

    Thursday, February 9, 2012 12:57 PM
  • What we have done is to call a function in our ribbon library and from there open a modeless dialog
    Thursday, February 9, 2012 1:02 PM