Hi Community!
I'm trying to automate uploading Power BI reports to our report server (we use the on premises version of Power BI rather than the cloud) I have 2 scripts that run one after another and work outside of PAD but when I add them in via this method the report is not uploaded:

This is what the second script looks like:

What am i doing wrong?
Many thanks for any help!
Amy