I want to share how to fight with error:
Filegroup reference and partitioning scheme' is not supported in this version of SQL Server.
Today I wanted to move Acumatica to SQL Azure and faced that error message. After research I found that I have to remove the two "ON [PRIMARY]" parts of the create statement and it will work. I mean creating of db