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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...