You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/image-builder-troubleshoot.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,39 @@ The template already exists.
88
88
89
89
If you submit an image configuration template and the submission fails, a failed template artifact still exists. Delete the failed template.
90
90
91
+
### Updating or resetting MSI on image templates
92
+
93
+
#### Error
94
+
95
+
```text
96
+
The assigned managed identity cannot be used. Please re-assign an identity. For more troubleshooting steps go to https://aka.ms/azvmimagebuilderts
97
+
```
98
+
99
+
#### Cause
100
+
101
+
There are cases where [Managed Service Identities (MSI)](/azure/virtual-machines/linux/image-builder-permissions-cli#create-a-user-assigned-managed-identity) assigned to the image template cannot be used:
102
+
103
+
1. MSI is deleted before the image template is deleted (custom rg scenario)
104
+
1. MSI credentials URL is lost and therefore can't get credentials for the MSI
105
+
1. Other cases where the assigned MSI doesn't work
106
+
107
+
108
+
#### Solution
109
+
110
+
Use Azure CLI to reset identity on the image template. Ensure you [update](/azure/update-azure-cli) Azure CLI to the latest 2.45.0 version.
111
+
112
+
Remove the managed identity from the target image builder template
0 commit comments