Splunk Dev

Why am I receiving this error on TA-MS-AAD Azure Add On?

bubbleup
New Member

I am trying to use the rest endpoints for the Microsoft Azure Add-on for Splunk TA-MS-AAD

When posting the following:

 

localhost:8089/servicesNS/nobody/TA-MS-AAD/admin/TA_MS_AAD_account/testacct/create?username=myazidhere&password=lslslslslsslsl

I receive following error:

"ERROR"><class 'splunk.admin.BadProgrammerException'>: This handler claims to support this action (4), but has not implemented it.
 
As you can see, I am trying to create our credentials via this API to support automated installation/configuration of this add on
 
Has anyone been able to use the rest endpoints with this Add On? any consumer examples would be great - thanks
 
Labels (1)
0 Karma

mcmaster
Communicator

Hi @bubbleup,

If testacct doesn't exist yet, you'll need to do something like this

curl -k -u 'admin:password' -XPOST -d name=testacct -d username=myazidhere -d password=lslslslslsslsl https://localhost:8089/servicesNS/nobody/TA-MS-AAD/admin/TA_MS_AAD_account 

Try that and see if it works for you.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...