Entity with the specified id does not exist in the system
I am trying to access cosmos db from an app service which is integrated to a vnet, subnet = "default"
. This subnet has service endpoint enabled for Cosmos db, and the configuration of vnet+subnet has been added in the cosmos db portal.
I am getting this error - Entity with the specified id does not exist in the system when my app sends a query to the cosmos db account through NodeJS SDK
The virtual network gateway associated with the vnet has
Address pool = 172.16.0.0/24, Tunnel type = SSL VPN(SSTP) [disabled IKEv2 VPN]
SKU = VpnGw1
I would like the app service which is integrated with the vnet to access the cosmos db which has service endpoint enabled for the vnet, subnet
azure-cosmosdb azure-virtual-network
add a comment |
I am trying to access cosmos db from an app service which is integrated to a vnet, subnet = "default"
. This subnet has service endpoint enabled for Cosmos db, and the configuration of vnet+subnet has been added in the cosmos db portal.
I am getting this error - Entity with the specified id does not exist in the system when my app sends a query to the cosmos db account through NodeJS SDK
The virtual network gateway associated with the vnet has
Address pool = 172.16.0.0/24, Tunnel type = SSL VPN(SSTP) [disabled IKEv2 VPN]
SKU = VpnGw1
I would like the app service which is integrated with the vnet to access the cosmos db which has service endpoint enabled for the vnet, subnet
azure-cosmosdb azure-virtual-network
More than your environment you may want to add your query and cosmos DB schema which may be the main culprit.
– Fakrudeen
Nov 27 '18 at 19:03
The same query works if I allow access from all networks under "Firewall and virtual networks" settings
– Devarajan Roopeshwar
Nov 27 '18 at 19:04
Similar to this question but I would want a solution by allowing access from only a vnet
– Devarajan Roopeshwar
Nov 27 '18 at 19:08
If the reply makes sense, you could checkmark under "Answer", or let me know if you need more help.
– Nancy Xiong
Nov 29 '18 at 1:34
Yes, thanks a lot @NancyXiong
– Devarajan Roopeshwar
Nov 29 '18 at 16:18
add a comment |
I am trying to access cosmos db from an app service which is integrated to a vnet, subnet = "default"
. This subnet has service endpoint enabled for Cosmos db, and the configuration of vnet+subnet has been added in the cosmos db portal.
I am getting this error - Entity with the specified id does not exist in the system when my app sends a query to the cosmos db account through NodeJS SDK
The virtual network gateway associated with the vnet has
Address pool = 172.16.0.0/24, Tunnel type = SSL VPN(SSTP) [disabled IKEv2 VPN]
SKU = VpnGw1
I would like the app service which is integrated with the vnet to access the cosmos db which has service endpoint enabled for the vnet, subnet
azure-cosmosdb azure-virtual-network
I am trying to access cosmos db from an app service which is integrated to a vnet, subnet = "default"
. This subnet has service endpoint enabled for Cosmos db, and the configuration of vnet+subnet has been added in the cosmos db portal.
I am getting this error - Entity with the specified id does not exist in the system when my app sends a query to the cosmos db account through NodeJS SDK
The virtual network gateway associated with the vnet has
Address pool = 172.16.0.0/24, Tunnel type = SSL VPN(SSTP) [disabled IKEv2 VPN]
SKU = VpnGw1
I would like the app service which is integrated with the vnet to access the cosmos db which has service endpoint enabled for the vnet, subnet
azure-cosmosdb azure-virtual-network
azure-cosmosdb azure-virtual-network
edited Nov 27 '18 at 19:05
Devarajan Roopeshwar
asked Nov 27 '18 at 18:45
Devarajan RoopeshwarDevarajan Roopeshwar
33
33
More than your environment you may want to add your query and cosmos DB schema which may be the main culprit.
– Fakrudeen
Nov 27 '18 at 19:03
The same query works if I allow access from all networks under "Firewall and virtual networks" settings
– Devarajan Roopeshwar
Nov 27 '18 at 19:04
Similar to this question but I would want a solution by allowing access from only a vnet
– Devarajan Roopeshwar
Nov 27 '18 at 19:08
If the reply makes sense, you could checkmark under "Answer", or let me know if you need more help.
– Nancy Xiong
Nov 29 '18 at 1:34
Yes, thanks a lot @NancyXiong
– Devarajan Roopeshwar
Nov 29 '18 at 16:18
add a comment |
More than your environment you may want to add your query and cosmos DB schema which may be the main culprit.
– Fakrudeen
Nov 27 '18 at 19:03
The same query works if I allow access from all networks under "Firewall and virtual networks" settings
– Devarajan Roopeshwar
Nov 27 '18 at 19:04
Similar to this question but I would want a solution by allowing access from only a vnet
– Devarajan Roopeshwar
Nov 27 '18 at 19:08
If the reply makes sense, you could checkmark under "Answer", or let me know if you need more help.
– Nancy Xiong
Nov 29 '18 at 1:34
Yes, thanks a lot @NancyXiong
– Devarajan Roopeshwar
Nov 29 '18 at 16:18
More than your environment you may want to add your query and cosmos DB schema which may be the main culprit.
– Fakrudeen
Nov 27 '18 at 19:03
More than your environment you may want to add your query and cosmos DB schema which may be the main culprit.
– Fakrudeen
Nov 27 '18 at 19:03
The same query works if I allow access from all networks under "Firewall and virtual networks" settings
– Devarajan Roopeshwar
Nov 27 '18 at 19:04
The same query works if I allow access from all networks under "Firewall and virtual networks" settings
– Devarajan Roopeshwar
Nov 27 '18 at 19:04
Similar to this question but I would want a solution by allowing access from only a vnet
– Devarajan Roopeshwar
Nov 27 '18 at 19:08
Similar to this question but I would want a solution by allowing access from only a vnet
– Devarajan Roopeshwar
Nov 27 '18 at 19:08
If the reply makes sense, you could checkmark under "Answer", or let me know if you need more help.
– Nancy Xiong
Nov 29 '18 at 1:34
If the reply makes sense, you could checkmark under "Answer", or let me know if you need more help.
– Nancy Xiong
Nov 29 '18 at 1:34
Yes, thanks a lot @NancyXiong
– Devarajan Roopeshwar
Nov 29 '18 at 16:18
Yes, thanks a lot @NancyXiong
– Devarajan Roopeshwar
Nov 29 '18 at 16:18
add a comment |
1 Answer
1
active
oldest
votes
Apps in Azure App Service are hosted in a multi-tenant system, which precludes provisioning an app directly in a VNet. Also, the VNet Integration feature is always used for securely accessing to resources in your virtual network. This does not mean the web app is located in that VNet, and you could not restrict the web app access to cosmos DB via the VNet endpoint section.
If you want to allow access only from a VNet, you could create a web app service with App Service Environments. The web app will be deployed into a VNet that you have fine-grained control over inbound and outbound application network traffic. Then you can add the VNet to the cosmos DB firewall.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53506220%2fentity-with-the-specified-id-does-not-exist-in-the-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Apps in Azure App Service are hosted in a multi-tenant system, which precludes provisioning an app directly in a VNet. Also, the VNet Integration feature is always used for securely accessing to resources in your virtual network. This does not mean the web app is located in that VNet, and you could not restrict the web app access to cosmos DB via the VNet endpoint section.
If you want to allow access only from a VNet, you could create a web app service with App Service Environments. The web app will be deployed into a VNet that you have fine-grained control over inbound and outbound application network traffic. Then you can add the VNet to the cosmos DB firewall.
add a comment |
Apps in Azure App Service are hosted in a multi-tenant system, which precludes provisioning an app directly in a VNet. Also, the VNet Integration feature is always used for securely accessing to resources in your virtual network. This does not mean the web app is located in that VNet, and you could not restrict the web app access to cosmos DB via the VNet endpoint section.
If you want to allow access only from a VNet, you could create a web app service with App Service Environments. The web app will be deployed into a VNet that you have fine-grained control over inbound and outbound application network traffic. Then you can add the VNet to the cosmos DB firewall.
add a comment |
Apps in Azure App Service are hosted in a multi-tenant system, which precludes provisioning an app directly in a VNet. Also, the VNet Integration feature is always used for securely accessing to resources in your virtual network. This does not mean the web app is located in that VNet, and you could not restrict the web app access to cosmos DB via the VNet endpoint section.
If you want to allow access only from a VNet, you could create a web app service with App Service Environments. The web app will be deployed into a VNet that you have fine-grained control over inbound and outbound application network traffic. Then you can add the VNet to the cosmos DB firewall.
Apps in Azure App Service are hosted in a multi-tenant system, which precludes provisioning an app directly in a VNet. Also, the VNet Integration feature is always used for securely accessing to resources in your virtual network. This does not mean the web app is located in that VNet, and you could not restrict the web app access to cosmos DB via the VNet endpoint section.
If you want to allow access only from a VNet, you could create a web app service with App Service Environments. The web app will be deployed into a VNet that you have fine-grained control over inbound and outbound application network traffic. Then you can add the VNet to the cosmos DB firewall.
answered Nov 28 '18 at 8:37
Nancy XiongNancy Xiong
3,5221110
3,5221110
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53506220%2fentity-with-the-specified-id-does-not-exist-in-the-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
More than your environment you may want to add your query and cosmos DB schema which may be the main culprit.
– Fakrudeen
Nov 27 '18 at 19:03
The same query works if I allow access from all networks under "Firewall and virtual networks" settings
– Devarajan Roopeshwar
Nov 27 '18 at 19:04
Similar to this question but I would want a solution by allowing access from only a vnet
– Devarajan Roopeshwar
Nov 27 '18 at 19:08
If the reply makes sense, you could checkmark under "Answer", or let me know if you need more help.
– Nancy Xiong
Nov 29 '18 at 1:34
Yes, thanks a lot @NancyXiong
– Devarajan Roopeshwar
Nov 29 '18 at 16:18