In order to gain access to the SQL Instance, our standard SQL User and Login was defined up front.
We want to deploy a standard database, which, of course, has that User, but being from another instance, the SID is different, just like it would be from a cross-instance database RESTORE, where we typically run an orphan-cleanup script to realign such SIDs.
The five-hour deploy was wasted because the CREATE USER [stduser] statement bombed with an already-exists error. This, IMO, is entirely unnecessary. Generate the BacPac such that if it finds the USER, realign the SIDs, otherwise run the CREATE.
So far, I've wasted four five-hour deployments because the apply-to-target step bombs with the first error, rather than try to apply what it can in toto, giving me all the issues in one hit.
Anything the Azure SQL DB Team can do to make our deployment frustrations fewer, please?