'ResourceNotFound sftpwithssh

[azure] ResourceNotFound. The Resource 'Microsoft.Logic/integrationServiceEnvironments/ise/managedApis/sftpwithssh' under resource group was not found. For more details please go to https://aka.ms/ARMResources



Solution 1:[1]

The reason for this error is due to the Resource Manager needs to retrieve the properties for a resource, but can't find the resource in your subscription.

You can resolve this by following the below solutions:

Solution 1 - check resource properties:

When you receive this error while doing a management task, check the values you provided for the resource. The three values to check are:

  • Resource name
  • Resource group name
  • Subscription

If you're using PowerShell or Azure CLI, check that you're running commands in the subscription that contains the resource. You can change the subscription with Set-AzContext or az account set.

Many commands provide a subscription parameter that lets you specify a different subscription than the current context.

If you can't verify the properties, sign in to the Microsoft Azure portal.

Find the resource you're trying to use and examine the resource name, resource group, and subscription.

Solution 2 - set dependencies:

If you get this error when deploying a template, you may need to add a dependency. Resource Manager optimizes deployments by creating resources in parallel, when possible.

For example, when you deploy a web app, the App Service plan must exist.

If you haven't specified that the web app depends on the App Service plan, Resource Manager creates both resources at the same time. The web app fails with an error that the App Service plan resource can't be found because it doesn't exist yet. You prevent this error by setting a dependency in the web app.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RajkumarMamidiChettu-MT