Authbot login service returns link "ClientID not supported for this API"

I am running example v2 example AuthBot and can successfully access the login page. However, when it redirects to the login page for my bot, it shows a page that says "You don't have permission to view this directory or page." The top link contains an error:

AADSTS70001 - Application not supported for this API version

Where can I enable this type of API? I already visited https://apps.dev.microsoft.com/#/appList to see if my bot is there ... and this, but its in the section delegated as "Azure AD Applications only". When I click on it, it just shows the application manifest and I'm not sure what I need to change to allow users to login using the AuthBot authentication method.

Does anyone know how to get around this? Thank.

EDIT: Something that might be relevant is that my bot sign in the link works when I plug it into my browser. Just not working with AuthBot for some reason.

+3


source to share


1 answer


I believe the confusion here is between V1 and V2 apps. Microsoft recently introduced a new V2 app model which is detailed here here .

You seem to be trying to use a V1 app to access a V2 endpoint which just doesn't work today. The error message you receive says the V2 endpoint is expecting an access token from the V2 application. Although you can see your application in apps.dev.microsoft.com

, you noted that it is in the "Azure AD only" section, which means it is application V1.



Start at the portal apps.dev.microsoft.com

and register a new V2 app (also known as a converged app) and you should be able to access the API endpoint you are trying to reach.

Let me know if it helps.

+4


source







All Articles