Hi Experts,
While trying to generate Authentication Token through Advanced Rest Client, it works for all the users expect one user and gives the below error.
HTTP/1.1 400 Bad Request
Cache-Control: no-cache, no-store
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
x-ms-request-id: 077b23b7-13b6-4a1e-b6df-ad998ef4e300
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
Set-Cookie: esctx=AQABAAAAAADXzZ3ifr-GRbDT45zNSEFEXVBnQaS9BlBz8ysYcat2pOYUI85RO1InSpp96cEZE_hbFC9KQtVq2jWYka3N_bx-Ob6YZlh_9E3JVEa306nzWGC7PK05aNt1CiuGeGNUjluH-UPxMjd5DqbRs0eqamh2HY_MokmxMJaYIhoDaNpdIw9H7BIcV4cjnvC61FA_uPUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-gateway-slice=003; path=/; secure; HttpOnly
Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
Date: Wed, 22 Aug 2018 17:33:06 GMT
Content-Length: 442
{"error":"invalid_grant","error_description":"AADSTS70002: Error validating credentials. AADSTS50126: Invalid username or password\r\nTrace ID: 077b23b7-13b6-4a1e-b6df-ad998ef4e300\r\nCorrelation ID: b9c075c3-4c9d-4148-b654-2aa2d3bec517\r\nTimestamp: 2018-08-22 17:33:07Z","error_codes":[70002,50126],"timestamp":"2018-08-22 17:33:07Z","trace_id":"077b23b7-13b6-4a1e-b6df-ad998ef4e300","correlation_id":"b9c075c3-4c9d-4148-b654-2aa2d3bec517"}
Not sure why it is failing for that specific user.
We are properly passing values for resource, client_id, username, password, granttype - password.
And it works for all other users except one.
Thanks and Regards,
Nishant Rana