The map [name] must have 'content' property set to a valid string












0















I am trying to do a deployment using Azure ARM templates. Specifically, I am adding maps to an integration account. I was able to successfully deploy a schema using the template below (note the line that reads "uri": "URL To schema file"):



 {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.ORDERS05.740.3.Receive'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.ORDERS05.740.3.Receive')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ORDERS05//740/Receive",
"documentName": "Receive",
"contentLink": {
"uri": "URL To schema file",
"contentVersion": ""0x8D62FD7300A25A5"",
"contentSize": 2819,
"contentHash": {
"algorithm": "md5",
"value": "7AFgnaeT9yAPq/WpnV7TiA=="
}
},
"metadata": {
"fileName": null
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


However, the same approach does not work with integration account maps. If I try to deploy this (note the line that reads "uri": "URL To xsd file"):



  {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/MBGMCR03//740/Receive",
"documentName": "ReceiveResponse",
"contentLink": {
"uri": "URL to xsd file",
"contentVersion": ""0x8D62F1873ED03FE"",
"contentSize": 972,
"contentHash": {
"algorithm": "md5",
"value": "IH2gYZA2aR61SNZIrxOlZA=="
}
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


I get an error saying the The map [name] must have 'content' property set to a valid string. I have looked on the examples provided and they are all passing the content of the map file within the ARM temaplte. An example is here:



https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-logic-app-veter-pipeline/azuredeploy.json



I don't want to include the content of the maps file in my ARM template due to size of those files. I'd rather reference the files through a uri that I provide to the script. Is there a way to do this?










share|improve this question

























  • I have not worked with integration accounts, but generally is it possible to reference the content from the Azure portal if you create the resource directly from there ? If that's possible and this should be doable

    – HariHaran
    Nov 15 '18 at 6:50
















0















I am trying to do a deployment using Azure ARM templates. Specifically, I am adding maps to an integration account. I was able to successfully deploy a schema using the template below (note the line that reads "uri": "URL To schema file"):



 {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.ORDERS05.740.3.Receive'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.ORDERS05.740.3.Receive')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ORDERS05//740/Receive",
"documentName": "Receive",
"contentLink": {
"uri": "URL To schema file",
"contentVersion": ""0x8D62FD7300A25A5"",
"contentSize": 2819,
"contentHash": {
"algorithm": "md5",
"value": "7AFgnaeT9yAPq/WpnV7TiA=="
}
},
"metadata": {
"fileName": null
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


However, the same approach does not work with integration account maps. If I try to deploy this (note the line that reads "uri": "URL To xsd file"):



  {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/MBGMCR03//740/Receive",
"documentName": "ReceiveResponse",
"contentLink": {
"uri": "URL to xsd file",
"contentVersion": ""0x8D62F1873ED03FE"",
"contentSize": 972,
"contentHash": {
"algorithm": "md5",
"value": "IH2gYZA2aR61SNZIrxOlZA=="
}
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


I get an error saying the The map [name] must have 'content' property set to a valid string. I have looked on the examples provided and they are all passing the content of the map file within the ARM temaplte. An example is here:



https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-logic-app-veter-pipeline/azuredeploy.json



I don't want to include the content of the maps file in my ARM template due to size of those files. I'd rather reference the files through a uri that I provide to the script. Is there a way to do this?










share|improve this question

























  • I have not worked with integration accounts, but generally is it possible to reference the content from the Azure portal if you create the resource directly from there ? If that's possible and this should be doable

    – HariHaran
    Nov 15 '18 at 6:50














0












0








0


0






I am trying to do a deployment using Azure ARM templates. Specifically, I am adding maps to an integration account. I was able to successfully deploy a schema using the template below (note the line that reads "uri": "URL To schema file"):



 {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.ORDERS05.740.3.Receive'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.ORDERS05.740.3.Receive')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ORDERS05//740/Receive",
"documentName": "Receive",
"contentLink": {
"uri": "URL To schema file",
"contentVersion": ""0x8D62FD7300A25A5"",
"contentSize": 2819,
"contentHash": {
"algorithm": "md5",
"value": "7AFgnaeT9yAPq/WpnV7TiA=="
}
},
"metadata": {
"fileName": null
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


However, the same approach does not work with integration account maps. If I try to deploy this (note the line that reads "uri": "URL To xsd file"):



  {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/MBGMCR03//740/Receive",
"documentName": "ReceiveResponse",
"contentLink": {
"uri": "URL to xsd file",
"contentVersion": ""0x8D62F1873ED03FE"",
"contentSize": 972,
"contentHash": {
"algorithm": "md5",
"value": "IH2gYZA2aR61SNZIrxOlZA=="
}
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


I get an error saying the The map [name] must have 'content' property set to a valid string. I have looked on the examples provided and they are all passing the content of the map file within the ARM temaplte. An example is here:



https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-logic-app-veter-pipeline/azuredeploy.json



I don't want to include the content of the maps file in my ARM template due to size of those files. I'd rather reference the files through a uri that I provide to the script. Is there a way to do this?










share|improve this question
















I am trying to do a deployment using Azure ARM templates. Specifically, I am adding maps to an integration account. I was able to successfully deploy a schema using the template below (note the line that reads "uri": "URL To schema file"):



 {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.ORDERS05.740.3.Receive'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.ORDERS05.740.3.Receive')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ORDERS05//740/Receive",
"documentName": "Receive",
"contentLink": {
"uri": "URL To schema file",
"contentVersion": ""0x8D62FD7300A25A5"",
"contentSize": 2819,
"contentHash": {
"algorithm": "md5",
"value": "7AFgnaeT9yAPq/WpnV7TiA=="
}
},
"metadata": {
"fileName": null
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


However, the same approach does not work with integration account maps. If I try to deploy this (note the line that reads "uri": "URL To xsd file"):



  {
"comments": "Generalized from resource: '/subscriptions/e9cf2aa0-e157-48aa-b8b6-556da88ab8f8/resourceGroups/iNovaLogicAppsDev/providers/Microsoft.Logic/integrationAccounts/NewDevIntegrationAccount/schemas/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse'.",
"type": "Microsoft.Logic/integrationAccounts/schemas",
"name": "[concat(parameters('integrationAccount_name'), '/sap_IDocOperation.MBGMCR03.740.3.ReceiveResponse')]",
"apiVersion": "2016-06-01",
"scale": null,
"properties": {
"schemaType": "Xml",
"targetNamespace": "http://Microsoft.LobServices.Sap/2007/03/Idoc/3/MBGMCR03//740/Receive",
"documentName": "ReceiveResponse",
"contentLink": {
"uri": "URL to xsd file",
"contentVersion": ""0x8D62F1873ED03FE"",
"contentSize": 972,
"contentHash": {
"algorithm": "md5",
"value": "IH2gYZA2aR61SNZIrxOlZA=="
}
},
"contentType": "application/xml"
},
"dependsOn": [
"[resourceId('Microsoft.Logic/integrationAccounts', parameters('integrationAccount_name'))]"
]
},


I get an error saying the The map [name] must have 'content' property set to a valid string. I have looked on the examples provided and they are all passing the content of the map file within the ARM temaplte. An example is here:



https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-logic-app-veter-pipeline/azuredeploy.json



I don't want to include the content of the maps file in my ARM template due to size of those files. I'd rather reference the files through a uri that I provide to the script. Is there a way to do this?







azure azure-logic-apps arm-template






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 7:54









HariHaran

534413




534413










asked Nov 14 '18 at 6:11









Jack RossJack Ross

1




1













  • I have not worked with integration accounts, but generally is it possible to reference the content from the Azure portal if you create the resource directly from there ? If that's possible and this should be doable

    – HariHaran
    Nov 15 '18 at 6:50



















  • I have not worked with integration accounts, but generally is it possible to reference the content from the Azure portal if you create the resource directly from there ? If that's possible and this should be doable

    – HariHaran
    Nov 15 '18 at 6:50

















I have not worked with integration accounts, but generally is it possible to reference the content from the Azure portal if you create the resource directly from there ? If that's possible and this should be doable

– HariHaran
Nov 15 '18 at 6:50





I have not worked with integration accounts, but generally is it possible to reference the content from the Azure portal if you create the resource directly from there ? If that's possible and this should be doable

– HariHaran
Nov 15 '18 at 6:50












0






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',
autoActivateHeartbeat: false,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53294122%2fthe-map-name-must-have-content-property-set-to-a-valid-string%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53294122%2fthe-map-name-must-have-content-property-set-to-a-valid-string%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

Bressuire

Vorschmack

Quarantine