<?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: How to resolve Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632186#M78596</link>
    <description>&lt;P data-unlink="true"&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ceejohn78,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Thank you for your reply.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Do you mean for password field on Splunk, what I need is the secret value, not the secret ID?&lt;/P&gt;&lt;P data-unlink="true"&gt;Cheers,&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 12:23:05 GMT</pubDate>
    <dc:creator>xmeng</dc:creator>
    <dc:date>2023-02-24T12:23:05Z</dc:date>
    <item>
      <title>How to resolve Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/622352#M78051</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying implement Microsoft Graph Security Add-On for Splunk. I'm using Splunk Enterprise Version v8.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;2022-11-29 14:19:07,357 ERROR pid=17546 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;    File "/opt/splunk/etc/apps/TA-microsoft-graph-security-add-on-for-splunk/bin/ta_microsoft_graph_security_add_on_for_splunk/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events&lt;BR /&gt;        self.collect_events(ew)&lt;BR /&gt;    File "/opt/splunk/etc/apps/TA-microsoft-graph-security-add-on-for-splunk/bin/microsoft_graph_security.py", line 72, in collect_events&lt;BR /&gt;        input_module.collect_events(self, ew)&lt;BR /&gt;    File "/opt/splunk/etc/apps/TA-microsoft-graph-security-add-on-for-splunk/bin/input_module_microsoft_graph_security.py", line 63, in collect_events&lt;BR /&gt;        access_token = _get_access_token(helper)&lt;BR /&gt;    File "/opt/splunk/etc/apps/TA-microsoft-graph-security-add-on-for-splunk/bin/input_module_microsoft_graph_security.py", line 39, in _get_access_token&lt;BR /&gt;        return access_token[ACCESS_TOKEN]&lt;BR /&gt;KeyError: 'access_token'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:17:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/622352#M78051</guid>
      <dc:creator>Lu1</dc:creator>
      <dc:date>2022-12-01T16:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/622556#M78060</link>
      <description>&lt;P&gt;On every API call interval, debug shows in sequence:&lt;BR /&gt;540 DEBUG pid=5212 tid=MainThread file=retry.py:from_int:333 | Converted retries value: 3 -&amp;gt; Retry(total=3, connect=None, read=None, redirect=None, status=None)&lt;BR /&gt;&lt;SPAN class=""&gt;541&lt;/SPAN&gt; &lt;SPAN class=""&gt;DEBUG&lt;/SPAN&gt; &lt;SPAN class=""&gt;pid=5212&lt;/SPAN&gt; &lt;SPAN class=""&gt;tid=MainThread&lt;/SPAN&gt; &lt;SPAN class=""&gt;file=retry.py:from_int:333&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN class=""&gt;Converted&lt;/SPAN&gt; &lt;SPAN class=""&gt;retries&lt;/SPAN&gt; &lt;SPAN class=""&gt;value:&lt;/SPAN&gt; &lt;SPAN class=""&gt;3&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;Retry&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;total=3&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;connect=None&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;read=None&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;redirect=None&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;status=None)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;542&lt;/SPAN&gt; &lt;SPAN class=""&gt;DEBUG&lt;/SPAN&gt; &lt;SPAN class=""&gt;pid=5212&lt;/SPAN&gt; &lt;SPAN class=""&gt;tid=MainThread&lt;/SPAN&gt; &lt;SPAN class=""&gt;file=connectionpool.py:_new_conn:975&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN class=""&gt;Starting&lt;/SPAN&gt; &lt;SPAN class=""&gt;new&lt;/SPAN&gt; &lt;SPAN class=""&gt;HTTPS&lt;/SPAN&gt; &lt;SPAN class=""&gt;connection&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;login.microsoftonline.com:443&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;281&lt;/SPAN&gt; &lt;SPAN class=""&gt;DEBUG&lt;/SPAN&gt; &lt;SPAN class=""&gt;pid=5212&lt;/SPAN&gt; &lt;SPAN class=""&gt;tid=MainThread&lt;/SPAN&gt; &lt;SPAN class=""&gt;file=connectionpool.py:_make_request:461&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://login.microsoftonline.com" target="_blank" rel="noopener"&gt;https://login.microsoftonline.com:443&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN class=""&gt;POST&lt;/SPAN&gt; &lt;SPAN class=""&gt;/{Tenant ID}/oauth2/v2.0/token&lt;/SPAN&gt; &lt;SPAN class=""&gt;HTTP/1.1&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;401&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt; 632&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;From Splunk to Proxy to CONNECT&amp;nbsp;&lt;SPAN class=""&gt;login.microsoftonline&lt;/SPAN&gt;.com:443 returns&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class=""&gt;200&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 06:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/622556#M78060</guid>
      <dc:creator>Lu1</dc:creator>
      <dc:date>2022-11-30T06:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/622752#M78070</link>
      <description>&lt;P&gt;Following because I am getting the exact same error.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 22:31:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/622752#M78070</guid>
      <dc:creator>ceejohn78</dc:creator>
      <dc:date>2022-11-30T22:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632037#M78590</link>
      <description>&lt;P&gt;Hello Lu1,&lt;/P&gt;&lt;P&gt;do you find a solution to this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 16:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632037#M78590</guid>
      <dc:creator>mxyy31ruth</dc:creator>
      <dc:date>2023-02-23T16:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632047#M78591</link>
      <description>&lt;P&gt;I got mines to work. Assuming you have all the permission correct ensure you are using the correct "client/secret" in your Azure environment. The issue with these Microsoft add-on's is you have use the "value" ID instead of the "secret" which most documentation doesn't specify.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 16:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632047#M78591</guid>
      <dc:creator>ceejohn78</dc:creator>
      <dc:date>2023-02-23T16:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632186#M78596</link>
      <description>&lt;P data-unlink="true"&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ceejohn78,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Thank you for your reply.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Do you mean for password field on Splunk, what I need is the secret value, not the secret ID?&lt;/P&gt;&lt;P data-unlink="true"&gt;Cheers,&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 12:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632186#M78596</guid>
      <dc:creator>xmeng</dc:creator>
      <dc:date>2023-02-24T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632191#M78598</link>
      <description>&lt;P&gt;Yes you are right. I just used the wrong ID. Many thanks for help!!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 12:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/632191#M78598</guid>
      <dc:creator>xmeng</dc:creator>
      <dc:date>2023-02-24T12:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve Microsoft Graph Security Add-On for Splunk - KeyError: 'access_token'?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/636178#M78782</link>
      <description>&lt;P&gt;We have tried every combination of credentials for this and still receiving the same token error as above.&amp;nbsp; &amp;nbsp;Is it possible for someone to please map these in a clear way?&amp;nbsp; Do we do anything with the "SECRET ID" ?&lt;/P&gt;&lt;P&gt;GRAPH TA:&lt;/P&gt;&lt;P&gt;Username = (Client ID?)&lt;BR /&gt;Password = (Secret VALUE?)&lt;BR /&gt;Tenant ID = Tenant ID&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 16:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-resolve-Microsoft-Graph-Security-Add-On-for-Splunk/m-p/636178#M78782</guid>
      <dc:creator>beaunewcomb</dc:creator>
      <dc:date>2023-03-27T16:23:57Z</dc:date>
    </item>
  </channel>
</rss>

