Skip to content

Commit fb691c0

Browse files
Merge pull request #279048 from dknappettmsft/avd-cit-containerinstance-rp
AVD custom image templates add Microsoft.ContainerInstance RP
2 parents c4c6c74 + 7006259 commit fb691c0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

articles/virtual-desktop/create-custom-image-templates.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Before you can create a custom image template, you need to meet the following pr
2525
- Microsoft.Compute
2626
- Microsoft.Network
2727
- Microsoft.KeyVault
28+
- Microsoft.ContainerInstance
2829

2930
- A resource group to store custom image templates, and images. If you specify your own resource group for Azure Image Builder to use, then it needs to be empty before the image build starts.
3031

articles/virtual-desktop/troubleshoot-custom-image-templates.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Custom image templates in Azure Virtual Desktop enable you to easily create a cu
1515

1616
Azure Image Builder uses Hashicorp Packer to create images. Packer outputs all log entries to a file called **customization.log**. By default this file is located in a resource group that Azure Image Builder created automatically with the naming convention `IT_<ResourceGroupName>_<TemplateName>_<GUID>`. You can override this naming by specifying your own name in the template creation phase.
1717

18-
In this resource group is a storage account with a blob container called **packerlogs**. In the container is a folder named with a GUID in which you'll find the log file. Entries for built-in scripts you use to customize your image begin **Starting AVD AIB Customization: {Script name}: {Timestamp}**, to help you locate any errors related to the scripts.
18+
In this resource group is a storage account with a blob container called **packerlogs**. In the container is a folder named with a GUID in which you'll find the log file. Entries for built-in scripts you use to customize your image begin **Starting AVD AIB Customization: {Script name}: {Timestamp}**, to help you locate any errors related to the scripts.
1919

2020
To learn how to interpret Azure Image Builder logs, see [Troubleshoot Azure VM Image Builder](../virtual-machines/linux/image-builder-troubleshoot.md).
2121

@@ -55,3 +55,7 @@ Additional languages can be added by custom image templates, which uses the [Ins
5555
## Can't progress from the source image tab in the Azure portal
5656

5757
When you create a custom image template in the Azure portal, you might not be able to progress from the **Source image** tab if you select the **Azure Compute Gallery** as the **Source type**. A red `X` appears next to the tab name. As a workaround, select **Previous** to return to the **Basics** tab, then select **Next** to return to the **Source image** tab. You should now be able to progress to the next tab and a green check mark appears next to the tab name.
58+
59+
## Authorization error occurred during Azure Container Groups operation
60+
61+
Custom image templates requires the `Microsoft.ContainerInstance` resource provider registered on your subscription due to the dependency on Azure Image Builder. If you receive the error `The client '<GUID>' with object id '<GUID>' does not have authorization to perform action 'Microsoft.ContainerInstance/register/action' over scope '/subscriptions/<subscription ID>' or the scope is invalid`, you need to register the `Microsoft.ContainerInstance` resource provider on your subscription. Once you register the resource provider, try the action again. For information on how you can check their registration status and how to register them if needed, see [Azure resource providers and types](../azure-resource-manager/management/resource-providers-and-types.md).

0 commit comments

Comments
 (0)