<?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 Microsoft Cloud Services (multiple issues) in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252198#M28958</link>
    <description>&lt;P&gt;Hi, did you manage to get past the 403 error?  Seeing the same thing here when trying to add the account in the app set up.  Thanks John&lt;/P&gt;

&lt;P&gt;"Unspecified internal server error. reason={"messages":[{"type":"ERROR","text":"\n In handler 'ta_o365_server_ucc_system_snapshot': External handler failed with code '1' and output: 'REST ERROR[403]: Unauthorized client for the requested action - capability=ta_o365_get_credential'. See splunkd.log for stderr output."}]}"&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:54:00 GMT</pubDate>
    <dc:creator>johnmarsnz</dc:creator>
    <dc:date>2020-09-29T10:54:00Z</dc:date>
    <item>
      <title>Splunk Add-on for Microsoft Cloud Services (multiple issues)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252197#M28957</link>
      <description>&lt;P&gt;For some background, I originally installed the Cloud Services add-on with an enterprise trial license. I got busy with some other things and the license expired. So I've fallen back to the FREE license since I'm doing testing on my desktop.&lt;/P&gt;

&lt;P&gt;In the interim, I noticed the UI in the Add-On to configure things no longer shows anything. Previously I could go to Configuration and in the account tab, define something. I see the latter, but there's no longer any UI element to add an account.&lt;/P&gt;

&lt;P&gt;So I started following this document:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/AddOns/released/MSCloudServices/Configureaccount" target="_blank"&gt;http://docs.splunk.com/Documentation/AddOns/released/MSCloudServices/Configureaccount&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I've checked and rechecked my work and when I go to the TROUBLESHOOTING area, all I ever see is "No certificate configured yet."&lt;/P&gt;

&lt;P&gt;The only grey area for me was on the second part where it says:&lt;/P&gt;

&lt;P&gt;[certificate]&lt;BR /&gt;
private_key = &lt;/P&gt;

&lt;P&gt;I've broken my key across multiple lines like so (this isn't part of my actual key):&lt;/P&gt;

&lt;P&gt;private_key = DMDISBGYUKZIEDIIZMEMEK\&lt;BR /&gt;
DKSKDKJZUAINJDFFOIUOIEAKDKDK\&lt;BR /&gt;
DLSLZKIHROPTUNZLOITOOOIDODP\&lt;/P&gt;

&lt;P&gt;In other words, I'm spanning the key private via "\". Not sure if I've inferred the setup documentation correctly.&lt;/P&gt;

&lt;P&gt;Lastly, when I searched my _internal index ("index=_internal sourcetype=ms*"), I saw way too many Python errors associated with the Microsoft Cloud Services Add-On:&lt;/P&gt;

&lt;P&gt;12:45:53.493 PM &lt;BR /&gt;
2016-08-26 19:45:53,493 +0000 log_level=ERROR, pid=5476, tid=MainThread, file=config.py, func_name=log, code_line_no=50 | UCC Config Module: Fail to load endpoint "ucc_system_snapshot" - Unspecified internal server error. reason={"messages":[{"type":"ERROR","text":"\n In handler 'ta_o365_server_ucc_system_snapshot': External handler failed with code '1' and output: 'REST ERROR[403]: Unauthorized client for the requested action - capability=ta_o365_get_credential'.  See splunkd.log for stderr output."}]}&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\ms_o365_ucc_server.py", line 13, in &lt;BR /&gt;
    modular_input.main(schema_file_path)&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\ucc_server\ucc_server_modular_input.py", line 178, in main&lt;BR /&gt;
    exit_status = run(ucc_setting)&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\ucc_server\ucc_server_modular_input.py", line 132, in run&lt;BR /&gt;
    ucc_server_id = ucc_config_loader.get_ucc_server_id(create_if_empty=False)&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\ucc_server\ucc_server_config.py", line 52, in get_ucc_server_id&lt;BR /&gt;
    us_input = self.load_ucc_server_input()&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\ucc_server\ucc_server_config.py", line 43, in load_ucc_server_input&lt;BR /&gt;
    self.ucc_server_input_cache = self.ucc_config.load()&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\config.py", line 126, in load&lt;BR /&gt;
    log(msg, level=logging.ERROR, need_tb=True)&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\config.py", line 48, in log&lt;BR /&gt;
    stack = ''.join(traceback.format_stack())&lt;/P&gt;

&lt;P&gt;016-08-26 19:45:53,444 +0000 log_level=ERROR, pid=16944, tid=MainThread, file=config.py, func_name=log, code_line_no=50 | UCC Config Module: Fail to load endpoint "management_api_input_list" - Unspecified internal server error. reason={"messages":[{"type":"ERROR","text":"\n In handler 'ta_o365_server_management_api_inputs': External handler failed with code '1' and output: 'REST ERROR[403]: Unauthorized client for the requested action - capability=ta_o365_configuration'.  See splunkd.log for stderr output."}]}&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\ms_o365_account_monitoring.py", line 286, in &lt;BR /&gt;
    main()&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\ms_o365_account_monitoring.py", line 278, in main&lt;BR /&gt;
    run()&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\ms_o365_account_monitoring.py", line 144, in run&lt;BR /&gt;
    conf_handler = oh.ConfigFileHandler(meta_configs, params.server_schema)&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\o365_helper.py", line 417, in &lt;STRONG&gt;init&lt;/STRONG&gt;&lt;BR /&gt;
    self._load_files()&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\o365_helper.py", line 427, in _load_files&lt;BR /&gt;
    self._all_conf_content = self._conf.load()&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\config.py", line 126, in load&lt;BR /&gt;
    log(msg, level=logging.ERROR, need_tb=True)&lt;BR /&gt;
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_microsoft-cloudservices\bin\splunk_ta_microsoft_cloudservices\splunktaucclib\config.py", line 48, in log&lt;BR /&gt;
    stack = ''.join(traceback.format_stack())&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:46:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252197#M28957</guid>
      <dc:creator>Betelgeuse</dc:creator>
      <dc:date>2020-09-29T10:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft Cloud Services (multiple issues)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252198#M28958</link>
      <description>&lt;P&gt;Hi, did you manage to get past the 403 error?  Seeing the same thing here when trying to add the account in the app set up.  Thanks John&lt;/P&gt;

&lt;P&gt;"Unspecified internal server error. reason={"messages":[{"type":"ERROR","text":"\n In handler 'ta_o365_server_ucc_system_snapshot': External handler failed with code '1' and output: 'REST ERROR[403]: Unauthorized client for the requested action - capability=ta_o365_get_credential'. See splunkd.log for stderr output."}]}"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252198#M28958</guid>
      <dc:creator>johnmarsnz</dc:creator>
      <dc:date>2020-09-29T10:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft Cloud Services (multiple issues)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252199#M28959</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;
It definitely looks like this particular add-on requires a valid Splunk Enterprise license in order to work.&lt;BR /&gt;&lt;BR /&gt;
I had the app installed on a Free license and got similar errors “ERROR ScriptRunner - stderr from '/opt/splunk/bin/python /opt/splunk/bin/runScript.py setup': BaseException: REST ERROR[403]: Unauthorized client for the requested action - capability=ta_o365_system_configuration”&lt;BR /&gt;
From what I can gather the Add-On tries to make some REST calls that are not allowed on the free license.  Just browsing to the REST endpoint came up with “not allowed” messages.   I tried changing adding AllowRemoteLogin = always to server.conf, which seemed to clear some errors but not all.&lt;BR /&gt;
I applied a trial Enterprise license and the app now works as it should.&lt;BR /&gt;
I’m going to do some more digging to see if it’s possible to make the app work with the free license.&lt;BR /&gt;
Mark&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:16:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252199#M28959</guid>
      <dc:creator>clogssplunk</dc:creator>
      <dc:date>2020-09-29T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft Cloud Services (multiple issues)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252200#M28960</link>
      <description>&lt;P&gt;I had our O365 admin use his Admin acct to auth in an incognito window after hitting add. It then has the admin prompt for the access the API/app needs, hit ok... splunk app then adds fine.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 21:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Cloud-Services-multiple-issues/m-p/252200#M28960</guid>
      <dc:creator>Bloodnite</dc:creator>
      <dc:date>2017-08-07T21:08:41Z</dc:date>
    </item>
  </channel>
</rss>

