Cannot provide values for approvalRequired and subscriptionsLimit when subscriptionRequired is set to false in the request payload

Cannot provide values for approvalRequired and subscriptionsLimit when subscriptionRequired is set to false in the request payload

Solution:- Set null for approvalRequired and subscriptionsLimit for resolving the issue with Azure API Management

resource Asish ‘Microsoft.ApiManagement/service/[email protected]’ = {  name: ‘string’  parent: apimInstance  properties: {    approvalRequired: null    description: ‘Asish Product’    displayName: ‘AsishProduct’    state: ‘published’    subscriptionRequired: false    subscriptionsLimit: null    terms: ‘AsishAPIs Terms’  }  }

Add Comment