Description
Cx is expecting to analyze cost in Data Explorer, based on specified scopes (he is giving subscriptions)
If you go to this link and Click "Deploy to Azure", It will land on Azure portal at a template deployment.
This template deploys a resource group in which you have ADLS, ADF, DX, Fabric.
https://learn.microsoft.com/en-us/cloud-computing/finops/toolkit/hubs/finops-hubs-overview#create-a-new-hub
https://github.com/v-tkhichi/FinOpsIssueImages/blob/main/65f7bda9-50ad-4d45-94de-a424717567f0.jpg
However, when cx is Creating it, the Resource Group does not contain Fabric and Data Explorer.
They do not have knowledge of Data Factory, but the whole deployment is not working as intended.
After this deployment, Data factory automatically has Pipelines and Triggers, there should not be any cx intervention required.
Cx only has 4 Triggers. The config_SettingsUpdated trigger that triggers config_ConfigureExports Pipeline is missing. This trigger is supposed to be fired when settings.json blob is created in config container.
imageMissingTrigger
https://github.com/v-tkhichi/FinOpsIssueImages/blob/main/d86e5724-c27d-48ad-a727-9092edb84065.jpg
Configure scopes for FinOps hubs - Cloud Computing | Microsoft Learn
The Scopes from where billing data is fetched are specified in this settings.json file.
When I added the scope of billing as my subscription, the config_ConfigureExports pipeline ran, but it has never run for the cx even when he added the subscription in file, because trigger does not exist.
No deployment failures for cx: https://github.com/v-tkhichi/FinOpsIssueImages/blob/main/3a31b3b3-4624-44e1-a037-d9bf983dcdcd.jpg
Cx export scope is Subscriptions and resource groups. He has owner permission on that subscription & RG.
Also, Deploying the FinOps hubs template satisfies that he has owner access to the subscription: https://github.com/v-tkhichi/FinOpsIssueImages/blob/main/95ccebf5-866e-4d80-b7d4-1e765b65c4cd.jpg