Apptio for All

 View Only

 Microsoft Azure Advisor Recommendation Datalink API

Jump to  Best Answer
Dawn Kassube's profile image
Dawn Kassube posted Tue October 07, 2025 10:30 AM

Hello All,

Is there a way to bring in all Azure Advisor Recommendations in an API?  I have been researching and it appears you have to retrieve by each separate subscription which is not acceptable.  We are currently downloading from the Azure Advisor Recommendations Menu.

As always, I appreciate any guidance.

Liam Novak's profile image
Liam Novak  Best Answer

Hi Dawn, great question — this is a common challenge when aggregating Azure Advisor recommendations across multiple subscriptions.

Currently, the native Advisor REST API (/providers/Microsoft.Advisor/recommendations) does indeed scope results per subscription. However, you can automate cross-subscription retrieval by using an Azure Management Group context or a lightweight script that loops through each subscription via the Azure Resource Graph API.

Resource Graph is much faster and lets you query recommendations at scale using Kusto Query Language (KQL). You can also schedule it via Azure Automation Runbooks or Logic Apps to collect and centralize recommendations periodically.

Microsoft has hinted at a unified Advisor Datalink API in preview, but as of now, the scalable route is using Resource Graph or ARM templates with a management group query layer.

Hope that helps streamline your process a bit!

Varad Rajeev Muthal's profile image
Varad Rajeev Muthal

Hello @Dawn Kassube, I think this question is associated with Cloudability & Datalink, will post best possible answer as I get it.

Greg Winfield's profile image
Greg Winfield

Dawn, Hi. Thats something you would need to raise with Microsoft (wrt the per subscription piece) - i know its in preview the ability (in some regions) to do this at a tenant level so it looks like  something they are working towards.The biggest hurdle i have come across is the authentication mechanism to do this ; that bearer token has a 60m life span and would need to be rotated in datalink quite often making this a difficult. Ideally you would do this via an SPN but, thats not something that you could do in datalink. I'd recommend writing a process internally like a function to collect this data and parse across all your subscriptions and then push that to datalink to suffice your requirement. I hope this helps.

Dawn Kassube's profile image
Dawn Kassube

Thank you everyone for these possible solutions!  Unfortunately I am not very familiar with Microsoft Graph or Azure Automation Runbook.  I will have to reach out to our Cloud Engineers.  I am just trying to automate this process as currently it is extremely painful to get the Recommendation detail from the manual downloads.  Let's hope Microsoft comes through with a Service Principal API.