Hi REZAI Arash,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
It seems like you are having trouble with a built-in policy definition that is preventing you from creating something through the GUI. Specifically, the policy "Public network access on Azure Data Explorer should be disabled" is not allowing you to create an Azure Data Explorer Cluster through the Portal when using the Connectivity method "Private endpoint".
To resolve this issue, you can try updating the policy definition to include the "Private endpoint" connectivity method as an exception. Here are the steps to do that:
- Go to the Azure Policy page in the Azure Portal.
- Select the policy definition "Public network access on Azure Data Explorer should be disabled".
- Click on the "Edit" button at the top of the page.
- Scroll down to the "Exceptions" section and click on the "Add exception" button.
- In the "Add exception" dialog, select "Connectivity method" as the exception type and "Private endpoint" as the connectivity method.
- Click on the "Add" button to save the exception.
- Click on the "Review + create" button at the top of the page to save the updated policy definition.
With this exception added to the policy definition, your colleagues should be able to deploy an Azure Data Explorer Cluster through the Portal using the "Private endpoint" connectivity method without having to do that through code.
For better understand please refer this link: https://learn.microsoft.com/en-us/azure/governance/policy/tutorials/create-and-manage https://learn.microsoft.com/en-us/azure/governance/policy/assign-policy-portal
If you have any further queries, do let us know, If the answer is helpful, please click "Accept Answer".