400 Bad Request getting token for Outlook API RRS feed

  • Question

  • I'm following this guide to get access to the contacts of an account using the Outlook API (Java):

    But when calling this endpoint `/{tenantid}/oauth2/v2.0/token`, I get a 400 Bad request:

    "error": "invalid_request"
    "error_description": "AADSTS90019: No tenant-identifying information found in either the request or implied by any provided credentials. Trace ID: f572f4e1-2405-4d40-ad0f-f21263891ece Correlation ID: fa5bbce8-e2d2-4126-a593-07600496bf97 Timestamp: 2016-10-26 11:37:33Z"
    "error_codes": [1]
    0:  90019
    "timestamp": "2016-10-26 11:37:33Z"
    "trace_id": "f572f4e1-2405-4d40-ad0f-f21263891ece"
    "correlation_id": "fa5bbce8-e2d2-4126-a593-07600496bf97"

    I'm inserting correctly the "tenant id" in the URL path. I don't know why is wrong.

    Help me, please. Urgent.


    Wednesday, October 26, 2016 5:53 PM

All replies

  • Hi Pepto Grillo Gates,

    it seems that your issue is related with Office 365 forum.

    so for better response and better solution for your issue I move this thread to Office 365 Forum.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Thursday, October 27, 2016 9:59 AM