-
Notifications
You must be signed in to change notification settings - Fork 172
Labels
bugSomething isn't workingSomething isn't workingdeploymenthas workarounda workaround is available for this issuea workaround is available for this issue
Description
Remember to label the issue with the appropriate area, and also assign it to yourself if you plan to work on the issue in the near future.
Describe the bug
We have our TRE in a seperat Entra tenacy. We encounted this issue after doing a clean out of Entra Guests/Users.
If you delete a user that is in the owner id of a object the update/delete operations will fail:
2ccb559b-0ddf-4893-9c8d-4ead1bf6e82a: Error message:
Error: User not found with object ID: "*************"
with data.azuread_user.user[0],
on data.tf line 60, in data "azuread_user" "user":
60: object_id = var.owner_id
error running command /cnab/app/terraform /usr/bin/terraform
Steps to reproduce
- Create a object (VM, workspace service or workspace, Possibly others too)
- Delete the user that created the object.
- Try to update or delete the object. (unsure if you need to wait for the user object to be fully deleted and not in the 30 waiting period)
Azure TRE release version (e.g. v0.14.0 or main):
v0.26.0
Deployed Azure TRE components - click the (i) in the UI:
UI Version: 0.8.19
API Version: 0.25.4
Workaround
Solved by editing the cosmosDB to replace the object owner id with a doner account.
Copilot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdeploymenthas workarounda workaround is available for this issuea workaround is available for this issue