All Apps and Add-ons

Microsoft Azure Active Directory Reporting Add-on for Splunk: Why am I getting the following "Traceback" Error when saving Client ID and Client Secret?

jbrocks
Communicator

Hi everybody, I installed the Microsoft Azure Active Directory Reporting Add-on for Splunk. When I enter the Client ID and the Client Secret, I am getting the following error when clicking on "save":

Traceback (most recent call last): File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/rest_handler/handler.py", line 113, in wrapper for name, data, acl in meth(self, *args, **kwargs): File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/rest_handler/handler.py", line 86, in wrapper return meth(self, name, data) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/rest_handler/handler.py", line 197, in update self.rest_credentials.encrypt_for_update(name, data) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/rest_handler/credentials.py", line 165, in encrypt_for_update self._set(name, encrypting) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/rest_handler/credentials.py", line 382, in _set password=context.dump(credentials) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/utils.py", line 154, in wrapper return func(*args, **kwargs) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/credentials.py", line 150, in set_password self._update_password(partial_user, curr_str) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/utils.py", line 154, in wrapper return func(*args, **kwargs) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/credentials.py", line 176, in _update_password self._storage_passwords.create(password, user, self._realm) File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/packages/splunklib/client.py", line 1826, in create state = _parse_atom_entry(entries[0]) IndexError: list index out of range

Does anyone know how this happens? I installed the add-on on my search head and my two Indexers and tried to configure the set up on my search head as it was not possible to configure anything on the Indexers.

0 Karma
1 Solution

deger
Splunk Employee
Splunk Employee

This is typically a file permission issue, make sure the owner of the Splunk service can write to the folder inputs.conf correctly.

View solution in original post

0 Karma

deger
Splunk Employee
Splunk Employee

This is typically a file permission issue, make sure the owner of the Splunk service can write to the folder inputs.conf correctly.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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