I am trying to run a python script that will convert labels to graphics. However, it does not work when the script is run from a separate python script, or as a toolbox script. It only works when run from the python window inside ArcGIS Pro. I tried the exact same commands, so I know it's not a typo (obviously changed where necessary to refer to the "current" map instead of a path, etc).
The stand alone script / toolbox scripts dont' give any errors, they just doesn't add the graphics layer to the map. Furthermore, when I try to save the output from Convert to Graphics tool to a layer file it creates a bad file. Again, it doesn't throw any errors, the file just doesn't work when I try to load it into a map. When I opened the .lyrx file a text editor you can see the CIM info is mostly nonexistent.
Tell me I'm not the only one!
(Using Pro 2.9)

