none
Unable to get auth token using API for Organization Active Directory user RRS feed

  • Question

  • Hi,

    We are trying to implement an application that will be an interface on the top of Outlook Calendar. In our organization we have our own active directory and user gets redirect to our authentication page for username/password when tries to login to office 365.

    We need a way to get the auth token on the behalf of users when they will pass the username & password of our organization accounts.

    We are able to get the auth token for a Azure AD user using this API: https://login.microsoftonline.com/{client_id}/oauth2/token

    But unable to get the token for user which are on our organization AD. Could you please help us to get the organizational users tokens if we will pass the username and password?

    We need this via API, without opening office 365 login page.

    Thanks,

    Ravi Sahu

    Tuesday, April 30, 2019 3:44 PM