All Apps and Add-ons

Microsoft Azure app

Nadhiyaa
Path Finder

ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TA-Azure-billing/bin/azure_billing.py" HTTP Request error: 401 Client Error: Unauthorized for url: https://management.azure.com/subscriptions/8d493b12-bb81-4d07-9a5a-c0426dec81b3/providers/Microsoft....

how to fix the above error . When i am trying fetch data using the Microsoft Azure Billing Add-on for Splunk .

I have provided all the configuration settings in the add-on.

Tags (1)
0 Karma

jconger
Splunk Employee
Splunk Employee

The Azure AD application registration (client ID and key) must have at least "Billing Reader" permissions on your subscription. Check this by going to your Azure portal and then:

  • find your subscription
  • click Access control (IAM)
  • view the role assignments. If your Azure AD application is not listed there, click the Add role assignment button
  • Select Billing Reader for the Role
  • search for you application
  • Click save
0 Karma

MousumiChowdhur
Contributor

Hi @Nadhiyaa,

Can you please confirm if you have got all the permissions required to fetch data?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...