Hello @Derek Price
While running this locally, have you tried creating a variable and then passing that variable to Select USER_SID();
What parameter are you passing with USER_SID as Azure SQL might not support it
https://learn.microsoft.com/en-us/sql/t-sql/functions/suser-sid-transact-sql?view=sql-server-ver16
Also, parallely can you raise a ticket from Azure Portal with Microsoft so that a dedicated team can look into it
Thanks