• Register
0 votes
1.8k 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.

7 5 2
3,870 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/"

9 7 4
38,600 points

Related questions

0 votes
1 answer 2 views
2 views
Problem: Please help me fix this dilemma: the language of this installation package is not supported by your system office 2010?
asked 5 days ago tuhin1 47.2k points
0 votes
1 answer 29 views
29 views
Problem: I am currently working on developing the add in for the outlook 2010 with a Visual Studio Ultimate 2013. To create a setup package I am trying to use the InstallShield limited Edition. The setup has generated works on the 64 bit pc. It is not working ... 2010 Runtime The Visual studio 2010 Tools for the Office runtime I manually tried to remove any of the register on the 64 bit position.
asked Jul 6, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 12 views
12 views
Problem: This request has been blocked; the content must be served over https.
asked Feb 15 Ethan ross 2.3k points
0 votes
1 answer 16 views
16 views
Problem: The page at 'https://********someurl****' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint Requesting if anyone can help me get out of this error.
asked Mar 15 ummesalma 22.7k points
0 votes
1 answer 4 views
4 views
Problem: Any ideas on this feature? Thanks!
asked Mar 29 Jack20 2.7k points
0 votes
1 answer 3 views
3 views
PROBLEM : Someone help me to fix this Please on > 'how to add a line under header in word' ?
asked Mar 17 Samiur1 38.4k points
0 votes
1 answer 38 views
38 views
Problem: Does anybody realize how to rename a segment in google spreadsheets?
asked Feb 21, 2020 jennygotit 200 points
0 votes
0 answers 2 views
2 views
Problem: who know this problem please help? this user doesn't have an exchange online license
asked 3 days ago Rohit kr 15k points
0 votes
1 answer 3 views
3 views
Problem: Please assist me in resolving this issue “The cell or chart you are trying to modify is protected and therefore read-only”?
asked 5 days ago tuhin1 47.2k points
0 votes
1 answer 34 views
34 views
Problem: How I can fix this issue: error trying to diff '[object object]'. only arrays and iterables are allowed
asked Mar 14 Wafa Abu Yousef 6.1k points