by SuiteCRM

Official SuiteCRM Outlook Plugin v4 has arrived - Compatible with the Outlook Web App or Outlook 2016+ connected to Office365 or Exchange Server 2016. A complete rebuild developed and maintained by SuiteCRM developers, the addon retains previous functionality while massively improves performance, reliability and stability!

Cancel at any time!
Free Trial

#3180 - How to get Outlook Addin working with SuiteCRM hosted on IIS (Api routing)

Closed Installation created by cjacob 3 years ago

I am hosting SuiteCRM on a Windows Server using IIS. Since the Outlook-Addin uses the SuiteCRM Api, I need to configure IIS respectively. Unfortunately, I do not know, how. When calling https://suitecrm.local/Api/access_token I receive an error telling me the resource does not exist. Calling https://suitecrm.local/Api/index.php/access_token works and results in a message saying "Method not allowed. Must be one of: POST"

What do I need to do in IIS to get the api working?

  1. cjacob member avatar

    cjacob

    3 years ago

    After researching this topic, I found the solution. You need to install the UrlRewrite Module for IIS from Microsoft and then you can either configure it using the IIS Manager or manually by adding the following lines to the web.config file:

        <rewrite>
            <rules>
                <rule name="Rule 1R" stopProcessing="true">
                    <match url="^Api/access_token$" />
                    <action type="Rewrite" url="/Api/index.php/access_token" />
                </rule>
                <rule name="Rule R2" stopProcessing="true">
                    <match url="^Api/V8/(.*?)$" />
                    <action type="Rewrite" url="/Api/index.php/V8/{R:1}" />
                </rule>
                <rule name="Rule R3">
                    <match url="^Api/(.*)$" />
                    <action type="Rewrite" url="/-" />
                </rule>
            </rules>
        </rewrite>
    
  2. suitecrm member avatar

    SuiteCRM Provider Affiliate

    3 years ago

    Hi there,

    Glad to hear you found the resolution to your problem.

    If you have any further questions or problems please let me know however for now since its no longer needed I'll close this case over.

    Thanks, Mac

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
  • "It works very good. You should deactivate the contacts sync on the first run, because it sorts the contacts in the main folder and thus uploads duplic..." - Wieland

    Read More Reviews