locked
ACS50012: Authentication failed error ! RRS feed

  • Question

  • Hi,

    We have created an Application on Windows Azure (Client ID: 79f911ac-5f59-474c-94c5-1e3d138da6cd). Recently we encountered an issue for a particular tenant who was facing a HTTP error of 400 Bad Request when he is trying to login to the Graph API. This issue was encountered only for this particular tenant (Tenant ID: dba866c7-ce16-4a62-b6df-8980da7ae869) whereas its working fine for others.

    Here are the request details;

    Request details:
    POST https://login.windows.net/dba866c7-ce16-4a62-b6df-8980da7ae869/oauth2/token?api-version=1.0

    Params:
    client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    grant_type=client_credentials
    resource=https://graph.windows.net
    client_id=79f911ac-5f59-474c-94c5-1e3d138da6cd

    Response details:
    Headers:
    Content-Type: application/json; charset=utf-8
    Server: Microsoft-IIS/8.5
    x-ms-request-id: 78e78bed-456f-40c6-aa16-1a927b28075e
    request-id: 78e78bed-456f-40c6-aa16-1a927b28075e
    X-Content-Type-Options: nosniff
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    Set-Cookie: x-ms-gateway-slice=slicea; path=/; secure; HttpOnly
    Set-Cookie: stsservicecookie=acs; path=/; secure; HttpOnly

    Body:
    {
                    "error": "invalid_client",
                    "error_description": "ACS50012: Authentication failed.\r\nTrace ID: 78e78bed-456f-40c6-aa16-1a927b28075e\r\nCorrelation ID: 86489346-b3ee-40f0-b19f-021885544bde\r\nTimestamp: 2014-11-14 17:25:11Z",
                    "error_codes": [50012],
                    "timestamp": "2014-11-14 17:25:11Z",
                    "trace_id": "78e78bed-456f-40c6-aa16-1a927b28075e",
                    "correlation_id": "86489346-b3ee-40f0-b19f-021885544bde"
    }

    Can you please help us figure out this issue?

    Monday, November 17, 2014 8:28 AM

Answers

  • Hi Ram,

    Sorry our team can't help, you're on the Translator forum, not the Azure one.  The link below seems to be helpful it seems.

    Olivier


    Microsoft Translator team - www.microsoft.com/Translator

    Tuesday, November 18, 2014 1:00 AM

All replies

  • Same problem here: https://social.msdn.microsoft.com/Forums/azure/en-US/775a9b15-a9bc-4d8e-ba43-5d8746de6b6f/acs50012-authentication-failed?forum=WindowsAzureAD
    Monday, November 17, 2014 7:21 PM
  • I fixed it removing "api-version=1.0" from url. Can anyone confirm it?
    Tuesday, November 18, 2014 12:06 AM
  • Hi Ram,

    Sorry our team can't help, you're on the Translator forum, not the Azure one.  The link below seems to be helpful it seems.

    Olivier


    Microsoft Translator team - www.microsoft.com/Translator

    Tuesday, November 18, 2014 1:00 AM
  • Thanks SebasI !! Removing api-version=1.0 has worked for this tenant.
    Tuesday, November 18, 2014 6:50 AM