Microsoft Azure with Salesforce

OPSWAT MetaAccess can be easily integrated with an existing Microsoft Azure & Salesforce integration to ensure that a device is compliant with the organization's security policy before it is granted access to Salesforce. This ensures that the user is not only authenticated by Microsoft Azure, but also a device the user uses to access SaaS applications tested for risks and vulnerabilities such as infections or outdated operating systems, BEFORE it access an organization's cloud services.

To get started with implementing OPSWAT MetaAccess integration to enforce device posture check before granting a device to access Salesforce with Microsoft Azure Single Sign On (SSO) service. Y ou set up SSO between Microsoft Azure and Salesforce as guidelines in Azure Active Directory integration with Salesforce

After configuring SSO, you should test it out to make sure that SSO works as expected.

Now it's the time you can integrate MetaAccess with your Microsoft Azure & Salesforce by following the below steps. You can learn more details for each step here at 3.1.1. How to set it up?

Step 1. Enable Access Control on your MetaAccess account

  1. Log into the MetaAccess console

  2. Navigate to Secure Access > Protected Apps

  3. Check "Enable Secure Access".

  4. Click SAVE.

    images/download/attachments/5705694/enable_secure_access.png

Step 2. Add protected applications with IdP Method

  1. Download Azure Certificate: the next step is importing an Azure X.509 certificate to MetaAccess. This allows MetaAccess to verify users signing though a trusted Azure. Each identity provider has a unique X.509 certificate. Download the Azure X509 certificate by following these steps:

    1. Log into Azure Portal as Administrator

    2. Click Azure Active Directory on the left navigation

      images/docs.microsoft.com/en-us/azure/active-directory/media/active-directory-saas-dropboxforbusiness-tutorial/tutorial_general_01.png
      The Azure Active Directory button

    3. Navigate to Enterprise applications > All applications.

      images/docs.microsoft.com/en-us/azure/active-directory/media/active-directory-saas-dropboxforbusiness-tutorial/tutorial_general_02.png
      The Enterprise applications blade

    4. Select the Salesforce application

    5. Select tab Single sign-on. Scroll down to SAML Signing Certificate area and and click on "Certificate (Base64)" to download certificate

      images/download/attachments/5705694/image2020-3-2_14-31-3.png
  2. Collect Idp Login URL and User access URL

    1. Scroll down copy Login URL. Store the URL in somewhere for later use. For example https://login.microsoftonline.com/60244d0a-5473-4468-b743-f9cc479b7dab/saml2

      images/download/attachments/5705694/image2020-3-2_14-40-59.png
    2. Select Properties and copy User access URL. Store the URL in somewhere for later use. For example https://myapps.microsoft.com/signin/Salesforce/549c009f-5f75-4beb-9e53-a754dd43a3f4?tenantId=<your_tenant_id>

      images/download/attachments/5705694/image2020-3-2_14-55-10.png
  3. Collect Salesforce Logout URL: you can find this URL inside of Salesforce

    1. Log into your Salesforce account

    2. Click on your avatar, right click on Log Out and choose Copy link address to get log out URL

      images/download/attachments/5705694/image2020-3-2_14-45-27.png

    3. Store the log out URL in somewhere for later use

  4. Add the Azure Identity Provider. If you already have Azure IdP settings on your MetaAccess account, go to step 2.5 to add Salesforce application.

    1. Log into the MetaAccess console

    2. Navigate to Secure Access > Protected Apps

    3. Click Add New Protected App

    4. select IdP Method

    5. Select your IdP if you already added it or add a new IdP and fill in required fields for the Identity Provider

      1. IdP Name: an IdP name, for example: Azure

      2. IdP Certificate: upload Azure certificate you downloaded in Step 2.1

        images/download/attachments/5705694/Demo_IdP.PNG

    6. Click Continue

  5. Add Salesforce application:

    1. Enter required field

      1. Application: application name, for example: Salesforce

      2. IdP Login URL: Embedded "User access URL" which you have from Step 2.2

      3. Login URL: Embedded "Login URL" which you have from Step 2.2

      4. Logout URL: application logout URL which you have from Step 2.3

      5. Access Mode: pick an access mode you prefer. See details on the access modes at Step 2. Add protected applications with IdP Method

        images/download/attachments/5705694/idp_-_add_app.PNG
    2. Click ADD

  6. After saving your changes successfully, a SSO setup instruction will be shown, copy the ACS URL MetaAccess generated there and download OPSWAT Certificate. Note that this information can be found in the protected app's details later .

    images/download/attachments/5705694/add_app_-_last_step.png

Step 3. Configure Access Rules

Note: This step can be skipped if you have done this step in the past or you can use the default rules

  1. In MetaAccess console

  2. Navigate to Secure Access > Rules

  3. click "ADD NEW RULE" to add a new rule for this application OR you can update existing access rules to add this application

  4. With a new access rule, you need to specify how you would like to block/allow access a device from the application

    1. Rule name: a rule name, for example Block non-compliant devices

    2. Action: Block or Allow

    3. Configure conditions to do the action. Details at Step 3. Configure Access Rules

  5. Click ADD RULE

    images/download/attachments/5705694/image2018-3-9_13-54-13.png

Step 4. Update Applications settings on Identity Provider

  1. Log into Azure Portal as administrator

  2. Click Azure Active Directory.

  3. Navigate to Enterprise applications > All applications.

  4. Select the Salesforce application

  5. Select Single sign-on.

  6. Click the edit icon (pencil icon) on Basic SAML Configuration section

  7. Replace Reply URL with the MetaAccess URL which you got from Step 2.6

    images/download/attachments/5705694/image2020-3-2_15-4-18.png

  8. Click Save

Step 5. Configure SSO settings on applications

  1. Login to Salesforce as an administrator

  2. Select Setup

  3. Navigate to Security Controls > Single sign-on Settings and click Edit on application

    images/download/attachments/5705694/image2020-3-2_15-8-35.png

  4. Click on Choose File to upload the OPSWAT certificate that MetaAccess generated for your account (you downloaded in step 2.6)

    images/download/attachments/5705694/image2020-3-2_15-12-2.png

  5. Change Identity Provider Login URL to the ACS URL MetaAccess generated for your application that you got from Step 2.6

  6. Select Service Provider Initiated Request Binding to Redirect

  7. Click Save

Step 6: Test your integration

Follow guideline at Step 6: Test your integration to test your integration to verify if it works as your expectation.

DONE! CONGRATULATIONS.