Can't access macro in published mode

Hi!

I’m using a custom UI app and for some reason, I cannot see the Macro in production, only when I’m editing the page.
This is problematic since I cannot even access the app to “allow access”.

Am I missing something?