Philip Street
07/14/2025, 3:51 PMMarvin
07/14/2025, 3:51 PMMarvin
07/14/2025, 3:52 PMjob_configuration.registry.identity_type
to "managed"
in addition to providing the registry URL and identity.
2. The complete configuration should look something like this:
yaml
job_configuration:
registry:
url: "<http://your-registry-url.azurecr.io|your-registry-url.azurecr.io>"
identity: "your-managed-identity"
identity_type: "managed"
If you're using the UI:
1. Create the ACI work pool
2. Under "Job Configuration", expand the "Registry" section
3. Set the following:
- Registry URL: your ACR URL
- Identity: your managed identity
- Identity Type: Select "Managed" from the dropdown
The UI validation should resolve once all these fields are properly set. If you're still seeing the error after setting all these fields, try refreshing the page, as sometimes the UI validation state can get stuck.
For more details about ACI worker configuration, you can refer to the official documentation.
Would you like me to provide more specific details about any part of this configuration?Philip Street
07/14/2025, 4:06 PMMarvin
07/14/2025, 4:06 PMMarvin
07/14/2025, 4:07 PMbash
prefect work-pool create \
--type azure-container-instance \
"my-aci-pool" \
--image-registry-type "acr-managed-identity" \
--image-registry-url "<http://your-registry.azurecr.io|your-registry.azurecr.io>" \
--image-registry-identity "your-managed-identity"
This is a known UI bug that's being tracked. The validation is overly aggressive and shows the fields as required even when they've been properly filled. The underlying functionality should still work correctly once the work pool is created.
Would you like me to provide more details about any of these approaches?