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’  }  }

Bicep A nested resource type must have identical number of segments as its resource name

ERROR: {‘code’: ‘InvalidTemplate’, ‘message’: “Deployment template validation failed: ‘The template resource ‘rwf-npd/GetClient’ for type ‘Microsoft.ApiManagement/service/apis/operations’ at line ’38’ and column ’63’ has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-template/#resources for usage details.’.”, ‘additionalInfo’: [{‘type’: ‘TemplateViolation’, ‘info’: {‘lineNumber’: 38, ‘linePosition’: 63, ‘path’: ‘properties.template.resources[1].type’}}]}

[error]Script failed with exit code: 1

Solution: Make sure you are not using any slash (/) in the resource name

resource exampleApiOperationGetPolicy ‘Microsoft.ApiManagement/service/apis/operations/[email protected]’ = {  name: ‘${apimInstance.name}policy’  properties: {    value: ‘<policies></policies>’  }}

MSAL React Native Library Azure Active Directory B2C

This is update received from Microsoft backend team, currently they don’t have plan to provide an official MSAL React Native library.

If the app is not going to be used in production, you can use the POC library here: https://github.com/AzureAD/microsoft-authentication-library-for-js/packages/292089 (This library is a bit old)

If it’s going to be used in production, you can choose from below compatible libraries:

https://github.com/stashenergy/react-native-msal

https://github.com/FormidableLabs/react-native-app-auth

Note: Microsoft does not provide support on above compatible libraries. If you run into any issues or need help, please post your requests in communities (like Github issues, or Stackoverflow, etc) and seek for help.

Cloud Explorer has been retired in Visual Studio 2022

  • To debug Azure App Services or Azure Function apps, you can use the Connected Services or the Publish features available on all projects.
    • If you rely on Visual Studio for publishing, you may access this feature under the “Additional Options” in the Hosting section.
    • If you don’t use the publishing feature, the Connected Services node inside each Project in your Solution can help you configure access to Azure resources and invoke various operations like remote debugging, remote profiling, starting/stopping the application, view streaming logs, and more.
  • Use Microsoft Azure Storage Explorer is a free, standalone app from Microsoft. You can use it to work visually with Azure Storage data on Windows, macOS, and Linux.
  • The Kudu console gives you direct, elevated command-line access to the App Service server and its file system. This is both a valuable debugging tool and allows for CLI operations such as installing packages.

If needed, you can use the Azure Portal or continue to use the Azure node of Server Explorer in previous versions of Visual Studio.