Google Cloud (G Suite) integration through Azure Active Directory single sign-on (SSO)

When you integrate Google Cloud (G Suite) Connector with Azure AD, you can: Control in Azure AD who has access to Google Cloud (G Suite) Connector. Enable your users to be automatically signed-in to Google Cloud (G Suite) Connector with their Azure A

Prerequisites

To get started, you need the following items:

  • An Azure AD subscription.
  • Google Cloud (G Suite) Connector single sign-on (SSO) enabled subscription.
  • A Google Apps subscription or Google Cloud Platform subscription.

To test the steps in this tutorial, you should follow these recommendations:

  • Do not use your production environment, unless it is necessary.
  • If you don't have a subscription, you can get a free account.

 

Adding Google Cloud (G Suite) Connector from the gallery

To configure the integration of Google Cloud (G Suite) Connector into Azure AD, you need to add Google Cloud (G Suite) Connector from the gallery to your list of managed SaaS apps.

  1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
  2. On the left navigation pane, select the Azure Active Directory service.
  3. Navigate to Enterprise Applications and then select All Applications.
  4. To add new application, select New application.
  5. In the Add from the gallery section, type Google Cloud (G Suite) Connector in the search box.
  6. Select Google Cloud (G Suite) Connector from results panel and then add the app. Wait a few seconds while the app is added to your tenant.

Configure and test Azure AD single sign-on for Google Cloud (G Suite) Connector

Configure and test Azure AD SSO with Google Cloud (G Suite) Connector using a test user called B.Simon. For SSO to work, you need to establish a link relationship between an Azure AD user and the related user in Google Cloud (G Suite) Connector.

To configure and test Azure AD SSO with Google Cloud (G Suite) Connector, perform the following steps:

  1. Configure Azure AD SSO - to enable your users to use this feature.
    1. Create an Azure AD test user - to test Azure AD single sign-on with B.Simon.
    2. Assign the Azure AD test user - to enable B.Simon to use Azure AD single sign-on.
  2. Configure Google Cloud (G Suite) Connector SSO - to configure the single sign-on settings on application side.
    1. Create Google Cloud (G Suite) Connector test user - to have a counterpart of B.Simon in Google Cloud (G Suite) Connector that is linked to the Azure AD representation of user.
  3. Test SSO - to verify whether the configuration works.

Configure Azure AD SSO

Follow these steps to enable Azure AD SSO in the Azure portal.

  1. In the Azure portal, on the Google Cloud (G Suite) Connector application integration page, find the Manage section and select single sign-on.

  2. On the Select a single sign-on method page, select SAML.

  3. On the Set up single sign-on with SAML page, click the pencil icon for Basic SAML Configuration to edit the settings.

    Edit Basic SAML Configuration

  4. On the Basic SAML Configuration section, if you want to configure for the Gmail perform the following steps:

    a. In the Sign-on URL textbox, type a URL using the following pattern: https://www.google.com/a/<yourdomain.com>/ServiceLogin?continue=https://mail.google.com

    b. In the Identifier textbox, type a URL using the following pattern:

    HTTPCopy
    google.com/a/<yourdomain.com>
    google.com
    https://google.com
    https://google.com/a/<yourdomain.com>

    c. In the Reply URL textbox, type a URL using the following pattern:

    HTTPCopy
    https://www.google.com/acs
    https://www.google.com/a/<yourdomain.com>/acs
  5. On the Basic SAML Configuration section, if you want to configure for the Google Cloud Platformperform the following steps:

    a. In the Sign-on URL textbox, type a URL using the following pattern: https://www.google.com/a/<yourdomain.com>/ServiceLogin?continue=https://console.cloud.google.com

    b. In the Identifier textbox, type a URL using the following pattern:

    HTTPCopy
    google.com/a/<yourdomain.com>
    google.com
    https://google.com
    https://google.com/a/<yourdomain.com>

    c. In the Reply URL textbox, type a URL using the following pattern:

    HTTPCopy
    https://www.google.com/acs
    https://www.google.com/a/<yourdomain.com>/acs

    Note

    These values are not real. Update these values with the actual Sign-On URL and Identifier. Google Cloud (G Suite) Connector doesn't provide Entity ID/Identifier value on Single Sign On configuration so when you uncheck the domain specific issuer option the Identifier value will be google.com. If you check the domain specific issuer option it will be google.com/a/<yourdomainname.com>. To check/uncheck the domain specific issuer option you need to go to the Configure Google Cloud (G Suite) Connector SSO section which is explained later in the tutorial. For more information contact Google Cloud (G Suite) Connector Client support team.

  6. Your Google Cloud (G Suite) Connector application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows an example for this. The default value of Unique User Identifier is user.userprincipalname but Google Cloud (G Suite) Connector expects this to be mapped with the user's email address. For that you can use user.mail attribute from the list or use the appropriate attribute value based on your organization configuration.

    image

  7. On the Set up single sign-on with SAML page, in the SAML Signing Certificate section, find Certificate (Base64) and select Download to download the certificate and save it on your computer.

    The Certificate download link

  8. On the Set up Google Cloud (G Suite) Connector section, copy the appropriate URL(s) based on your requirement.

    Copy configuration URLs

    LogoutCopy
    https://login.microsoftonline.com/common/wsfederation?wa=wsignout1.0

Create an Azure AD test user

In this section, you'll create a test user in the Azure portal called B.Simon.

  1. From the left pane in the Azure portal, select Azure Active Directory, select Users, and then select All users.
  2. Select New user at the top of the screen.
  3. In the User properties, follow these steps:
    1. In the Name field, enter B.Simon.
    2. In the User name field, enter the username@companydomain.extension.
      For example, B.Simon@contoso.com.
    3. Select the Show password check box, and then write down the value that's displayed in the Password box.
    4. Click Create.

Assign the Azure AD test user

In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Google Cloud (G Suite) Connector.

  1. In the Azure portal, select Enterprise Applications, and then select All applications.
  2. In the applications list, select Google Cloud (G Suite) Connector.
  3. In the app's overview page, find the Manage section and select Users and groups.
  4. Select Add user, then select Users and groups in the Add Assignment dialog.
  5. In the Users and groups dialog, select B.Simon from the Users list, then click the Select button at the bottom of the screen.
  6. If you are expecting a role to be assigned to the users, you can select it from the Select a role dropdown. If no role has been set up for this app, you see "Default Access" role selected.
  7. In the Add Assignment dialog, click the Assign button.

Configure Google Cloud (G Suite) Connector SSO

  1. Open a new tab in your browser, and sign into the Google Cloud (G Suite) Connector Admin Console using your administrator account.

  2. Click Security. If you don't see the link, it may be hidden under the More Controls menu at the bottom of the screen.

    Click Security.

  3. On the Security page, click Set up single sign-on (SSO).

    Click SSO.

  4. Perform the following configuration changes:

    Configure SSO

    a. Select Setup SSO with third-party identity provider.

    b. In the Sign-in page URL field in Google Cloud (G Suite) Connector, paste the value of Login URLwhich you have copied from Azure portal.

    c. In the Sign-out page URL field in Google Cloud (G Suite) Connector, paste the value of Login URLwhich you have copied from Azure portal.

    Note

    Google cloud (G Suite) is based on SAML Logout protocol. So, In the Sign-out page URL field we need to use the SAML Logout URL i.e. the login URL as the value for the same.

    d. In Google Cloud (G Suite) Connector, for the Verification certificate, upload the certificate that you have downloaded from Azure portal.

    e. Check/Uncheck the Use a domain specific issuer option as per the note mentioned in the above Basic SAML Configuration section in the Azure AD.

    f. In the Change password URL field in Google Cloud (G Suite) Connector, paste the value of Change password URL which you have copied from Azure portal.

    g. Click Save.

Create Google Cloud (G Suite) Connector test user

The objective of this section is to create a user in Google Cloud (G Suite) Connector called B.Simon. After the user has manually been created in Google Cloud (G Suite) Connector, the user will now be able to sign in using their Microsoft 365 login credentials.

Google Cloud (G Suite) Connector also supports automatic user provisioning. To configure automatic user provisioning, you must first configure Google Cloud (G Suite) Connector for automatic user provisioning.

Note

Make sure that your user already exists in Google Cloud (G Suite) Connector if provisioning in Azure AD has not been turned on before testing Single Sign-on.

Note

If you need to create a user manually, contact the Google support team.

Test SSO

In this section, you test your Azure AD single sign-on configuration with following options.

  • Click on Test this application in Azure portal. This will redirect to Google Cloud (G Suite) Connector Sign-on URL where you can initiate the login flow.

  • Go to Google Cloud (G Suite) Connector Sign-on URL directly and initiate the login flow from there.

  • You can use Microsoft My Apps. When you click the Google Cloud (G Suite) Connector tile in the My Apps, this will redirect to Google Cloud (G Suite) Connector Sign-on URL. For more information about the My Apps, see Introduction to the My Apps.