118
Views
9
Comments
Solved
[Microsoft Login Connector Demo] AADSTS500201: We are unable to issue tokens from this API version
Question
microsoft-login-connector-demo
Web icon
Forge asset by Andreia da Costa Gaspar

Hello, I'm a beginner in outsystems and I'm trying to create a personal project with a simple microsoft login and the step in the documentation "Select  New registration indicated by the plus symbol, getting the below (obviously with your organisation being shown were Davies March is showing)" is different from mine since Im not in an organization. What would I pick as my supported account type instead?

Also I get this error when I try to sign-in the Microsoft log-in page. I've set the correct OriginalURL, ClientID, and ClientSecret in outsystems following the documentation and the instructions in the Demo Connector.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution

Hi,

When I configured the demo application using an Azure App registration using an Office 365 account everything works perfectly. I used as a resource "https://graph.microsoft.com" (site.Resource).

Doing the same with an application registered using the personal Microsoft Account (live account) gave me the same error as you have.

I do recall that you need an Office 365 subscription but cannot find the official page stating this.

Regards,

Daniel

UserImage.jpg
Shaira Micah Nogoy

Hi Daniel,


I am having the same error

Do I need to use an Enterprise MS 365 to log-in? 

I can't also access the User in the Active User Directory 

I am using free Azure personal account. Thank you! 

Regards,

Shai

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi John,

Did you login to the Azure portal with an Office 365 account, or with (personal) Microsoft account to create the application in Azure?

Regards,

Daniel

UserImage.jpg
John Smith

Thank you for your reply. I logged in using a personal Microsoft account to register an app in Azure.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

And you were able to do the app registration successfully?

UserImage.jpg
John Smith

Yes, I was able to do the app registration successfully.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Ok, I will try to do the same steps, I never used it with a personal Microsoft account before, only with Office 365 accounts. Let's see if I get the same error.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

I can confirm to get the same error message when using a personal Microsoft account. I look into it more to find the reason for this.

UserImage.jpg
John Smith

Thank you sir, I appreciate it.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution

Hi,

When I configured the demo application using an Azure App registration using an Office 365 account everything works perfectly. I used as a resource "https://graph.microsoft.com" (site.Resource).

Doing the same with an application registered using the personal Microsoft Account (live account) gave me the same error as you have.

I do recall that you need an Office 365 subscription but cannot find the official page stating this.

Regards,

Daniel

UserImage.jpg
Shaira Micah Nogoy

Hi Daniel,


I am having the same error

Do I need to use an Enterprise MS 365 to log-in? 

I can't also access the User in the Active User Directory 

I am using free Azure personal account. Thank you! 

Regards,

Shai

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.