<?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: Splunk Add-on for 0365: Why am I receiving Invalid Token? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/592192#M8873</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/63105"&gt;@jadengoho&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is due to access issue ,After creating token/&lt;SPAN&gt;Tenant ID , That Token required the read permission of the API graph.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below the excel sheet you can refer and ask the AD team to provide the read access to the token.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1YJAqNmcXZU-7O9CxVKupOkR6q2S8TXriMeLAUMYmMs4/edit#gid=0" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1YJAqNmcXZU-7O9CxVKupOkR6q2S8TXriMeLAUMYmMs4/edit#gid=0&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One last things, if all the permission are up to mark check if the proxy is configured. &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 11:40:25 GMT</pubDate>
    <dc:creator>rohit1793</dc:creator>
    <dc:date>2022-04-04T11:40:25Z</dc:date>
    <item>
      <title>Splunk Add-on for 0365: Why am I receiving Invalid Token?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/586776#M8822</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;BR /&gt;Why are we receiving this kind of issue on "&lt;STRONG&gt;o365:cas:api&lt;/STRONG&gt;"&lt;BR /&gt;while the others listed below are working as expected.&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN&gt;o365:graph:api&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;o365:management:activity&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;o365:service:updateMessage&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;We didn't put a&lt;STRONG&gt; Cloud App Security Token&lt;/STRONG&gt; in the tenant&amp;nbsp;configuration since we already have the client secret, Tenant ID, Client Id, Tenant Subdomain and Tenant Data Center Is it needed for the "&lt;STRONG&gt;o365:cas:api&lt;/STRONG&gt;" to work?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR :&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2022-02-28 07:02:42,801 level=ERROR pid=23110 tid=MainThread logger=splunk_ta_o365.modinputs.cloud_app_security pos=utils.py:wrapper:72 | datainput=b'at_rbi_cloud_microsoft_cloud_application_security_files' start_time=1646031762 | message="Data input was interrupted by an unhandled exception."
Traceback (most recent call last): File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunksdc/utils.py", line 70, in wrapper return func(*args, **kwargs) File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/modinputs/cloud_app_security.py", line 184, in run return consumer.run() File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/modinputs/cloud_app_security.py", line 47, in run for message in reports.get(self._session): File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/common/portal.py", line 639, in get raise O365PortalError(response) splunk_ta_o365.common.portal.O365PortalError: 401:{"detail":"Invalid token"}

2022-02-28 07:02:42,801 level=ERROR pid=23110 tid=MainThread logger=splunk_ta_o365.common.portal pos=portal.py:__init__:50 | datainput=b'at_rbi_cloud_microsoft_cloud_application_security_files' start_time=1646031762 | message="failed to get error code" body=b'{"detail":"Invalid token"}'
Traceback (most recent call last):
File "/opt/splunk/etc/apps/splunk_ta_o365/bin/splunk_ta_o365/common/portal.py", line 44, in __init__
self._code = data['error']['code']&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 10 Mar 2022 22:40:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/586776#M8822</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2022-03-10T22:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for 0365: Why am I receiving Invalid Token?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/592192#M8873</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/63105"&gt;@jadengoho&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is due to access issue ,After creating token/&lt;SPAN&gt;Tenant ID , That Token required the read permission of the API graph.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below the excel sheet you can refer and ask the AD team to provide the read access to the token.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1YJAqNmcXZU-7O9CxVKupOkR6q2S8TXriMeLAUMYmMs4/edit#gid=0" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1YJAqNmcXZU-7O9CxVKupOkR6q2S8TXriMeLAUMYmMs4/edit#gid=0&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One last things, if all the permission are up to mark check if the proxy is configured. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 11:40:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/592192#M8873</guid>
      <dc:creator>rohit1793</dc:creator>
      <dc:date>2022-04-04T11:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for 0365: Why am I receiving Invalid Token?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/697704#M10375</link>
      <description>&lt;P data-unlink="true"&gt;Thank you &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/175412"&gt;@rohit1793&lt;/a&gt;, this spreadsheat is very helpfull!&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 11:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/697704#M10375</guid>
      <dc:creator>cbreitenstrom</dc:creator>
      <dc:date>2024-08-29T11:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for 0365: Why am I receiving Invalid Token?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/758537#M11088</link>
      <description>&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;Any chance I can get access to this sheet please? Seems to fails when I request viewer access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 01:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-on-for-0365-Why-am-I-receiving-Invalid-Token/m-p/758537#M11088</guid>
      <dc:creator>Sarkis</dc:creator>
      <dc:date>2026-02-20T01:47:39Z</dc:date>
    </item>
  </channel>
</rss>

