We have a need to better audit security role assignments/adjustments. Once enabled on the security role entity, there's rich information that flows into the Office 365 logs that matches my expectations perfectly.
I have found a simple way via the Dataverse API to enable audit for the environment itself as part of our automated environment setup process, but haven't found a simple way to enable audit on specific entities via the Dataverse Web API.
It appears you have to pull the table definition, update the value from false to true, post the entire entity definition back and then somehow publish/activate the changes - but have largely unsuccessful in getting that change to reflect in the entity definition.
Any hints/pointers?