Why does Import-AzApiManagementApi overwrite my authorization server settings? #18320
-
I am importing a OpenAPI document to an existing API for the purpose of updating the operations list. All other settings should remain unchanged. Also, where in an OpenAPI document are we supposed to indicate what APIM authorization server Id to use? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@adrianhall , @KedarJoshi , please help to look into this question. |
Beta Was this translation helpful? Give feedback.
-
The APIM extractor method described in the https://github.com/Azure/azure-api-management-devops-resource-kit is redundant. The swagger document already describes operations, schemas, etc. Why is Microsoft's recommendation to translate a web standard into a Microsoft proprietary ARM/Bicep format then import into APIM. Now the tooling behaves in such a way that forces us to use the extractor in some form because the import powershell command have undesirable side effects. |
Beta Was this translation helpful? Give feedback.
-
Hi Keg, Microsoft doesn't "recommend" a specific import technique over others. We have several mechanisms for setting up the Azure API Management API based on an OpenAPI specification - some of these have side effects and others have limitations. It sounds like what you are requesting is not possible with the explicit set of features we have today. Please file your specific request to aka.ms/apimwish and we will take a look at what you need. No further action required on the PowerShell module (since the product is working "as designed'). #please-close |
Beta Was this translation helpful? Give feedback.
Hi Keg,
Microsoft doesn't "recommend" a specific import technique over others. We have several mechanisms for setting up the Azure API Management API based on an OpenAPI specification - some of these have side effects and others have limitations. It sounds like what you are requesting is not possible with the explicit set of features we have today. Please file your specific request to aka.ms/apimwish and we will take a look at what you need.
No further action required on the PowerShell module (since the product is working "as designed').
#please-close