Grant Fritchey shows us that Azure SQL Database does not support trace flags at this time:
Bad news. The error message is the same.
Working within Azure SQL Database, trace flags are not a part of your tool set.
Everything with Azure needs a timestamp. Come back in a year and this may be different.