Jump to content
Welcome to our new Citrix community!


I'm trying to create a dashboard for our XenApp 7.6 servers using data from the OData API, and using Python,

I'm having great difficulty in getting authentication to work against the OData service.

when i use curl -vvv comand following is the output, and it says error 401 Unauthorized

The Citrix docs says that the end user must authenticate, and must be one of the XenDesktop/XenApp administrator users.

Connected to server.domain.us ( port 80 (#0)
Server auth using Basic with user 'domain.us/admin'
GET /Citrix/Monitor/OData/v2/Data/ HTTP/1.1
Host: server.domain.us
Authorization: Basic cGF5bWVudGVjaC51cy9weGtzYTp4ZEE1WEMydQ==
User-Agent: curl/7.64.1
Accept: */*

HTTP/1.1 401 Unauthorized
Content-Length: 0
Server: Microsoft-HTTPAPI/2.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Date: Thu, 09 May 2019 10:08:58 GMT

Connection #0 to host xxxxxxxxxxx.domain.us left intact
Closing connection 0

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...