Closed petri-ojala closed 9 months ago
@petri-ojala Thanks for your feedback! We will investigate and update as appropriate.
@petri-ojala Please could you share error code with screenshot for better understanding.
@petri-ojala Since we have not heard back from you, we will now proceed to close this thread.If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Hi,
It does help to keep the performance metrics good to forget the weekend, but anyway..
The error is in this part:
## Deploy in a virtual network using the Azure CLI
To deploy a container group to a virtual network using managed identity to authenticate image pulls from an ACR that runs behind a private endpoint via the Azure CLI, use the following command:
azurecli-interactive
az container create --name my-containergroup --resource-group myResourceGroup --image <loginServer>/hello-world:v1 --acr-identity $userID --assign-identity $userID --vnet "/subscriptions/$SUBSCRIPTION_ID/resourceGroups/"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myVNetResourceGroup/providers/ --subnet mySubnetName
If you look at the --vnet
parameter, it doesn't look like a name of a Vnet or a valid Vnet resource ID.
@petri-ojala I'm going to assign this to the document author so they can take a look at it accordingly.
@tomvcassidy can you review it.
We sincerely apologize for the delayed response. Unfortunately, we have been unable to review this issue in a timely manner. However, we are making overall enhancements to our content. We are closing this issue for now as there has been no activity for a while. If you feel that the problem persists, please respond to this issue with additional information. ? Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
Hi,
The example for "Deploy in a virtual network using the Azure CLI" seems to have some copy & paste errors for the VNet resource ID.
Best regards, Petri
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.