Skip to main content

Getting Credentials for All C4C Services

You are required to perform some operations in Microsoft Azure to configure your Azure provider in our system. The images attached below will guide you. Please follow the instructions below.


1. Subscription Adding

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 Application (client) ID and Directory (tenant) ID where you can reach, you will need them for further operations in our console.

Show the instructions with images

Azure Step 5

  1. Click Certificate & Secrets on the left 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

    You will see your Value on the same page after clicking the add button. Copy and keep it somewhere you can reach later.

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

    Please be sure you have copied your Subscription ID somewhere you can reach later.

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.

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

    warning

    After selecting the relevant file, the system will automatically generate a Custom role name with C4C Custom Role AllServices.

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

  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 Priveleged administrator roles under the Role tab.
Show the instructions with images

Azure Step 2

  1. Then search for the role (C4C Custom Role) that we cerated earlier and select it from the list. Afterward click Next button.
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

You should also proceed these steps to assign Reader and Reader and Data Access roles too. But they not be listed under Priveleged administrator roles, please check Job function roles section too.


6. Administrative Role Assignment

  1. Click the search bar and seacrh for Microsoft Entra ID.

  2. Under Services click Microsoft Entra ID.

Show the instructions with images

Azure Step 1-2

  1. On the opened page, click on Roles and administrators from the left menu.
Show the instructions with images

Azure Step 3

  1. After entering the Roles and Administrators section, locate Application Administrator role in the list in front of you and click on it.
Show the instructions with images

Azure Step 4

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

Azure Step 5

  1. In the opened section, you need to find and select the application you previously registered. (The application we registered at App Registration step.)

    CRITICAL STEP

    Please search for the name of the application in the search bar for this process. It will not appear if you try to find it manually.

  2. After finding your app, click on it and select it.

Show the instructions with images

Azure Step 6-7

  1. Finally, click on the Add button.
Show the instructions with images

Azure Step 8


7. Resource Provider Enabling

It's crucial to confirm that certain providers are registered within your subscription. Follow the steps below to verify and, if necessary, register the providers.

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

Azure Step 1

  1. Click on the subscription you selected when obtaining your credentials.

  2. Open the Resource providers section from the side menu.

Show the instructions with images

Azure Step 3

  1. In the Resource providers menu, you can use the search bar or scroll down to locate the

    • Microsoft.DataFactory
    • Microsoft.SignalRService
    • Microsoft.AppConfiguration providers.
  2. After finding the relevant providers, check the status tab to verify whether the provider is registered for the subscription.

Show the instructions with images

Azure Step 4-5

  1. If the provider is not registered, after clicking on it, select the Register button located at the top to register the provider.
Show the instructions with images

Azure Step 6

  1. Wait for the registration process to complete. This may take a few moments.

After changing the status of the relevant provider to Registered, you can proceed with the remaining steps.

warning

Please note that you may require the necessary permissions or roles to register a resource provider in your Azure subscription. If you do not have the required permissions, you may need to reach out to your Azure administrator or the person responsible for managing your Azure subscription.


Critical Step

Please do not forget the setup your Cost Information Configuration.