Configure a Subscription Account [New]

On May 1, 2019, Azure rolled out changes to App registrations. Please follow the instructions in this topic if you are using the new App registrations. To review a list of what has changed, see the training guide.

To allow CloudCheckr to access the resources associated with your Azure subscription, you must create a connection between Azure and CloudCheckr.

In the Azure world, a subscription is a bundle of services and resources. Azure customers access those service and resources through the Azure Active Directory, which is Microsoft's cloud-based identity and access management tool.

To integrate your Azure subscription with CloudCheckr, you will need to perform two steps:

  • In Azure, you will access your subscription and create and register an app that will communicate with Azure Active Directory.
  • In CloudCheckr, you will apply the values associated with your Azure Active Directory account and new app to allow Cloudcheckr to monitor your resources.


Configure Your Subscription in Azure

  1. Log in to the Azure management portal.
    The portal link you choose depends on your subscription type:

    The Azure portal opens and displays the directory that contains the subscription you need to configure.

  2. From the left navbar, click Azure Active Directory.

    The Active Directory blade opens.
  3. Select Properties from the list.

    The Properties blade opens.
  4. Locate the directory ID and copy it.

  5. In the Manage section of the Azure Active Directory blade, click App registrations.

    The App registration blade opens.

  6. Click New registration.

    The Register an application blade opens.

  7. Create your application:

    1. Type a name for your application.
    2. Under Supported account types, leave the default setting: accounts in this organizational directory only
    3. Under Redirect URI (optional), leave the default drop-down option, Web, and in the blank text field, type https://localhost
    4. Click Register.

      Details about your new app display on the right side of the screen.
  8. Copy the Application ID.

  9. In the Manage section of the application blade, click Certificates & secrets.

    The Certificates & secrets blade opens.
  10. Under Client secrets, click New client secret.

    The Add a client blade now displays.

  11. Type a name for the client secret, select when you want it to expire, and click Add.

    Azure creates a new client secret.

  12. Copy the value of the client secret and save it immediately since you will not be able to view it again.

    You will now have three values: Directory ID, Application ID, and the client secret.

  13. From the left navbar, click All resources.

    The All resources blade opens.

  14. From the list, select the resource that you want CloudCheckr to monitor.

    The blade for the selected resource opens.

  15. Locate the Subscription ID and copy it.

  16. From the blade of the selected resource, click Access control (IAM).

    The Access control (IAM) blade opens.
  17. Select Add > Add Role Assignment.

    The Add role assignment blade opens.
  18. Create a role assignment:
    1. From the Role drop-down list, select Reader.
    2. In the Select text field, type the name of the application that you created.
    3. Click Save.

      The Access control (IAM) blade lists your application with the Reader role.


Configure Your Subscription Account in CloudCheckr

Before CloudCheckr can access your Azure resources, you need to create an Azure account in CloudCheckr and configure that account to collect your resources from your Azure subscription.

  1. From the top right of the Partners page, click the NEW ACCOUNT button.

    The New Account screen displays.
  2. Type a name for your account. If needed, you can change the name later.
  3. From the Cloud Provider drop-down menu, select Microsoft Azure.
  4. Click Create.

    The Configure Account page opens.

  5. Click the drop-down arrow and select Collect resource information from my Azure subscription from the drop-down menu.

    The Configuration page displays the subscription instructions.
  6. Provide the required information from the Azure portal.
    • Directory ID
    • Application ID
    • Subscription ID
    • Client secret

      CloudCheckr is in the process of updating its instructions to match the most recent Azure changes. For now, paste the client secret in the text field associated with the key value.
  7. From the Azure Account Type drop-down menu, select Commercial, Government, or Germany.
  8. Click Update.

    CloudCheckr will now begin to monitor your Azure resources.

    If you have a Pay-as-You-Go subscription, CloudCheckr will automatically display the Edit Billing Configuration page, but the options will be pertinent to usage and data collection. Review the Edit Billing Configuration: Pay-as-You-Go Subscriptions topic for more information.


How did we do?