Skip to main content

Azure Billing Credentials

Billing Account Information Required

warning

To ensure you can fully access and use our product, we require you to provide your Azure billing account information. This step is mandatory for using Cross4Cloud (C4C) or any C4C services related to Azure and must be completed before proceeding with the setup. Completing this step unlocks access to our product and its related features.

Please follow the instructions below to ensure you can use our services properly.


1. Subscription Adding

info

If you don't have a subscription for your Azure account, you need to first add a subscription. You can follow the steps below. However, if you already have a subscription, you can skip this section.

  1. Go to Azure Portal and log in to your account.

  2. Go to the search bar and look for Subscriptions, then choose Subscriptions under Services.

Show the instructions with images

Azure Step 2

  1. Click on the Add button located at the top.
Show the instructions with images

Azure Step 3

  1. Choose the offer that suits you and proceed.
Show the instructions with images

Azure Step 4

  1. After selecting the appropriate offer, follow the steps on the page directed by Azure. After creating your profile, complete the process by verifying your identity with card authentication.

2. App Registration

  1. Go to Azure Portal and log in to your account.

  2. Go to the search bar and look for App registrations, then choose App registrations under Services.

Show the instructions with images

Azure Step 2

  1. Click New Registration on the top.
Show the instructions with images

Azure Step 3

  1. Fill up the given inputs (name and supported account types) and click Register.

    note

    You can choose a proper Supported Account Type as your need.

    warning

    Keep the name information you will need it later.

Show the instructions with images

Azure Step 4

  1. You will be navigated to a page that contains your Application (client) ID and Directory (tenant) ID.

    CRITICAL STEP

    Keep your Application (Client) ID and Directory (Tenant) ID accessible, as you will need them as credentials for performing operations in our console.

Show the instructions with images

Azure Step 5

  1. Click Certificates & Secrets from the Manage section in the left-hand menu.
Show the instructions with images

Azure Step 6

  1. Create a client secret by clicking on the New client secret button. After providing a description for your client secret, proceed to click the Add button. Choosing the longest possible duration for the "expires" option is important.

    CRITICAL STEP

    After clicking the Add button, you will see your Value on the same page. Copy it and keep it accessible, as you will need it as a credential for operations in our console.

Show the instructions with images

Azure Step 7


3. Getting Subscription ID

  1. Go to the search bar and search for Subscriptions, then click Subscriptions under Services.
Show the instructions with images

Azure Step 1

  1. After opening the page, copy your Subscription ID somewhere accessible for future reference.

    CRITICAL STEP

    Make sure to copy your Subscription ID and keep it accessible, as you will need it as a credential for operations in our console.

Show the instructions with images

Azure Step 2


4. Adding C4C Custom Role

Now, we need to create the role that contains the necessary permissions.

We can do this in two ways: the first is with a file, and the second is with a code block.

The file method includes performing the necessary actions along with a file we will provide you.

The code block method, on the other hand, involves pasting the code into the relevant location under the same section.

You can proceed by selecting your preference.

If you wish to proceed with this method, please follow the steps below.

  1. Go to the search bar and search for Subscriptions, then click Subscriptions under Services.
Show the instructions with images

Azure Step 1

  1. Click on your related Subscription Name.
Show the instructions with images

Azure Step 2

  1. Click on Access Control (IAM) from the left-hand menu, then click on the Add button above, and select Add custom role.
Show the instructions with images

Azure Step 3

  1. Select the Start from JSON option, for the Baseline Permissions.

Download this file, for the relevant permissions.

warning

In some cases, the file may not download directly. To avoid this issue:

  1. Right-click on the this file link.

  2. Select Save link as... from the context menu.

  3. Choose a location where you can easily access the file for further steps.

This ensures the file is saved properly for later use.

  1. Click the Select a file section and locate and select the file you downloaded in the previous step on your computer.
Show the instructions with images

Azure Step 4-5

  1. Click JSON tab from the top, then click the Edit button.
Show the instructions with images

Azure Step 6

  1. In the pasted code block, locate the expression /subscriptions/{YOUR_SUBSCRIPTION_ID} and replace YOUR_SUBSCRIPTION_ID with the subscription ID we asked you to save earlier.
Show the instructions with images

Azure Step 7

  1. After editing the code, click on the Save button.
Show the instructions with images

Azure Step 8

  1. Click Review + create tab from the top then click the Create button located at the bottom left of the page.
Show the instructions with images

Azure Step 9

You should have received a system message indicating that the role has been successfully created.


5. Role Assignment

In this step, you will assign the necessary roles to the app you registered earlier. To ensure proper permissions, assign the following roles:

  • Cost Management Reader
  • C4C Custom Role

These roles are essential for enabling the app to access required resources and perform specific tasks. To assign these roles to the app, follow the instructions below.

  1. Click Access Control (IAM) in the left menu under your subscription, then click the Add button at the top of the page and select Add role assignment.
Show the instructions with images

Azure Step 1

  1. Click Job function roles under the Role tab.
Show the instructions with images

Azure Step 2

  1. Search for the Cost Management Reader and select it.
Show the instructions with images

Azure Step 3

  1. You should be navigated to the Members tab. In that section click +Select members.
Show the instructions with images

Azure Step 4

  1. Search for the name of your app which we registered at App Registration. Then click Select button.
Show the instructions with images

Azure Step 5

  1. Afterward click Next button, which located bottom of the page. You must be navigated to Conditions tab.
Show the instructions with images

Azure Step 6

  1. For getting the required permissions, please select 'Allow user to assign all roles' option for What user can do section.
Show the instructions with images

Azure Step 7

  1. Click Review + assign button.
Show the instructions with images

Azure Step 8

You must get an notification that says Added Role assignment.

Critical Step

Make sure that both the Cost Management Reader and C4C Custom Role for Billing are assigned correctly.