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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...