I am creating a mobile application and a web api. The mobile app will access the web api using the token obtained.
I have created a mobile application using the portal "https://apps.dev.microsoft.com/" and a Web App/API using the Applications under Azure Active Directory. Both these were created using a Global admin of the tenant.
When I try to login into the mobile app, with the App Id of the web api as scope, I am getting below error.
The application named [ABC] was not found in the tenant named [XYZ].onmicrosoft.com
The native client is not able to find the web api.
Any pointers on what could be the problem here ?