401 Unauthorized Error when using ManagementServer/ConfigurationApiService.svc?wsdl API

Hello,

I want to use the ManagementServer/ConfigurationApiService.svc?wsdl API to create AnalyticsEvents.

I’m using Python/Zeep on my Linux client side.

I get "401 Unauthorized Error when using " when try to call the following method:

client.service.GetChildItems(“/”)

It’s working perfectly with a “basic user” and a “[BASIC]\\” client but it’s not working with an AD user and a NTLMAuth Client. Oddly, the NTLMAuth client works fine for other services such as

  • RecorderCommandService/RecorderCommandService.asmx?wsdl
  • ServerAPI/ServerCommandService.asmx?wsdl

Is there something particular with the ConfigurationApiService ? Should I enable something in XProtect side ?

Thanks!

J. Greard

Details : XProtect version : 2020-R2

Are you using a user who is belonging to Administrator role? Because Configuration API requires that the user has administrator right.

Hello,

Thx for the reply !

Yes, my user has administrator rights. I have the same problem using soapUI (external stub tool).

Julien, can you share me som information or example on how you solved this. I have the same problem where i get 401 when using https and an exception:“Unknown fault occured” when using http.

//Daniel

Yes, I had to create a “XProtect” user (not AD) with the same credentials (login & password) as the Windows AD. This user must also have admin rights. I think this is what worked

Thanks, changing to Basic auth worked

//Daniel