I have an application(WebApp) which calls external API(WebApi1) and WebApi1 calls Another external Api WebApi2.
I have given application permission to WebApi1 from WebApp Similarly application permission to WebApi2 from WebApi1
I got consent page for WebApi1 and accepted it, it works fine for WebApi1. But when I tried to call WebApi2 with on behalf of user from WebApi1, it throws consent page error.
AADSTS65001: The user or administrator has not consented to use the application with ID
knownClientApplications
in AAD application's manifest as mentioned at docs.microsoft.com/en-us/azure/active-directory/… – Gary Liu