I am trying to build a custom connector for my API using the swagger doc. I want to secure it with OAuth2 through Azure Active Directory. I have given all the necessary details in the Security section for the connector. However, when I try to use this custom connector to build a new connection, I keep getting this same error even after giving the correct password:
I have followed the instructions in this blog post to setup this connector:
https://flow.microsoft.com/en-us/documentation/customapi-azure-resource-manager-tutorial/
Am I missing something here?
Thanks for the reply
The API is built using ASP.NET Web API. I am authenticating the API using another Azure AD application. I have linked this application to the MS Flow Azure AD application which I am trying to use for authentication purposes.
The swagger file is located at: http://uprincesecureprodapi.azurewebsites.net/swagger/docs/v1
Hi @Anonymous,
Could you please explain a bit for the API that you would like to build for custom connector?
The API should support OAuth2 method if you would like to use OAuth2 to build the corresponding connector.
The example in the article you shared is using Azure Resource Manager API as an example, which could be authenticated through the AAD.
If you followed all the steps mentioned in the article, then could you please share your swagger file here?
Regards,
Michael