While deploying the Managed Application getting error code forbidden

Mittal, Gaurav 1 Reputation point
2021-11-11T17:01:48.33+00:00

Hi,

while Deploying the app, getting the below issue,

{
"status": "Failed",
"error": {
"code": "ApplianceDeploymentFailed",
"message": "The operation to create appliance failed. Please check operations of deployment 'Sauravmarket123' under resource group '/subscriptions/bb99d58e-6c54-4164-b079-7dfd91110b65/resourceGroups/mrg-DMS-Marketplacev9-20211111220116'. Error message: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.'",
"details": [
{
"code": "Forbidden",
"message": "{\r\n \"error\": {\r\n \"code\": \"LinkedAuthorizationFailed\",\r\n \"message\": \"The client 'b8023663-e0b0-4c82-9599-d51af9b266eb' with object id 'b8023663-e0b0-4c82-9599-d51af9b266eb' has permission to perform action 'Microsoft.Network/networkInterfaces/write' on scope '/subscriptions/bb99d58e-6c54-4164-b079-7dfd91110b65/resourcegroups/mrg-DMS-Marketplacev9-20211111220116/providers/Microsoft.Network/networkInterfaces/secgatewayvm_interface123'; however, it does not have permission to perform action 'Microsoft.Network/publicIPAddresses/join/action' on the linked scope(s) '/subscriptions/bb99d58e-6c54-4164-b079-7dfd91110b65/resourceGroups/DMS-Demo/providers/Microsoft.Network/publicIPAddresses/secgatewayvm_public_ip123' or the linked scope(s) are invalid.\"\r\n }\r\n}"
},
{
"code": "Forbidden",
"message": "{\r\n \"error\": {\r\n \"code\": \"LinkedAuthorizationFailed\",\r\n \"message\": \"The client 'b8023663-e0b0-4c82-9599-d51af9b266eb' with object id 'b8023663-e0b0-4c82-9599-d51af9b266eb' has permission to perform action 'Microsoft.Network/networkInterfaces/write' on scope '/subscriptions/bb99d58e-6c54-4164-b079-7dfd91110b65/resourcegroups/mrg-DMS-Marketplacev9-20211111220116/providers/Microsoft.Network/networkInterfaces/dmsvm_interface123'; however, it does not have permission to perform action 'Microsoft.Network/publicIPAddresses/join/action' on the linked scope(s) '/subscriptions/bb99d58e-6c54-4164-b079-7dfd91110b65/resourceGroups/DMS-Demo/providers/Microsoft.Network/publicIPAddresses/dmsvm_public_ip123' or the linked scope(s) are invalid.\"\r\n }\r\n}"
}
]
}
}

Kindly suggest what are we missing,

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
149 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mittal, Gaurav 1 Reputation point
    2021-11-19T03:03:30.38+00:00

    Thanks for helping. Well what we understand is for creating a VM, the image has to be locally available in that region. The above issue happens when the image is in different region and the VM is created in another region.

    So to solve this either the image has to be available in the region where we plan to spin off the VM or it should be kept in a Image Gallery replicated in all the regions so that the VM can be spinnedoff in any region.

    Let me know if my understanding is correct.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.