Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
384 stars 1.25k forks source link

`az datafactory integration-runtime linked-integration-runtime create` doesn't work #2789

Open jjeziorny opened 3 years ago

jjeziorny commented 3 years ago

I have the shared IR in one subscription and the destination ADF where I want to create a link to this shared IR in another subscription.

I've tried with a few different iterations of the command and none where successful.

I believe it could be the fact there is no option in the command to enter the name of the RG where the shared IR resides, so the command keeps returning "ResourceNotFoundError: Operation returned an invalid status 'Not Found'"

It would be easier if one could enter the resourceID of the share IR and the destination ADF, this saves time and effort in entering all details such as subscriptions and RGs

JJ


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @shawnxzq, @lmy269.

Issue Details
I have the shared IR in one subscription and the destination ADF where I want to create a link to this shared IR in another subscription. I've tried with a few different iterations of the command and none where successful. I believe it could be the fact there is no option in the command to enter the name of the RG where the shared IR resides, so the command keeps returning "ResourceNotFoundError: Operation returned an invalid status 'Not Found'" It would be easier if one could enter the resourceID of the share IR and the destination ADF, this saves time and effort in entering all details such as subscriptions and RGs JJ --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 6018add5-e2e9-c08e-41b8-06451b5ffe0b * Version Independent ID: 8600c5e6-7911-f62c-f57e-4e3d8fbed329 * Content: [az datafactory integration-runtime linked-integration-runtime](https://docs.microsoft.com/en-us/cli/azure/ext/datafactory/datafactory/integration-runtime/linked-integration-runtime?view=azure-cli-latest) * Content Source: [latest/docs-ref-autogen/ext/datafactory/datafactory/integration-runtime/linked-integration-runtime.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/ext/datafactory/datafactory/integration-runtime/linked-integration-runtime.yml) * GitHub Login: @rloutlaw * Microsoft Alias: **routlaw**
Author: jjeziorny
Assignees: -
Labels: `Data Factory`, `Service Attention`
Milestone: -
yonzhan commented 3 years ago

datafactory

yungezz commented 3 years ago

hi @houk-ms could you pls have a look? thanks

shawnxzq commented 3 years ago

@jjeziorny Could you please check the doc below to see whether it can resolve your issue? Thanks! https://docs.microsoft.com/en-us/azure/data-factory/create-shared-self-hosted-integration-runtime-powershell#create-a-shared-self-hosted-ir-using-azure-powershell

jjeziorny commented 3 years ago

Hi Shawn, The doc section you provided is for powershell, in my case the issue was creating the SHIR using az-cli, ultimately we can create it via the portal (and we did). I raised this issue specifially for the error with az-cli datafactory extension, so not sure how the powershell will help here ;)

shawnxzq commented 3 years ago

@jjeziorny Good to know the you already work around the issue (through portal). Factory extension of azure-cli is still experimental and it may have some of the issue, but we will look into it, thanks!

Golovac commented 3 years ago

I have the same issue. That stops me from doing the automation for the deployment of the data factory. Any news on when it is going to be resolved? Thanks.

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @shawnxzq, @lmy269, @Jingshu923.

Issue Details
I have the shared IR in one subscription and the destination ADF where I want to create a link to this shared IR in another subscription. I've tried with a few different iterations of the command and none where successful. I believe it could be the fact there is no option in the command to enter the name of the RG where the shared IR resides, so the command keeps returning "ResourceNotFoundError: Operation returned an invalid status 'Not Found'" It would be easier if one could enter the resourceID of the share IR and the destination ADF, this saves time and effort in entering all details such as subscriptions and RGs JJ --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 6018add5-e2e9-c08e-41b8-06451b5ffe0b * Version Independent ID: 8600c5e6-7911-f62c-f57e-4e3d8fbed329 * Content: [az datafactory integration-runtime linked-integration-runtime](https://docs.microsoft.com/en-us/cli/azure/ext/datafactory/datafactory/integration-runtime/linked-integration-runtime?view=azure-cli-latest) * Content Source: [latest/docs-ref-autogen/ext/datafactory/datafactory/integration-runtime/linked-integration-runtime.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/ext/datafactory/datafactory/integration-runtime/linked-integration-runtime.yml) * GitHub Login: @rloutlaw * Microsoft Alias: **routlaw**
Author: jjeziorny
Assignees: houk-ms
Labels: `Data Factory`, `Service Attention`, `feature-request`
Milestone: -
shawnxzq commented 3 years ago

@yonzhan This is a feature request in azure-cli, ADF powershell already supports this, please add this in azure-cli as well and remove the service attention tag, thanks!

obiii commented 2 years ago

Hi,

Just wanted to check if this has any update? I am facing the same issue. Unable to see the Linked SHIR alhtough it is creatde successfully via CD pipeline:

az config set extension.use_dynamic_install=yes_without_prompt

az datafactory integration-runtime linked-integration-runtime create --factory-name "proj-dev-adf" --integration-runtime-name "OnPrem-SHIR" --resource-group "proj-datalake-dev-rg" --name "OnPrem-SHIR" --data-factory-name "proj-test-adf" --location "West Europe"