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
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...