A Python script that used to properly create an 'output feature class' and 'output grouped table' using arcpy.analysis.SummarizeWithin() no longer writes the results to the GDB.
The last time the Python script worked properly was with ArcGIS Pro 2.7. I update to ArcGIS Pro 2.8 about a week ago, so that might have something to do with it.
When I run 'Summarize Within' with a 'group field' from within ArcGIS Pro, it properly writes the 'output feature class' and the 'output grouped table' to the GDB.
However, after copying the same command, when run from a Python script, SummarizeWithin completes without errors, but does not write the resulting 'output feature class' nor the resulting 'output grouped table' to the GDB.
When I run the Python script without a 'group field', it properly writes the 'output feature class' to the GDB.
Any ideas why the 'group field' is causing this failure?