Issue with service fabric resource manager file deployment (apim.json and apim.parameters)











up vote
1
down vote

favorite












My requirement is as follows:



I have an web API whose port I have removed from the ServiceManifest.xml file. This is done so that I can implement multiple node multiple calls feature from API management. (i.e. I want to remove dependency on port number)



While deploying API management resource files, I am facing issues while deploying apim.json and apim.parameters.json file.



Following is the exception I am getting always.
"Service activation failed. Please look at the details in Activity Log on the left side. In case you are deploying into VNET please make sure prerequisites are followed as described on https://aka.ms/apiminvnet"



There is nothing in the log files when I am uploading.



I am using following link for the deployment and testing. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-api-management



I am getting exception in running powershell script



New-AzureRmResourceGroupDeployment -ResourceGroupName $groupname -TemplateFile "$templatepathapim.json" -TemplateParameterFile "$templatepathapim.parameters.json" -Verbose










share|improve this question









New contributor




Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I recommend you retag to API Management
    – Mikkel Mørk Hegnhøj
    15 hours ago










  • Thanks Mikkel. Edited.
    – Keshav
    1 hour ago















up vote
1
down vote

favorite












My requirement is as follows:



I have an web API whose port I have removed from the ServiceManifest.xml file. This is done so that I can implement multiple node multiple calls feature from API management. (i.e. I want to remove dependency on port number)



While deploying API management resource files, I am facing issues while deploying apim.json and apim.parameters.json file.



Following is the exception I am getting always.
"Service activation failed. Please look at the details in Activity Log on the left side. In case you are deploying into VNET please make sure prerequisites are followed as described on https://aka.ms/apiminvnet"



There is nothing in the log files when I am uploading.



I am using following link for the deployment and testing. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-api-management



I am getting exception in running powershell script



New-AzureRmResourceGroupDeployment -ResourceGroupName $groupname -TemplateFile "$templatepathapim.json" -TemplateParameterFile "$templatepathapim.parameters.json" -Verbose










share|improve this question









New contributor




Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I recommend you retag to API Management
    – Mikkel Mørk Hegnhøj
    15 hours ago










  • Thanks Mikkel. Edited.
    – Keshav
    1 hour ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











My requirement is as follows:



I have an web API whose port I have removed from the ServiceManifest.xml file. This is done so that I can implement multiple node multiple calls feature from API management. (i.e. I want to remove dependency on port number)



While deploying API management resource files, I am facing issues while deploying apim.json and apim.parameters.json file.



Following is the exception I am getting always.
"Service activation failed. Please look at the details in Activity Log on the left side. In case you are deploying into VNET please make sure prerequisites are followed as described on https://aka.ms/apiminvnet"



There is nothing in the log files when I am uploading.



I am using following link for the deployment and testing. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-api-management



I am getting exception in running powershell script



New-AzureRmResourceGroupDeployment -ResourceGroupName $groupname -TemplateFile "$templatepathapim.json" -TemplateParameterFile "$templatepathapim.parameters.json" -Verbose










share|improve this question









New contributor




Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











My requirement is as follows:



I have an web API whose port I have removed from the ServiceManifest.xml file. This is done so that I can implement multiple node multiple calls feature from API management. (i.e. I want to remove dependency on port number)



While deploying API management resource files, I am facing issues while deploying apim.json and apim.parameters.json file.



Following is the exception I am getting always.
"Service activation failed. Please look at the details in Activity Log on the left side. In case you are deploying into VNET please make sure prerequisites are followed as described on https://aka.ms/apiminvnet"



There is nothing in the log files when I am uploading.



I am using following link for the deployment and testing. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-api-management



I am getting exception in running powershell script



New-AzureRmResourceGroupDeployment -ResourceGroupName $groupname -TemplateFile "$templatepathapim.json" -TemplateParameterFile "$templatepathapim.parameters.json" -Verbose







azure-service-fabric azure-api-management service-fabric-stateless api-management






share|improve this question









New contributor




Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago





















New contributor




Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Keshav

62




62




New contributor




Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Keshav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • I recommend you retag to API Management
    – Mikkel Mørk Hegnhøj
    15 hours ago










  • Thanks Mikkel. Edited.
    – Keshav
    1 hour ago


















  • I recommend you retag to API Management
    – Mikkel Mørk Hegnhøj
    15 hours ago










  • Thanks Mikkel. Edited.
    – Keshav
    1 hour ago
















I recommend you retag to API Management
– Mikkel Mørk Hegnhøj
15 hours ago




I recommend you retag to API Management
– Mikkel Mørk Hegnhøj
15 hours ago












Thanks Mikkel. Edited.
– Keshav
1 hour ago




Thanks Mikkel. Edited.
– Keshav
1 hour ago

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Keshav is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53372685%2fissue-with-service-fabric-resource-manager-file-deployment-apim-json-and-apim-p%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Keshav is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Keshav is a new contributor. Be nice, and check out our Code of Conduct.













Keshav is a new contributor. Be nice, and check out our Code of Conduct.












Keshav is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53372685%2fissue-with-service-fabric-resource-manager-file-deployment-apim-json-and-apim-p%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]