Share via

SCOM REST API Authentication Error

Anonymous
2020-11-02T04:42:34.587+00:00

Hi,

My role is an operator and I'm trying below SCOM login api using postman and i'm getting 401 error. I have followed their official documentation.

POST http://<Servername>/OperationsManager/authenticate

Request is like below :

POST /OperationsManager/authenticate HTTP/1.1
Host: hostname
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: token

{"credentials":"EncodedString(Network:domain\username:password)"}

And also i tried some get calls using browser and those are working.
Someone please assist. Thanks in advance!

System Center Operations Manager
System Center Operations Manager

A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Leon Laude 86,116 Reputation points
    2020-11-02T06:10:00.93+00:00

    Hi @Anonymous ,

    I wrote a quickstart blog post about SCOM REST API, I suggest you have a look at my examples there:

    https://thesystemcenterblog.com/2020/07/09/quick-start-scom-rest-api/

    My examples use PowerShell which is a modern but also a great way if you want to start automating.

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.