Azure data factory create integration runtime thru CLI

Pankaj Joshi 391 Reputation points
2023-02-11T07:01:19.6933333+00:00

I want to create new azure integration runtime with property virtual network "enabled" in Azure Data Factory. Due to policy restriction it's not allowing to create new through portal. So I have to create through devops pipeline. I need complete Azure CLI commands with example to achieve that. I copied azure cli command from Microsoft site but it does not seem to working. Also I could not able to find any example. Please help.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-02-17T03:09:50.5333333+00:00

    Hello @Pankaj Joshi,

    Your error message says, "resource 'azuresqlirsecure' was disallowed by policy. " and you have mentioned, "Due to policy restriction, it's not allowing to create new through portal."

    The behavior will be the same either using CLI, PowerShell, or via the Azure portal.

    We would see this error if there is a policy in your subscription that disallows you to create such resources. To be able to proceed further, you might have to disable the policy that was causing the issue with your deployment.

    Reference document: https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-policy-requestdisallowedbypolicy?tabs=azure-cli

    I hope this clarifies.

    Please let me know if you have any further questions.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.