In SSMS, connect to Azure SQL DB > Right click on it > Tasks > Extract data-tier application and follow the steps. It should generate .dacpac file.
You can also open VS > New project > SQL DB project and Import objects from Azure SQL DB by providing it's details
----------
If the response helped, do "Accept Answer" and upvote it - Vaibhav