Accelerator IIS Auto Login

From Accelerator for SageCRM

The following values need to be set in Web.Config for IIS Auto Login with Default Credentials to be set:

<add key="GatewayCRMPath" value="http://www.server.com/crm/"/>
<add key="CRMCodedPath" value=" http://www.server.com/crm/"/>
<add key="UseIISAutoLogon" value="Y"/>
<add key="UseIISAutoLogonGlobalPassword" value="N"/>
<add key="IISAutoLogonGlobalPassword" value="" />

Check both IIS Auto Logon and IIS Auto Logon (Default Credentials) in the settings of the Outlook Add-in

Fill in CRM User Name and leave CRM Password blank


To setup IIS Auto Login without Default Credentials setup the Web.Config as if with Default Credentials, but delete keys CRMCodedPathUser, CRMCodedPathUserPassword and CRMCodedPathUserDomain

Only check IIS Auto Logon in the settings of the Outlook Add-in

Fill in CRM User Name and leave CRM Password blank

On Start-up, get an error that Outlook is offline, but then are prompted to enter password:



In 2017 R3 you must add in the settings

   <add key="CRMNetworkUser" value="administrator" />
   <add key="CRMNetworkUserPassword" value="password" />
   <add key="CRMNetworkDomain" value="" />
   <add key="CRMNetworkUserAuthType" value="Basic" />

and set the values to a user that has permissions to access the server. If you don't do this you will see 401 errors in IIS.


Sanity check

Make sure that in the "Authentication" section for the CRM node you set the "Anonymous" to be disabled. It seems to break logging on to the SOAP web-services if you do not.



401 Errors can also occur if the "authentication" "Anonymous Authentication" is not enabled at the CRM node level in IIS.