Azure Proactive Resiliency Library v2
Tools Glossary GitHub GitHub Issues Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

privateEndpoints

Summary

RecommendationImpactCategoryAutomation AvailableIn Azure Advisor
Resolve issues with Private Endpoints in non Succeeded connection stateMediumHigh AvailabilityYesNo

Details


Resolve issues with Private Endpoints in non Succeeded connection state

Impact:  Medium Category:  High Availability

APRL GUID:  b89c9acc-0aba-fb44-9ff2-3dbfcf97dce7

Description:

A private endpoint has two custom properties, static IP address and the network interface name, which must be set at creation. If not in Succeeded state, there may be issues with the endpoint or associated resource.

Potential Benefits:

Ensure connection availability
Learn More:
Private endpoint connections

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// This query will return all Private Endpoints that are not in a Succeeded state
resources
| where type =~ "microsoft.network/privateendpoints"
| where (properties.provisioningState =~ "Succeeded" and (properties.privateLinkServiceConnections[0].properties.provisioningState =~ "Succeeded" or properties.manualPrivateLinkServiceConnections[0].properties.provisioningState =~ "Succeeded")) == false
| project recommendationId = "b89c9acc-0aba-fb44-9ff2-3dbfcf97dce7", name, id, tags, param1 = strcat("provisioningState: ", tostring(properties.provisioningState)), param2 = strcat("provisioningState: ", tostring(properties.privateLinkServiceConnections[0].properties.provisioningState)), param3 = strcat("manualProvisioningState: ", tostring(properties.manualPrivateLinkServiceConnections[0].properties.provisioningState))