If you look at the topic for sys.dm_db_index_physical_stats, you will see this:
That is, this is DMV is not available on Synapse. I don't know how you check for fragmentation on Synapse, but it is a different engine from the regular SQL Server, so I don't even know how application the concept of fragmentation is to Synapse.