<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403918#M49305</link>
    <description>&lt;P&gt;Did you ever find a solution for this problem with IPv6 support enabled? &lt;BR /&gt;
I have the same problem:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2018-10-23 14:30:26,401 ERROR pid=19302 tid=MainThread file=base_modinput.py:log_error:308 | Traceback (most recent call last):
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 113, in stream_events
    self.parse_input_args(input_definition)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 153, in parse_input_args
    self._parse_input_args_from_global_config(inputs)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 171, in _parse_input_args_from_global_config
    global_config = GlobalConfig(uri, session_key, global_schema)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/global_config/__init__.py", line 51, in __init__
    port=splunkd_info.port,
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/net_utils.py", line 129, in wrapper
    'Illegal argument: {}={}'.format(arg, value))
ValueError: Illegal argument: host=::1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Oct 2018 12:38:55 GMT</pubDate>
    <dc:creator>florismouwen</dc:creator>
    <dc:date>2018-10-23T12:38:55Z</dc:date>
    <item>
      <title>Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403913#M49300</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;We installed latest Microsoft Azure Active Directory Reporting Add-on for Splunk on our installation running 7.0.&lt;BR /&gt;&lt;BR /&gt;
We configured inputs for Signing and Audit data.  However, there is no data received.  Found same error in logs of each input:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2018-05-18 16:29:34,344 ERROR pid=14469 tid=MainThread file=base_modinput.py:log_error:307 | Traceback (most recent call last):
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 113, in stream_events
    self.parse_input_args(input_definition)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 152, in parse_input_args
    self._parse_input_args_from_global_config(inputs)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 170, in _parse_input_args_from_global_config
    global_config = GlobalConfig(uri, session_key, global_schema)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/global_config/__init__.py", line 51, in __init__
    port=splunkd_info.port,
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/net_utils.py", line 129, in wrapper
    'Illegal argument: {}={}'.format(arg, value))
ValueError: Illegal argument: host=::1  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I wonder if it's caused by the Sign-on URL to &lt;A href="https://localhost"&gt;https://localhost&lt;/A&gt; as mentioned in the link about "prerequisites to access the Azure AD reporting API.", while our system runs IPv4 and IPv6.   Seems the v6 localhost address ::1 is invalid.&lt;/P&gt;

&lt;P&gt;Would anyone please help?&lt;/P&gt;

&lt;P&gt;Thanks a lot.&lt;BR /&gt;
/ST Wong&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 08:32:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403913#M49300</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2018-05-18T08:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403914#M49301</link>
      <description>&lt;P&gt;The Sign-on URL is not used by the add-on.  The error seems to indicate something wrong in your inputs.conf, so it would be helpful to post that here in a reply.&lt;/P&gt;

&lt;P&gt;FYI - when creating an Azure AD application registration, the Sing-on URL parameter is required, but any valid URL will work.  The reason the parameter is there is to support a workflow.  Some Azure AD applications have an interactive user prompt.  This triggers some workflow on the Azure side.  When the work is done on the Azure side, the user is redirected to the URL specified by that parameter.  This add-on does not have any of this workflow, so any valid URL will work as it won't be used.&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 15:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403914#M49301</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2018-05-18T15:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403915#M49302</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the reply.  The input file looks like following, which was created by the Add-On's GUI:&lt;/P&gt;

&lt;P&gt;----------------- cut here ----------------&lt;BR /&gt;
[MS_AAD_signins://Azure_AD_Signins]&lt;BR /&gt;
interval = 5&lt;BR /&gt;
start_date = 2018-05-01 00:00:00&lt;BR /&gt;
tenant_domain = mytenant.onmicrosoft.com&lt;/P&gt;

&lt;P&gt;[MS_AAD_audit://Azure_AD_Audit]&lt;BR /&gt;
interval = 5&lt;BR /&gt;
start_date = 2018-05-01 00:00:00&lt;BR /&gt;
tenant_domain = mytenant.onmicrosoft.com&lt;BR /&gt;
----------------- cut here ----------------&lt;/P&gt;

&lt;P&gt;Regarding the Sign-On URL, we just follow instruction at &lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-reporting-api-prerequisites-azure-portal" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/active-directory/active-directory-reporting-api-prerequisites-azure-portal&lt;/A&gt;, to put &lt;A href="https://localhost" target="_blank"&gt;https://localhost&lt;/A&gt; there:&lt;/P&gt;

&lt;P&gt;c. In the Sign-on URL textbox, type &lt;A href="https://localhost" target="_blank"&gt;https://localhost&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;I wonder if "localhost" resolves to ::1 as our heavy forwarder runs dual IPv4 and IPv6 stack.&lt;/P&gt;

&lt;P&gt;Thanks a lot.&lt;BR /&gt;
Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:36:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403915#M49302</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2020-09-29T19:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403916#M49303</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;

&lt;P&gt;We tried on another Splunk 7.0 installation without IPv6 support.  The same error didn't occur.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 01:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403916#M49303</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2018-05-21T01:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403917#M49304</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;

&lt;P&gt;We tried on another Splunk 7.0 installation without IPv6 support.  The same error didn't occur.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 01:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403917#M49304</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2018-05-21T01:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403918#M49305</link>
      <description>&lt;P&gt;Did you ever find a solution for this problem with IPv6 support enabled? &lt;BR /&gt;
I have the same problem:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2018-10-23 14:30:26,401 ERROR pid=19302 tid=MainThread file=base_modinput.py:log_error:308 | Traceback (most recent call last):
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 113, in stream_events
    self.parse_input_args(input_definition)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 153, in parse_input_args
    self._parse_input_args_from_global_config(inputs)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/modinput_wrapper/base_modinput.py", line 171, in _parse_input_args_from_global_config
    global_config = GlobalConfig(uri, session_key, global_schema)
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/splunktaucclib/global_config/__init__.py", line 51, in __init__
    port=splunkd_info.port,
  File "/opt/splunk/etc/apps/TA-MS-AAD/bin/ta_ms_aad/solnlib/net_utils.py", line 129, in wrapper
    'Illegal argument: {}={}'.format(arg, value))
ValueError: Illegal argument: host=::1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Oct 2018 12:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403918#M49305</guid>
      <dc:creator>florismouwen</dc:creator>
      <dc:date>2018-10-23T12:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403919#M49306</link>
      <description>&lt;P&gt;Hi, not yet.  We're waiting for updated version of the add-on... Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 05:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403919#M49306</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2018-10-24T05:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403920#M49307</link>
      <description>&lt;P&gt;In case this is still an issue for people.&lt;/P&gt;

&lt;P&gt;adding the following to server.conf resolved it for me.&lt;/P&gt;

&lt;P&gt;[general]&lt;BR /&gt;
connectUsingIpVersion = 4-first&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 01:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403920#M49307</guid>
      <dc:creator>markvandeventer</dc:creator>
      <dc:date>2019-01-21T01:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Microsoft Azure Active Directory Reporting Add-on for Splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403921#M49308</link>
      <description>&lt;P&gt;Thanks.  I have similar error on other add-on, which was fixed by adding following to /etc/hosts on corresponding Splunk instance host:&lt;/P&gt;

&lt;P&gt;::1         localhost localhost.localdomain localhost6 localhost6.localdomain6&lt;/P&gt;

&lt;P&gt;Maybe this case can also be fixed similarly.&lt;BR /&gt;
Anyway, we switched to test the new add-on &lt;A href="https://splunkbase.splunk.com/app/4055/"&gt;https://splunkbase.splunk.com/app/4055/&lt;/A&gt; instead per support's advice.  &lt;/P&gt;

&lt;P&gt;Thanks for all responded.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 02:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-with-Microsoft-Azure-Active-Directory-Reporting-Add-on-for/m-p/403921#M49308</guid>
      <dc:creator>stwong</dc:creator>
      <dc:date>2019-01-22T02:17:40Z</dc:date>
    </item>
  </channel>
</rss>

