Can't restore to external DB

It’s an Azure Postgres database so I’m not able to set the user as a superuser. I tried giving the user as much privilege as I could but it still doesn’t work. It gets as far as to “Migrating the database…” and then gives the error. And yes, it’s v10.x.

So am I just out of luck if I can’t run it as a superuser? The user has permission to create databases, schemas and functions.