1
votes

I have a created a web api with token based authentication and deployed in azure app service. If i try to open from azure hosted app service in APIM it could not find. do we need change settings?(I am not authenticating with azure AD because it is test service).

Can anyone please help on this.

Thanks in advance, Eswar

2
When you will not get a response from API management you should check HTTPS status code. What status code are you getting? Azure AD not mandatory with APIM. you can create one hello world api in same application (without any security) then you can try to access that api thro APIM. c-sharpcorner.com/UploadFile/g_arora/…Pankaj Rawat
I am not calling APIM. I just created normal web API and hosted in Azure app service. when I browse it from API app in APIM. My service is not detected.Eswar reddy
What is status code APIM returning?Pankaj Rawat
For me it came after some time.Naveen Motwani - AIS

2 Answers

0
votes

When you import an API App in APIM, APIM finds the swagger associated with the selected app, fetches it, and imports it. In case APIM does not find swagger, it exposes the API as a "pass-through" API.

So when you create API app in local, you need to choose Azure API App and then deploy to azure. So that, you could find it.

enter image description here

0
votes

APIM supports importing only API apps. Try going to https://resources.azure.com/ and locating your app there. In its properties it must have kind equal to "api".