This is the third post of a series dedicated to the implementation of automated Continuous Optimization with Azure Advisor Cost recommendations. For a contextualization of the solution here described...
First of all, thank you for the effort in creating this.
I have rolled out a couple of deployments in different tenants/environments and everything looks to be running smoothly.
Except for the fact that I am trying to wrap my head around how to get this working with CSP-type subscriptions.
Basically, we are the CSP and we want to set up the cost recommendations. I saw in the github notes that CSP subscriptions should be supported.
The first thing that I encountered is that the - Other category can't be inputted:
Upon checking the Setup-BenefitsUsageDependencies script I see that there is no section for that.
But that is just FYI.
As far as I can see the MCA option should be ok too.
When I input our Billing account and profile IDs the error is thrown right away:
Note that I tried both, doing this with global admin on the tenant and also with my delegated admin account on the CSP level with admin agent rights.
I suppose that is most likely because I am running this from the end-customer tenant and granting Billing reader permissions to the automation account can't be done just like that.
My assumption is that for the CSP the only supported scenario is to use this from the CSP tenant itself - not the end customer.
Maybe you have some other insights or successful cases?
Otherwise, in CSP cases this is just not a practical feature, unfortunately.