az apim api list authenticationSettings property in response is always null
Describe the bug
Confusing response of az apim api list
Command Name
az apim api list
Errors: None
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Configure APIM Service with API with Security -> User authorization -> OpenID Connect or OAuth 2.0
-
az login -
az apim api list --resource-group {} --service-name {} - Get response where all APIs have
authenticationSettings: null - Call
az apim api show --resource-group {} --service-name {} --api-id {}for API ID where User authentication is configured - Get response with
"authenticationSettings": {
"oAuth2": null,
"openid": {
"bearerTokenSendingMethods": null,
"openidProviderId": "openid-connect-azuread"
}
}
Expected Behavior
- Option 1. The same value of
authenticationSettingsproperty inaz apim api listandaz apim api showresponses - Option 2. Absence of
authenticationSettingsproperty inaz apim api listresponse
Environment Summary
Windows-10-10.0.14393-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.19.1 *
Additional Context
Account has Contributor access to the APIM Service resource
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @miaojiang.
Issue Details
Describe the bug
Confusing response of az apim api list
Command Name
az apim api list
Errors: None
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Configure APIM Service with API with Security -> User authorization -> OpenID Connect or OAuth 2.0
-
az login -
az apim api list --resource-group {} --service-name {} - Get response where all APIs have
authenticationSettings: null - Call
az apim api show --resource-group {} --service-name {} --api-id {}for API ID where User authentication is configured - Get response with
"authenticationSettings": {
"oAuth2": null,
"openid": {
"bearerTokenSendingMethods": null,
"openidProviderId": "openid-connect-azuread"
}
}
Expected Behavior
- Option 1. The same value of
authenticationSettingsproperty inaz apim api listandaz apim api showresponses - Option 2. Absence of
authenticationSettingsproperty inaz apim api listresponse
Environment Summary
Windows-10-10.0.14393-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.19.1 *
Additional Context
Account has Contributor access to the APIM Service resource
| Author: | ivanignatiev |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | - |
route to service team
@ivanignatiev We are returning authenticationSettings as null for both the command.
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!