I have a stand alone web resource linked from the site menu in a Model Driven App. It does multiple api calls using parent.Xrm.WebApi and currently works fine. According to Microsoft deprecation notice, https://docs.microsoft.com/en-us/power-platform/important-changes-coming, parent.Xrm will be going away and no longer work for standalone Web Resource. Xrm.WebApi without referencing the parent throws an error "Xrm" is not defined. Can anyone help with a supported way to access Xrm.Utility and Xrm.WebApi from a standalone web resource?
NOTE: parent.Xrm
will be removed after the removal of the ClientGlobalContext.js.aspx
page; dates yet to be announced.