• Register
0 votes
2.1k views

Problem :

I am currently working on an Outlook Add-in which authenticates the user against Azure AD and runs queries against the SharePoint Online sites. The app uses AngularJS and makes use of a ADAL.js and ADAL-Angular.js libraries to conduct a authentication process. The app works well within my browser, but fails during the authentication process when used through a Windows Version of Outlook.

Once a user inputs his username and password within a add-in in Outlook (for Windows), and the Internet Explorer window pops up with the message as shown below for your reference :

AADSTS90056: This endpoint only accepts POST requests.

Has anyone encountered this issue before? I have tried to follow the Office Dev tutorials to the letter, but still no luck.

3.9k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had also faced the similar issue in the recent past. I did lot of research on it and found the solution on it. This is the very common problem with the people getting started.

I was getting same error while trying to get the access token for Microsoft Azure Active directory. Actually the problem was the url. Using https instead of a http solved my problem.

The correct url for the token as follows: "https://login.microsoftonline.com/"

38.6k points