Open lingutla123 opened 4 months ago
Hello, please see below for an explanation of how we managed deleted objects in the CoE inventory
How it works When objects are deleted from the tenant, they get marked deleted in the inventory when the following flow is run, along with its helpers: CLEANUP - Admin | Sync Template v4 (Check Deleted) This is a long running flow and so it only runs once per week.
Objects will stay in this state, marked as deleted from inventory, for ~2 months. This is to allow the record to be restored with its metadata in the event the object itself is restored in the tenant.
At that point, once restore is no longer possible in the tenant, then the records themselves are deleted from the inventory tables as well.
While they are in the "marked deleted" state they can be viewed in the kit using selecting that view for all the objects as shown here for apps.
Why keep them around for two months? Here is the scenario we are supporting by keeping these around
I need these records to stay in perpetuity We have an env var, Also Delete from CoE, which allows you to prevent the deletion from the inventory tables. Default behavior (yes) described above, but if you set it to no then these records will never be deleted by the kit
I don't want these records sitting around at all If you want the deletion from inventory to occur immediately, or at some other cadence like 6 months, then you will need to create your own flow on the side to do this. You can use the mechanism used in CLEANUP - Admin | Sync Template v4 (Check Deleted) as a template for how to do this.
Thank you Jenefer.
Hi Jenefer,
How to restore the deleted Apps and Flows in 'Power Platform Admin view' app?
What if i created new flow for custom time to delete the apps and flows and turn off the existing CLEANUP - Admin | Sync Template v4 (Check Deleted) flow. Is CLEANUP - Admin | Sync Template v4 (Check Deleted) flow remains turned off after installing the monthly updates?
Thank you,
You cannot restore objects from within the kit, you need to go to through product features to do that. We just ensure that the metadata (ex excuse from x) will remain after restore. Here is a blog someone wrote with details: https://community.dynamics.com/blogs/post/?postid=6cbb3914-1ee1-423d-8ac4-156e97cf58df
Yes upgrade should not turn on any flows by default other than the couple we ship turned on (related to setup wizard) So anything you turn off should remain off on upgrades.
Does this question already exist in our backlog?
What is your question?
Hi Jenefer,
Where can we see the setup of deleted apps and flows in COE?
verified in Environment variables couldn't find anything.
Thank you,
What solution are you experiencing the issue with?
None
What solution version are you using?
March 2024
What app or flow are you having the issue with?
No response
What method are you using to get inventory and telemetry?
None
AB#3792